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
[ 10, 2, 38, 70 ]
68
[ "70-10=60", "60/2=30", "38+30=68" ]
Current State: 68:[10, 2, 38, 70], Operations: [] Exploring Operation: 70-10=60, Resulting Numbers: [2, 38, 60] Generated Node #2: [2, 38, 60] from Operation: 70-10=60 Current State: 68:[2, 38, 60], Operations: ['70-10=60'] Exploring Operation: 60/2=30, Resulting Numbers: [38, 30] Generated Node #3: [38, 30] from Operation: 60/2=30 Current State: 68:[38, 30], Operations: ['70-10=60', '60/2=30'] Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[10, 2, 38, 70], Operations: [] Exploring Operation: 10/2=5, Resulting Numbers: [38, 70, 5] Generated Node #0,0: 68:[38, 70, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[38, 70, 5], Operations: ['10/2=5'] Exploring Operation: 70-38=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 68:[5, 32] Operation: 70-38=32 Moving to Node #0,0,0 Current State: 68:[5, 32], Operations: ['10/2=5', '70-38=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 48, 21, 73, 36 ]
77
[ "48+36=84", "84/21=4", "73+4=77" ]
Current State: 77:[48, 21, 73, 36], Operations: [] Exploring Operation: 48+36=84, Resulting Numbers: [21, 73, 84] Generated Node #2: [21, 73, 84] from Operation: 48+36=84 Current State: 77:[21, 73, 84], Operations: ['48+36=84'] Exploring Operation: 84/21=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 84/21=4 Current State: 77:[73, 4], Operations: ['48+36=84', '84/21=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[48, 21, 73, 36], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [21, 73, 12] Generated Node #0,0: 77:[21, 73, 12] Operation: 48-36=12 Moving to Node #0,0 Current State: 77:[21, 73, 12], Operations: ['48-36=12'] Exploring Operation: 21-12=9, Resulting Numbers: [73, 9] Generated Node #0,0,0: 77:[73, 9] Operation: 21-12=9 Moving to Node #0,0,0 Current State: 77:[73, 9], Operations: ['48-36=12', '21-12=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,77 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 30, 45, 68 ]
46
[ "30*68=2040", "30+2040=2070", "2070/45=46" ]
Current State: 46:[30, 30, 45, 68], Operations: [] Exploring Operation: 30*68=2040, Resulting Numbers: [45, 2040] Generated Node #2: [45, 2040] from Operation: 30*68=2040 Current State: 46:[45, 2040], Operations: ['30*68=2040'] Exploring Operation: 30+2040=2070, Resulting Numbers: [45, 2070] Generated Node #3: [45, 2070] from Operation: 30+2040=2070 Current State: 46:[45, 2070], Operations: ['30*68=2040', '30+2040=2070'] Exploring Operation: 2070/45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[30, 30, 45, 68], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [30, 45, 38] Generated Node #0,0: 46:[30, 45, 38] Operation: 68-30=38 Exploring Operation: 30-30=0, Resulting Numbers: [45, 68, 0] Generated Node #0,1: 46:[45, 68, 0] Operation: 30-30=0 Exploring Operation: 68-45=23, Resulting Numbers: [30, 30, 23] Generated Node #0,2: 46:[30, 30, 23] Operation: 68-45=23 Exploring Operation: 30/30=1, Resulting Numbers: [45, 68, 1] Generated Node #0,3: 46:[45, 68, 1] Operation: 30/30=1 Exploring Operation: 68-30=38, Resulting Numbers: [30, 45, 38] Generated Node #0,4: 46:[30, 45, 38] Operation: 68-30=38 Moving to Node #0,2 Current State: 46:[30, 30, 23], Operations: ['68-45=23'] Exploring Operation: 30-23=7, Resulting Numbers: [30, 7] Generated Node #0,2,0: 46:[30, 7] Operation: 30-23=7 Exploring Operation: 30/30=1, Resulting Numbers: [23, 1] Generated Node #0,2,1: 46:[23, 1] Operation: 30/30=1 Exploring Operation: 30+30=60, Resulting Numbers: [23, 60] Generated Node #0,2,2: 46:[23, 60] Operation: 30+30=60 Exploring Operation: 30-23=7, Resulting Numbers: [30, 7] Generated Node #0,2,3: 46:[30, 7] Operation: 30-23=7 Exploring Operation: 30-30=0, Resulting Numbers: [23, 0] Generated Node #0,2,4: 46:[23, 0] Operation: 30-30=0 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[23, 1], Operations: ['68-45=23', '30/30=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,46 unequal: No Solution No 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: 46:[23, 0], Operations: ['68-45=23', '30-30=0'] Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,46 unequal: No Solution No 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: 46:[30, 7], Operations: ['68-45=23', '30-23=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,46 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[30, 7], Operations: ['68-45=23', '30-23=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,46 unequal: No Solution No 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: 46:[23, 60], Operations: ['68-45=23', '30+30=60'] Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,46 unequal: No Solution Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,46 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 46:[30, 45, 38], Operations: ['68-30=38'] Exploring Operation: 38-30=8, Resulting Numbers: [45, 8] Generated Node #0,4,0: 46:[45, 8] Operation: 38-30=8 Exploring Operation: 30+45=75, Resulting Numbers: [38, 75] Generated Node #0,4,1: 46:[38, 75] Operation: 30+45=75 Exploring Operation: 45-30=15, Resulting Numbers: [38, 15] Generated Node #0,4,2: 46:[38, 15] Operation: 45-30=15 Exploring Operation: 30+38=68, Resulting Numbers: [45, 68] Generated Node #0,4,3: 46:[45, 68] Operation: 30+38=68 Exploring Operation: 45-38=7, Resulting Numbers: [30, 7] Generated Node #0,4,4: 46:[30, 7] Operation: 45-38=7 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[45, 8], Operations: ['68-30=38', '38-30=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,46 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[30, 7], Operations: ['68-30=38', '45-38=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,46 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[38, 15], Operations: ['68-30=38', '45-30=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,46 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[45, 68], Operations: ['68-30=38', '30+38=68'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution No 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: 46:[38, 75], Operations: ['68-30=38', '30+45=75'] Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,46 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,46 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: 46:[30, 45, 38], Operations: ['68-30=38'] Exploring Operation: 30+45=75, Resulting Numbers: [38, 75] Generated Node #0,0,0: 46:[38, 75] Operation: 30+45=75 Exploring Operation: 38-30=8, Resulting Numbers: [45, 8] Generated Node #0,0,1: 46:[45, 8] Operation: 38-30=8 Exploring Operation: 45-30=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 46:[38, 15] Operation: 45-30=15 Exploring Operation: 30+38=68, Resulting Numbers: [45, 68] Generated Node #0,0,3: 46:[45, 68] Operation: 30+38=68 Exploring Operation: 45-38=7, Resulting Numbers: [30, 7] Generated Node #0,0,4: 46:[30, 7] Operation: 45-38=7 Moving to Node #0,3 Current State: 46:[45, 68, 1], Operations: ['30/30=1'] Exploring Operation: 68-45=23, Resulting Numbers: [1, 23] Generated Node #0,3,0: 46:[1, 23] Operation: 68-45=23 Exploring Operation: 45/1=45, Resulting Numbers: [68, 45] Generated Node #0,3,1: 46:[68, 45] Operation: 45/1=45 Exploring Operation: 68-1=67, Resulting Numbers: [45, 67] Generated Node #0,3,2: 46:[45, 67] Operation: 68-1=67 Exploring Operation: 45*1=45, Resulting Numbers: [68, 45] Generated Node #0,3,3: 46:[68, 45] Operation: 45*1=45 Exploring Operation: 45+1=46, Resulting Numbers: [68, 46] Generated Node #0,3,4: 46:[68, 46] Operation: 45+1=46 Moving to Node #0,1 Current State: 46:[45, 68, 0], Operations: ['30-30=0'] Exploring Operation: 45-0=45, Resulting Numbers: [68, 45] Generated Node #0,1,0: 46:[68, 45] Operation: 45-0=45 Exploring Operation: 68+0=68, Resulting Numbers: [45, 68] Generated Node #0,1,1: 46:[45, 68] Operation: 68+0=68 Exploring Operation: 68*0=0, Resulting Numbers: [45, 0] Generated Node #0,1,2: 46:[45, 0] Operation: 68*0=0 Exploring Operation: 68-45=23, Resulting Numbers: [0, 23] Generated Node #0,1,3: 46:[0, 23] Operation: 68-45=23 Exploring Operation: 45+0=45, Resulting Numbers: [68, 45] Generated Node #0,1,4: 46:[68, 45] Operation: 45+0=45 Moving to Node #0,3,0 Current State: 46:[1, 23], Operations: ['30/30=1', '68-45=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[0, 23], Operations: ['30-30=0', '68-45=23'] Exploring Operation: 0+23=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 0*23=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[45, 0], Operations: ['30-30=0', '68*0=0'] Exploring Operation: 45-0=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45+0=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[45, 8], Operations: ['68-30=38', '38-30=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[30, 7], Operations: ['68-30=38', '45-38=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,46 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[38, 15], Operations: ['68-30=38', '45-30=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,46 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[45, 67], Operations: ['30/30=1', '68-1=67'] Exploring Operation: 45*67=3015, Resulting Numbers: [3015] 3015,46 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 45+67=112, Resulting Numbers: [112] 112,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[68, 46], Operations: ['30/30=1', '45+1=46'] Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,46 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[68, 45], Operations: ['30-30=0', '45+0=45'] Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[45, 68], Operations: ['30-30=0', '68+0=68'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[45, 68], Operations: ['68-30=38', '30+38=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[68, 45], Operations: ['30/30=1', '45*1=45'] Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[68, 45], Operations: ['30/30=1', '45/1=45'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[68, 45], Operations: ['30-30=0', '45-0=45'] Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,46 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[38, 75], Operations: ['68-30=38', '30+45=75'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 28, 76, 1, 29 ]
78
[ "76-28=48", "1+29=30", "48+30=78" ]
Current State: 78:[28, 76, 1, 29], Operations: [] Exploring Operation: 76-28=48, Resulting Numbers: [1, 29, 48] Generated Node #2: [1, 29, 48] from Operation: 76-28=48 Current State: 78:[1, 29, 48], Operations: ['76-28=48'] Exploring Operation: 1+29=30, Resulting Numbers: [48, 30] Generated Node #3: [48, 30] from Operation: 1+29=30 Current State: 78:[48, 30], Operations: ['76-28=48', '1+29=30'] Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[28, 76, 1, 29], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [76, 1, 1] Generated Node #0,0: 78:[76, 1, 1] Operation: 29-28=1 Moving to Node #0,0 Current State: 78:[76, 1, 1], Operations: ['29-28=1'] Exploring Operation: 76+1=77, Resulting Numbers: [1, 77] Generated Node #0,0,0: 78:[1, 77] Operation: 76+1=77 Moving to Node #0,0,0 Current State: 78:[1, 77], Operations: ['29-28=1', '76+1=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[28, 76, 1, 29], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [76, 1, 1] Generated Node #0,0: 78:[76, 1, 1] Operation: 29-28=1 Moving to Node #0,0 Current State: 78:[76, 1, 1], Operations: ['29-28=1'] Exploring Operation: 76+1=77, Resulting Numbers: [1, 77] Generated Node #0,0,0: 78:[1, 77] Operation: 76+1=77 Moving to Node #0,0,0 Current State: 78:[1, 77], Operations: ['29-28=1', '76+1=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 36, 10, 96, 50 ]
56
[ "96-36=60", "60/10=6", "50+6=56" ]
Current State: 56:[36, 10, 96, 50], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [10, 50, 60] Generated Node #2: [10, 50, 60] from Operation: 96-36=60 Current State: 56:[10, 50, 60], Operations: ['96-36=60'] Exploring Operation: 60/10=6, Resulting Numbers: [50, 6] Generated Node #3: [50, 6] from Operation: 60/10=6 Current State: 56:[50, 6], Operations: ['96-36=60', '60/10=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[36, 10, 96, 50], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [10, 50, 60] Generated Node #0,0: 56:[10, 50, 60] Operation: 96-36=60 Exploring Operation: 96-10=86, Resulting Numbers: [36, 50, 86] Generated Node #0,1: 56:[36, 50, 86] Operation: 96-10=86 Exploring Operation: 50-36=14, Resulting Numbers: [10, 96, 14] Generated Node #0,2: 56:[10, 96, 14] Operation: 50-36=14 Exploring Operation: 96-50=46, Resulting Numbers: [36, 10, 46] Generated Node #0,3: 56:[36, 10, 46] Operation: 96-50=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[10, 50, 60], Operations: ['96-36=60'] Exploring Operation: 50/10=5, Resulting Numbers: [60, 5] Generated Node #0,0,0: 56:[60, 5] Operation: 50/10=5 Exploring Operation: 60-50=10, Resulting Numbers: [10, 10] Generated Node #0,0,1: 56:[10, 10] Operation: 60-50=10 Exploring Operation: 60/10=6, Resulting Numbers: [50, 6] Generated Node #0,0,2: 56:[50, 6] Operation: 60/10=6 Exploring Operation: 10+50=60, Resulting Numbers: [60, 60] Generated Node #0,0,3: 56:[60, 60] Operation: 10+50=60 Moving to Node #0,0,1 Current State: 56:[10, 10], Operations: ['96-36=60', '60-50=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[60, 5], Operations: ['96-36=60', '50/10=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,56 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[50, 6], Operations: ['96-36=60', '60/10=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[36, 10, 96, 50], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [10, 50, 60] Generated Node #0,0: 56:[10, 50, 60] Operation: 96-36=60 Moving to Node #0,0 Current State: 56:[10, 50, 60], Operations: ['96-36=60'] Exploring Operation: 60/10=6, Resulting Numbers: [50, 6] Generated Node #0,0,2: 56:[50, 6] Operation: 60/10=6 Moving to Node #0,0,2 Current State: 56:[50, 6], Operations: ['96-36=60', '60/10=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 42, 69, 86, 2 ]
23
[ "42+69=111", "86+2=88", "111-88=23" ]
Current State: 23:[42, 69, 86, 2], Operations: [] Exploring Operation: 42+69=111, Resulting Numbers: [86, 2, 111] Generated Node #2: [86, 2, 111] from Operation: 42+69=111 Current State: 23:[86, 2, 111], Operations: ['42+69=111'] Exploring Operation: 86+2=88, Resulting Numbers: [111, 88] Generated Node #3: [111, 88] from Operation: 86+2=88 Current State: 23:[111, 88], Operations: ['42+69=111', '86+2=88'] Exploring Operation: 111-88=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[42, 69, 86, 2], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [69, 2, 44] Generated Node #0,0: 23:[69, 2, 44] Operation: 86-42=44 Exploring Operation: 86/2=43, Resulting Numbers: [42, 69, 43] Generated Node #0,1: 23:[42, 69, 43] Operation: 86/2=43 Exploring Operation: 86-69=17, Resulting Numbers: [42, 2, 17] Generated Node #0,2: 23:[42, 2, 17] Operation: 86-69=17 Exploring Operation: 42/2=21, Resulting Numbers: [69, 86, 21] Generated Node #0,3: 23:[69, 86, 21] Operation: 42/2=21 Exploring Operation: 69-42=27, Resulting Numbers: [86, 2, 27] Generated Node #0,4: 23:[86, 2, 27] Operation: 69-42=27 Moving to Node #0,2 Current State: 23:[42, 2, 17], Operations: ['86-69=17'] Exploring Operation: 42-2=40, Resulting Numbers: [17, 40] Generated Node #0,2,0: 23:[17, 40] Operation: 42-2=40 Exploring Operation: 42-17=25, Resulting Numbers: [2, 25] Generated Node #0,2,1: 23:[2, 25] Operation: 42-17=25 Exploring Operation: 42/2=21, Resulting Numbers: [17, 21] Generated Node #0,2,2: 23:[17, 21] Operation: 42/2=21 Exploring Operation: 2+17=19, Resulting Numbers: [42, 19] Generated Node #0,2,3: 23:[42, 19] Operation: 2+17=19 Exploring Operation: 42+2=44, Resulting Numbers: [17, 44] Generated Node #0,2,4: 23:[17, 44] Operation: 42+2=44 Moving to Node #0,1 Current State: 23:[42, 69, 43], Operations: ['86/2=43'] Exploring Operation: 69-42=27, Resulting Numbers: [43, 27] Generated Node #0,1,0: 23:[43, 27] Operation: 69-42=27 Exploring Operation: 42+69=111, Resulting Numbers: [43, 111] Generated Node #0,1,1: 23:[43, 111] Operation: 42+69=111 Exploring Operation: 42+43=85, Resulting Numbers: [69, 85] Generated Node #0,1,2: 23:[69, 85] Operation: 42+43=85 Exploring Operation: 43-42=1, Resulting Numbers: [69, 1] Generated Node #0,1,3: 23:[69, 1] Operation: 43-42=1 Exploring Operation: 69-43=26, Resulting Numbers: [42, 26] Generated Node #0,1,4: 23:[42, 26] Operation: 69-43=26 Moving to Node #0,0 Current State: 23:[69, 2, 44], Operations: ['86-42=44'] Exploring Operation: 44/2=22, Resulting Numbers: [69, 22] Generated Node #0,0,0: 23:[69, 22] Operation: 44/2=22 Exploring Operation: 69+2=71, Resulting Numbers: [44, 71] Generated Node #0,0,1: 23:[44, 71] Operation: 69+2=71 Exploring Operation: 44-2=42, Resulting Numbers: [69, 42] Generated Node #0,0,2: 23:[69, 42] Operation: 44-2=42 Exploring Operation: 69-2=67, Resulting Numbers: [44, 67] Generated Node #0,0,3: 23:[44, 67] Operation: 69-2=67 Exploring Operation: 69-44=25, Resulting Numbers: [2, 25] Generated Node #0,0,4: 23:[2, 25] Operation: 69-44=25 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[2, 25], Operations: ['86-42=44', '69-44=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[42, 69, 86, 2], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [69, 2, 44] Generated Node #0,0: 23:[69, 2, 44] Operation: 86-42=44 Moving to Node #0,0 Current State: 23:[69, 2, 44], Operations: ['86-42=44'] Exploring Operation: 69-44=25, Resulting Numbers: [2, 25] Generated Node #0,0,4: 23:[2, 25] Operation: 69-44=25 Moving to Node #0,0,4 Current State: 23:[2, 25], Operations: ['86-42=44', '69-44=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 49, 14, 91, 77 ]
50
[ "91-14=77", "77/77=1", "49+1=50" ]
Current State: 50:[49, 14, 91, 77], Operations: [] Exploring Operation: 91-14=77, Resulting Numbers: [49, 77, 77] Generated Node #2: [49, 77, 77] from Operation: 91-14=77 Current State: 50:[49, 77, 77], Operations: ['91-14=77'] Exploring Operation: 77/77=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 77/77=1 Current State: 50:[49, 1], Operations: ['91-14=77', '77/77=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[49, 14, 91, 77], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [14, 77, 42] Generated Node #0,0: 50:[14, 77, 42] Operation: 91-49=42 Exploring Operation: 91-77=14, Resulting Numbers: [49, 14, 14] Generated Node #0,1: 50:[49, 14, 14] Operation: 91-77=14 Exploring Operation: 77-14=63, Resulting Numbers: [49, 91, 63] Generated Node #0,2: 50:[49, 91, 63] Operation: 77-14=63 Exploring Operation: 77-49=28, Resulting Numbers: [14, 91, 28] Generated Node #0,3: 50:[14, 91, 28] Operation: 77-49=28 Exploring Operation: 91-14=77, Resulting Numbers: [49, 77, 77] Generated Node #0,4: 50:[49, 77, 77] Operation: 91-14=77 Moving to Node #0,1 Current State: 50:[49, 14, 14], Operations: ['91-77=14'] Exploring Operation: 49-14=35, Resulting Numbers: [14, 35] Generated Node #0,1,0: 50:[14, 35] Operation: 49-14=35 Exploring Operation: 14/14=1, Resulting Numbers: [49, 1] Generated Node #0,1,1: 50:[49, 1] Operation: 14/14=1 Exploring Operation: 49-14=35, Resulting Numbers: [14, 35] Generated Node #0,1,2: 50:[14, 35] Operation: 49-14=35 Exploring Operation: 14+14=28, Resulting Numbers: [49, 28] Generated Node #0,1,3: 50:[49, 28] Operation: 14+14=28 Exploring Operation: 14-14=0, Resulting Numbers: [49, 0] Generated Node #0,1,4: 50:[49, 0] Operation: 14-14=0 Moving to Node #0,0 Current State: 50:[14, 77, 42], Operations: ['91-49=42'] Exploring Operation: 42-14=28, Resulting Numbers: [77, 28] Generated Node #0,0,0: 50:[77, 28] Operation: 42-14=28 Exploring Operation: 77-42=35, Resulting Numbers: [14, 35] Generated Node #0,0,1: 50:[14, 35] Operation: 77-42=35 Exploring Operation: 42/14=3, Resulting Numbers: [77, 3] Generated Node #0,0,2: 50:[77, 3] Operation: 42/14=3 Exploring Operation: 14+42=56, Resulting Numbers: [77, 56] Generated Node #0,0,3: 50:[77, 56] Operation: 14+42=56 Exploring Operation: 77-14=63, Resulting Numbers: [42, 63] Generated Node #0,0,4: 50:[42, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[14, 35], Operations: ['91-49=42', '77-42=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,50 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[42, 63], Operations: ['91-49=42', '77-14=63'] Exploring Operation: 42*63=2646, Resulting Numbers: [2646] 2646,50 unequal: No Solution Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 42+63=105, Resulting Numbers: [105] 105,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[77, 3], Operations: ['91-49=42', '42/14=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,50 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[77, 28], Operations: ['91-49=42', '42-14=28'] Exploring Operation: 77+28=105, Resulting Numbers: [105] 105,50 unequal: No Solution Exploring Operation: 77*28=2156, Resulting Numbers: [2156] 2156,50 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[77, 56], Operations: ['91-49=42', '14+42=56'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 77+56=133, Resulting Numbers: [133] 133,50 unequal: No Solution Exploring Operation: 77*56=4312, Resulting Numbers: [4312] 4312,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[14, 91, 28], Operations: ['77-49=28'] Exploring Operation: 91-28=63, Resulting Numbers: [14, 63] Generated Node #0,3,0: 50:[14, 63] Operation: 91-28=63 Exploring Operation: 28/14=2, Resulting Numbers: [91, 2] Generated Node #0,3,1: 50:[91, 2] Operation: 28/14=2 Exploring Operation: 14+28=42, Resulting Numbers: [91, 42] Generated Node #0,3,2: 50:[91, 42] Operation: 14+28=42 Exploring Operation: 91-14=77, Resulting Numbers: [28, 77] Generated Node #0,3,3: 50:[28, 77] Operation: 91-14=77 Exploring Operation: 28-14=14, Resulting Numbers: [91, 14] Generated Node #0,3,4: 50:[91, 14] Operation: 28-14=14 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[14, 63], Operations: ['77-49=28', '91-28=63'] Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,50 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[28, 77], Operations: ['77-49=28', '91-14=77'] Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,50 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[91, 2], Operations: ['77-49=28', '28/14=2'] Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,50 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 50:[91, 14], Operations: ['77-49=28', '28-14=14'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,50 unequal: No Solution Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[91, 42], Operations: ['77-49=28', '14+28=42'] Exploring Operation: 91+42=133, Resulting Numbers: [133] 133,50 unequal: No Solution Exploring Operation: 91-42=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 91*42=3822, Resulting Numbers: [3822] 3822,50 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: 50:[49, 91, 63], Operations: ['77-14=63'] Exploring Operation: 49+91=140, Resulting Numbers: [63, 140] Generated Node #0,2,0: 50:[63, 140] Operation: 49+91=140 Exploring Operation: 91-63=28, Resulting Numbers: [49, 28] Generated Node #0,2,1: 50:[49, 28] Operation: 91-63=28 Exploring Operation: 91-49=42, Resulting Numbers: [63, 42] Generated Node #0,2,2: 50:[63, 42] Operation: 91-49=42 Exploring Operation: 49+63=112, Resulting Numbers: [91, 112] Generated Node #0,2,3: 50:[91, 112] Operation: 49+63=112 Exploring Operation: 63-49=14, Resulting Numbers: [91, 14] Generated Node #0,2,4: 50:[91, 14] Operation: 63-49=14 Moving to Node #0,4 Current State: 50:[49, 77, 77], Operations: ['91-14=77'] Exploring Operation: 77-49=28, Resulting Numbers: [77, 28] Generated Node #0,4,0: 50:[77, 28] Operation: 77-49=28 Exploring Operation: 77-49=28, Resulting Numbers: [77, 28] Generated Node #0,4,1: 50:[77, 28] Operation: 77-49=28 Exploring Operation: 49+77=126, Resulting Numbers: [77, 126] Generated Node #0,4,2: 50:[77, 126] Operation: 49+77=126 Exploring Operation: 77-77=0, Resulting Numbers: [49, 0] Generated Node #0,4,3: 50:[49, 0] Operation: 77-77=0 Exploring Operation: 77/77=1, Resulting Numbers: [49, 1] Generated Node #0,4,4: 50:[49, 1] Operation: 77/77=1 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 50:[49, 1], Operations: ['91-14=77', '77/77=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[49, 14, 91, 77], Operations: [] Exploring Operation: 91-14=77, Resulting Numbers: [49, 77, 77] Generated Node #0,4: 50:[49, 77, 77] Operation: 91-14=77 Moving to Node #0,4 Current State: 50:[49, 77, 77], Operations: ['91-14=77'] Exploring Operation: 77/77=1, Resulting Numbers: [49, 1] Generated Node #0,4,4: 50:[49, 1] Operation: 77/77=1 Moving to Node #0,4,4 Current State: 50:[49, 1], Operations: ['91-14=77', '77/77=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
sum_heuristic
[ 1, 52, 19, 3 ]
85
[ "3-1=2", "52*2=104", "104-19=85" ]
Current State: 85:[1, 52, 19, 3], Operations: [] Exploring Operation: 3-1=2, Resulting Numbers: [52, 19, 2] Generated Node #2: [52, 19, 2] from Operation: 3-1=2 Current State: 85:[52, 19, 2], Operations: ['3-1=2'] Exploring Operation: 52*2=104, Resulting Numbers: [19, 104] Generated Node #3: [19, 104] from Operation: 52*2=104 Current State: 85:[19, 104], Operations: ['3-1=2', '52*2=104'] Exploring Operation: 104-19=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[1, 52, 19, 3], Operations: [] Exploring Operation: 19-1=18, Resulting Numbers: [52, 3, 18] Generated Node #0,0: 85:[52, 3, 18] Operation: 19-1=18 Exploring Operation: 1+3=4, Resulting Numbers: [52, 19, 4] Generated Node #0,1: 85:[52, 19, 4] Operation: 1+3=4 Exploring Operation: 1+52=53, Resulting Numbers: [19, 3, 53] Generated Node #0,2: 85:[19, 3, 53] Operation: 1+52=53 Exploring Operation: 52-19=33, Resulting Numbers: [1, 3, 33] Generated Node #0,3: 85:[1, 3, 33] Operation: 52-19=33 Exploring Operation: 52+19=71, Resulting Numbers: [1, 3, 71] Generated Node #0,4: 85:[1, 3, 71] Operation: 52+19=71 Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[1, 3, 71], Operations: ['52+19=71'] Exploring Operation: 1+3=4, Resulting Numbers: [71, 4] Generated Node #0,4,0: 85:[71, 4] Operation: 1+3=4 Exploring Operation: 3/1=3, Resulting Numbers: [71, 3] Generated Node #0,4,1: 85:[71, 3] Operation: 3/1=3 Exploring Operation: 1*3=3, Resulting Numbers: [71, 3] Generated Node #0,4,2: 85:[71, 3] Operation: 1*3=3 Exploring Operation: 1+71=72, Resulting Numbers: [3, 72] Generated Node #0,4,3: 85:[3, 72] Operation: 1+71=72 Exploring Operation: 3+71=74, Resulting Numbers: [1, 74] Generated Node #0,4,4: 85:[1, 74] Operation: 3+71=74 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 85:[71, 4], Operations: ['52+19=71', '1+3=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 85:[3, 72], Operations: ['52+19=71', '1+71=72'] Exploring Operation: 3*72=216, Resulting Numbers: [216] 216,85 unequal: No Solution Exploring Operation: 3+72=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 85:[1, 74], Operations: ['52+19=71', '3+71=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 85:[71, 3], Operations: ['52+19=71', '3/1=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 85:[71, 3], Operations: ['52+19=71', '1*3=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,85 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,85 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: 85:[1, 3, 33], Operations: ['52-19=33'] Exploring Operation: 33/3=11, Resulting Numbers: [1, 11] Generated Node #0,3,0: 85:[1, 11] Operation: 33/3=11 Exploring Operation: 33-1=32, Resulting Numbers: [3, 32] Generated Node #0,3,1: 85:[3, 32] Operation: 33-1=32 Exploring Operation: 33-3=30, Resulting Numbers: [1, 30] Generated Node #0,3,2: 85:[1, 30] Operation: 33-3=30 Exploring Operation: 1+3=4, Resulting Numbers: [33, 4] Generated Node #0,3,3: 85:[33, 4] Operation: 1+3=4 Exploring Operation: 1*3=3, Resulting Numbers: [33, 3] Generated Node #0,3,4: 85:[33, 3] Operation: 1*3=3 Moving to Node #0,3,0 Current State: 85:[1, 11], Operations: ['52-19=33', '33/3=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[1, 30], Operations: ['52-19=33', '33-3=30'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[3, 32], Operations: ['52-19=33', '33-1=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[33, 4], Operations: ['52-19=33', '1+3=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,85 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,85 unequal: No Solution Moving to Node #0,3,4 Current State: 85:[33, 3], Operations: ['52-19=33', '1*3=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,85 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,85 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,85 unequal: No Solution No 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: 85:[52, 3, 18], Operations: ['19-1=18'] Exploring Operation: 52+3=55, Resulting Numbers: [18, 55] Generated Node #0,0,0: 85:[18, 55] Operation: 52+3=55 Exploring Operation: 18/3=6, Resulting Numbers: [52, 6] Generated Node #0,0,1: 85:[52, 6] Operation: 18/3=6 Exploring Operation: 52+18=70, Resulting Numbers: [3, 70] Generated Node #0,0,2: 85:[3, 70] Operation: 52+18=70 Exploring Operation: 52-3=49, Resulting Numbers: [18, 49] Generated Node #0,0,3: 85:[18, 49] Operation: 52-3=49 Exploring Operation: 52-18=34, Resulting Numbers: [3, 34] Generated Node #0,0,4: 85:[3, 34] Operation: 52-18=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[3, 70], Operations: ['19-1=18', '52+18=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 85:[3, 34], Operations: ['19-1=18', '52-18=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,85 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[18, 55], Operations: ['19-1=18', '52+3=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,85 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[18, 49], Operations: ['19-1=18', '52-3=49'] Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,85 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[52, 6], Operations: ['19-1=18', '18/3=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,85 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,85 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: 85:[52, 19, 4], Operations: ['1+3=4'] Exploring Operation: 52-19=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 85:[4, 33] Operation: 52-19=33 Exploring Operation: 52-4=48, Resulting Numbers: [19, 48] Generated Node #0,1,1: 85:[19, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [19, 13] Generated Node #0,1,2: 85:[19, 13] Operation: 52/4=13 Exploring Operation: 52+19=71, Resulting Numbers: [4, 71] Generated Node #0,1,3: 85:[4, 71] Operation: 52+19=71 Exploring Operation: 52+4=56, Resulting Numbers: [19, 56] Generated Node #0,1,4: 85:[19, 56] Operation: 52+4=56 Moving to Node #0,1,2 Current State: 85:[19, 13], Operations: ['1+3=4', '52/4=13'] Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,85 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[4, 71], Operations: ['1+3=4', '52+19=71'] Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,85 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[4, 33], Operations: ['1+3=4', '52-19=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,85 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[19, 56], Operations: ['1+3=4', '52+4=56'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,85 unequal: No Solution Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[19, 48], Operations: ['1+3=4', '52-4=48'] Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,85 unequal: No Solution No 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: 85:[19, 3, 53], Operations: ['1+52=53'] Exploring Operation: 3+53=56, Resulting Numbers: [19, 56] Generated Node #0,2,0: 85:[19, 56] Operation: 3+53=56 Exploring Operation: 53-19=34, Resulting Numbers: [3, 34] Generated Node #0,2,1: 85:[3, 34] Operation: 53-19=34 Exploring Operation: 19+53=72, Resulting Numbers: [3, 72] Generated Node #0,2,2: 85:[3, 72] Operation: 19+53=72 Exploring Operation: 53-3=50, Resulting Numbers: [19, 50] Generated Node #0,2,3: 85:[19, 50] Operation: 53-3=50 Exploring Operation: 19-3=16, Resulting Numbers: [53, 16] Generated Node #0,2,4: 85:[53, 16] Operation: 19-3=16 Moving to Node #0,2,2 Current State: 85:[3, 72], Operations: ['1+52=53', '19+53=72'] Exploring Operation: 3+72=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 3*72=216, Resulting Numbers: [216] 216,85 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[3, 34], Operations: ['1+52=53', '53-19=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[19, 56], Operations: ['1+52=53', '3+53=56'] Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,85 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,85 unequal: No Solution Moving to Node #0,2,4 Current State: 85:[53, 16], Operations: ['1+52=53', '19-3=16'] Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[19, 50], Operations: ['1+52=53', '53-3=50'] Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 19*50=950, Resulting Numbers: [950] 950,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 88, 29, 40, 3 ]
79
[ "88+29=117", "117/3=39", "40+39=79" ]
Current State: 79:[88, 29, 40, 3], Operations: [] Exploring Operation: 88+29=117, Resulting Numbers: [40, 3, 117] Generated Node #2: [40, 3, 117] from Operation: 88+29=117 Current State: 79:[40, 3, 117], Operations: ['88+29=117'] Exploring Operation: 117/3=39, Resulting Numbers: [40, 39] Generated Node #3: [40, 39] from Operation: 117/3=39 Current State: 79:[40, 39], Operations: ['88+29=117', '117/3=39'] Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[88, 29, 40, 3], Operations: [] Exploring Operation: 29*3=87, Resulting Numbers: [88, 40, 87] Generated Node #0,0: 79:[88, 40, 87] Operation: 29*3=87 Exploring Operation: 88-3=85, Resulting Numbers: [29, 40, 85] Generated Node #0,1: 79:[29, 40, 85] Operation: 88-3=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[88, 40, 87], Operations: ['29*3=87'] Exploring Operation: 88-40=48, Resulting Numbers: [87, 48] Generated Node #0,0,0: 79:[87, 48] Operation: 88-40=48 Exploring Operation: 87-40=47, Resulting Numbers: [88, 47] Generated Node #0,0,1: 79:[88, 47] Operation: 87-40=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[87, 48], Operations: ['29*3=87', '88-40=48'] Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,79 unequal: No Solution No 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: 79:[88, 47], Operations: ['29*3=87', '87-40=47'] Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,79 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,79 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: 79:[29, 40, 85], Operations: ['88-3=85'] Exploring Operation: 85-29=56, Resulting Numbers: [40, 56] Generated Node #0,1,0: 79:[40, 56] Operation: 85-29=56 Exploring Operation: 29+40=69, Resulting Numbers: [85, 69] Generated Node #0,1,1: 79:[85, 69] Operation: 29+40=69 Moving to Node #0,1,1 Current State: 79:[85, 69], Operations: ['88-3=85', '29+40=69'] Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[40, 56], Operations: ['88-3=85', '85-29=56'] Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,79 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
[ 82, 13, 55, 68 ]
54
[ "82-13=69", "55+68=123", "123-69=54" ]
Current State: 54:[82, 13, 55, 68], Operations: [] Exploring Operation: 82-13=69, Resulting Numbers: [55, 68, 69] Generated Node #2: [55, 68, 69] from Operation: 82-13=69 Current State: 54:[55, 68, 69], Operations: ['82-13=69'] Exploring Operation: 55+68=123, Resulting Numbers: [69, 123] Generated Node #3: [69, 123] from Operation: 55+68=123 Current State: 54:[69, 123], Operations: ['82-13=69', '55+68=123'] Exploring Operation: 123-69=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[82, 13, 55, 68], Operations: [] Exploring Operation: 68-13=55, Resulting Numbers: [82, 55, 55] Generated Node #0,0: 54:[82, 55, 55] Operation: 68-13=55 Exploring Operation: 68-55=13, Resulting Numbers: [82, 13, 13] Generated Node #0,1: 54:[82, 13, 13] Operation: 68-55=13 Exploring Operation: 82-13=69, Resulting Numbers: [55, 68, 69] Generated Node #0,2: 54:[55, 68, 69] Operation: 82-13=69 Exploring Operation: 82-55=27, Resulting Numbers: [13, 68, 27] Generated Node #0,3: 54:[13, 68, 27] Operation: 82-55=27 Exploring Operation: 82-68=14, Resulting Numbers: [13, 55, 14] Generated Node #0,4: 54:[13, 55, 14] Operation: 82-68=14 Moving to Node #0,4 Current State: 54:[13, 55, 14], Operations: ['82-68=14'] Exploring Operation: 55-13=42, Resulting Numbers: [14, 42] Generated Node #0,4,0: 54:[14, 42] Operation: 55-13=42 Exploring Operation: 13+55=68, Resulting Numbers: [14, 68] Generated Node #0,4,1: 54:[14, 68] Operation: 13+55=68 Exploring Operation: 55-14=41, Resulting Numbers: [13, 41] Generated Node #0,4,2: 54:[13, 41] Operation: 55-14=41 Exploring Operation: 13+14=27, Resulting Numbers: [55, 27] Generated Node #0,4,3: 54:[55, 27] Operation: 13+14=27 Exploring Operation: 14-13=1, Resulting Numbers: [55, 1] Generated Node #0,4,4: 54:[55, 1] Operation: 14-13=1 Moving to Node #0,3 Current State: 54:[13, 68, 27], Operations: ['82-55=27'] Exploring Operation: 68-13=55, Resulting Numbers: [27, 55] Generated Node #0,3,0: 54:[27, 55] Operation: 68-13=55 Exploring Operation: 27-13=14, Resulting Numbers: [68, 14] Generated Node #0,3,1: 54:[68, 14] Operation: 27-13=14 Exploring Operation: 68-27=41, Resulting Numbers: [13, 41] Generated Node #0,3,2: 54:[13, 41] Operation: 68-27=41 Exploring Operation: 13+27=40, Resulting Numbers: [68, 40] Generated Node #0,3,3: 54:[68, 40] Operation: 13+27=40 Exploring Operation: 13+68=81, Resulting Numbers: [27, 81] Generated Node #0,3,4: 54:[27, 81] Operation: 13+68=81 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[27, 55], Operations: ['82-55=27', '68-13=55'] Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,54 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[13, 41], Operations: ['82-55=27', '68-27=41'] Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,54 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[82, 13, 55, 68], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [13, 68, 27] Generated Node #0,3: 54:[13, 68, 27] Operation: 82-55=27 Moving to Node #0,3 Current State: 54:[13, 68, 27], Operations: ['82-55=27'] Exploring Operation: 68-27=41, Resulting Numbers: [13, 41] Generated Node #0,3,2: 54:[13, 41] Operation: 68-27=41 Moving to Node #0,3,2 Current State: 54:[13, 41], Operations: ['82-55=27', '68-27=41'] Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 5, 60, 75, 96 ]
86
[ "5+60=65", "96-75=21", "65+21=86" ]
Current State: 86:[5, 60, 75, 96], Operations: [] Exploring Operation: 5+60=65, Resulting Numbers: [75, 96, 65] Generated Node #2: [75, 96, 65] from Operation: 5+60=65 Current State: 86:[75, 96, 65], Operations: ['5+60=65'] Exploring Operation: 96-75=21, Resulting Numbers: [65, 21] Generated Node #3: [65, 21] from Operation: 96-75=21 Current State: 86:[65, 21], Operations: ['5+60=65', '96-75=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[5, 60, 75, 96], Operations: [] Exploring Operation: 60-5=55, Resulting Numbers: [75, 96, 55] Generated Node #0,0: 86:[75, 96, 55] Operation: 60-5=55 Exploring Operation: 75-60=15, Resulting Numbers: [5, 96, 15] Generated Node #0,1: 86:[5, 96, 15] Operation: 75-60=15 Exploring Operation: 96-60=36, Resulting Numbers: [5, 75, 36] Generated Node #0,2: 86:[5, 75, 36] Operation: 96-60=36 Exploring Operation: 60/5=12, Resulting Numbers: [75, 96, 12] Generated Node #0,3: 86:[75, 96, 12] Operation: 60/5=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[5, 75, 36], Operations: ['96-60=36'] Exploring Operation: 75/5=15, Resulting Numbers: [36, 15] Generated Node #0,2,0: 86:[36, 15] Operation: 75/5=15 Exploring Operation: 5+36=41, Resulting Numbers: [75, 41] Generated Node #0,2,1: 86:[75, 41] Operation: 5+36=41 Exploring Operation: 5+75=80, Resulting Numbers: [36, 80] Generated Node #0,2,2: 86:[36, 80] Operation: 5+75=80 Exploring Operation: 75-36=39, Resulting Numbers: [5, 39] Generated Node #0,2,3: 86:[5, 39] Operation: 75-36=39 Moving to Node #0,2,3 Current State: 86:[5, 39], Operations: ['96-60=36', '75-36=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[36, 80], Operations: ['96-60=36', '5+75=80'] Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,86 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[75, 41], Operations: ['96-60=36', '5+36=41'] Exploring Operation: 75+41=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 75*41=3075, Resulting Numbers: [3075] 3075,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[36, 15], Operations: ['96-60=36', '75/5=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,86 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[5, 96, 15], Operations: ['75-60=15'] Exploring Operation: 96-5=91, Resulting Numbers: [15, 91] Generated Node #0,1,0: 86:[15, 91] Operation: 96-5=91 Exploring Operation: 15-5=10, Resulting Numbers: [96, 10] Generated Node #0,1,1: 86:[96, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [96, 3] Generated Node #0,1,2: 86:[96, 3] Operation: 15/5=3 Exploring Operation: 96-15=81, Resulting Numbers: [5, 81] Generated Node #0,1,3: 86:[5, 81] Operation: 96-15=81 Moving to Node #0,1,3 Current State: 86:[5, 81], Operations: ['75-60=15', '96-15=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,86 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[5, 60, 75, 96], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [5, 96, 15] Generated Node #0,1: 86:[5, 96, 15] Operation: 75-60=15 Moving to Node #0,1 Current State: 86:[5, 96, 15], Operations: ['75-60=15'] Exploring Operation: 96-15=81, Resulting Numbers: [5, 81] Generated Node #0,1,3: 86:[5, 81] Operation: 96-15=81 Moving to Node #0,1,3 Current State: 86:[5, 81], Operations: ['75-60=15', '96-15=81'] Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 96, 90, 44, 45 ]
92
[ "96*45=4320", "4320/90=48", "44+48=92" ]
Current State: 92:[96, 90, 44, 45], Operations: [] Exploring Operation: 96*45=4320, Resulting Numbers: [90, 44, 4320] Generated Node #2: [90, 44, 4320] from Operation: 96*45=4320 Current State: 92:[90, 44, 4320], Operations: ['96*45=4320'] Exploring Operation: 4320/90=48, Resulting Numbers: [44, 48] Generated Node #3: [44, 48] from Operation: 4320/90=48 Current State: 92:[44, 48], Operations: ['96*45=4320', '4320/90=48'] Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[96, 90, 44, 45], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [44, 45, 6] Generated Node #0,0: 92:[44, 45, 6] Operation: 96-90=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[44, 45, 6], Operations: ['96-90=6'] Exploring Operation: 45-44=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 92:[6, 1] Operation: 45-44=1 Moving to Node #0,0,0 Current State: 92:[6, 1], Operations: ['96-90=6', '45-44=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,92 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, 39, 67, 76 ]
47
[ "76/4=19", "67-39=28", "19+28=47" ]
Current State: 47:[4, 39, 67, 76], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [39, 67, 19] Generated Node #2: [39, 67, 19] from Operation: 76/4=19 Current State: 47:[39, 67, 19], Operations: ['76/4=19'] Exploring Operation: 67-39=28, Resulting Numbers: [19, 28] Generated Node #3: [19, 28] from Operation: 67-39=28 Current State: 47:[19, 28], Operations: ['76/4=19', '67-39=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[4, 39, 67, 76], Operations: [] Exploring Operation: 4+39=43, Resulting Numbers: [67, 76, 43] Generated Node #0,0: 47:[67, 76, 43] Operation: 4+39=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[67, 76, 43], Operations: ['4+39=43'] Exploring Operation: 76-43=33, Resulting Numbers: [67, 33] Generated Node #0,0,0: 47:[67, 33] Operation: 76-43=33 Moving to Node #0,0,0 Current State: 47:[67, 33], Operations: ['4+39=43', '76-43=33'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,47 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
[ 19, 51, 46, 14 ]
13
[ "46*14=644", "19+644=663", "663/51=13" ]
Current State: 13:[19, 51, 46, 14], Operations: [] Exploring Operation: 46*14=644, Resulting Numbers: [19, 51, 644] Generated Node #2: [19, 51, 644] from Operation: 46*14=644 Current State: 13:[19, 51, 644], Operations: ['46*14=644'] Exploring Operation: 19+644=663, Resulting Numbers: [51, 663] Generated Node #3: [51, 663] from Operation: 19+644=663 Current State: 13:[51, 663], Operations: ['46*14=644', '19+644=663'] Exploring Operation: 663/51=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[19, 51, 46, 14], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [19, 14, 5] Generated Node #0,0: 13:[19, 14, 5] Operation: 51-46=5 Moving to Node #0,0 Current State: 13:[19, 14, 5], Operations: ['51-46=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14, 14] Generated Node #0,0,0: 13:[14, 14] Operation: 19-5=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[14, 14], Operations: ['51-46=5', '19-5=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,13 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
[ 2, 68, 3, 40 ]
17
[ "68-40=28", "28/2=14", "3+14=17" ]
Current State: 17:[2, 68, 3, 40], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [2, 3, 28] Generated Node #2: [2, 3, 28] from Operation: 68-40=28 Current State: 17:[2, 3, 28], Operations: ['68-40=28'] Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 28/2=14 Current State: 17:[3, 14], Operations: ['68-40=28', '28/2=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[2, 68, 3, 40], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [3, 40, 34] Generated Node #0,0: 17:[3, 40, 34] Operation: 68/2=34 Exploring Operation: 2*3=6, Resulting Numbers: [68, 40, 6] Generated Node #0,1: 17:[68, 40, 6] Operation: 2*3=6 Exploring Operation: 68-40=28, Resulting Numbers: [2, 3, 28] Generated Node #0,2: 17:[2, 3, 28] Operation: 68-40=28 Exploring Operation: 40/2=20, Resulting Numbers: [68, 3, 20] Generated Node #0,3: 17:[68, 3, 20] Operation: 40/2=20 Moving to Node #0,2 Current State: 17:[2, 3, 28], Operations: ['68-40=28'] Exploring Operation: 28-2=26, Resulting Numbers: [3, 26] Generated Node #0,2,0: 17:[3, 26] Operation: 28-2=26 Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #0,2,1: 17:[3, 14] Operation: 28/2=14 Exploring Operation: 2*3=6, Resulting Numbers: [28, 6] Generated Node #0,2,2: 17:[28, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [28, 5] Generated Node #0,2,3: 17:[28, 5] Operation: 2+3=5 Moving to Node #0,0 Current State: 17:[3, 40, 34], Operations: ['68/2=34'] Exploring Operation: 40-34=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 17:[3, 6] Operation: 40-34=6 Exploring Operation: 34-3=31, Resulting Numbers: [40, 31] Generated Node #0,0,1: 17:[40, 31] Operation: 34-3=31 Exploring Operation: 40-3=37, Resulting Numbers: [34, 37] Generated Node #0,0,2: 17:[34, 37] Operation: 40-3=37 Exploring Operation: 3+40=43, Resulting Numbers: [34, 43] Generated Node #0,0,3: 17:[34, 43] Operation: 3+40=43 Moving to Node #0,3 Current State: 17:[68, 3, 20], Operations: ['40/2=20'] Exploring Operation: 68+3=71, Resulting Numbers: [20, 71] Generated Node #0,3,0: 17:[20, 71] Operation: 68+3=71 Exploring Operation: 68-3=65, Resulting Numbers: [20, 65] Generated Node #0,3,1: 17:[20, 65] Operation: 68-3=65 Exploring Operation: 20-3=17, Resulting Numbers: [68, 17] Generated Node #0,3,2: 17:[68, 17] Operation: 20-3=17 Exploring Operation: 68-20=48, Resulting Numbers: [3, 48] Generated Node #0,3,3: 17:[3, 48] Operation: 68-20=48 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[3, 48], Operations: ['40/2=20', '68-20=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[20, 65], Operations: ['40/2=20', '68-3=65'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,17 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[68, 17], Operations: ['40/2=20', '20-3=17'] Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 68+17=85, Resulting Numbers: [85] 85,17 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 68*17=1156, Resulting Numbers: [1156] 1156,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[20, 71], Operations: ['40/2=20', '68+3=71'] Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 20*71=1420, Resulting Numbers: [1420] 1420,17 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,17 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: 17:[68, 40, 6], Operations: ['2*3=6'] Exploring Operation: 68+6=74, Resulting Numbers: [40, 74] Generated Node #0,1,0: 17:[40, 74] Operation: 68+6=74 Exploring Operation: 40-6=34, Resulting Numbers: [68, 34] Generated Node #0,1,1: 17:[68, 34] Operation: 40-6=34 Exploring Operation: 68-6=62, Resulting Numbers: [40, 62] Generated Node #0,1,2: 17:[40, 62] Operation: 68-6=62 Exploring Operation: 68-40=28, Resulting Numbers: [6, 28] Generated Node #0,1,3: 17:[6, 28] Operation: 68-40=28 Moving to Node #0,2,1 Current State: 17:[3, 14], Operations: ['68-40=28', '28/2=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[2, 68, 3, 40], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [2, 3, 28] Generated Node #0,2: 17:[2, 3, 28] Operation: 68-40=28 Moving to Node #0,2 Current State: 17:[2, 3, 28], Operations: ['68-40=28'] Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #0,2,1: 17:[3, 14] Operation: 28/2=14 Moving to Node #0,2,1 Current State: 17:[3, 14], Operations: ['68-40=28', '28/2=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 65, 28, 51, 14 ]
79
[ "65*28=1820", "1820/14=130", "130-51=79" ]
Current State: 79:[65, 28, 51, 14], Operations: [] Exploring Operation: 65*28=1820, Resulting Numbers: [51, 14, 1820] Generated Node #2: [51, 14, 1820] from Operation: 65*28=1820 Current State: 79:[51, 14, 1820], Operations: ['65*28=1820'] Exploring Operation: 1820/14=130, Resulting Numbers: [51, 130] Generated Node #3: [51, 130] from Operation: 1820/14=130 Current State: 79:[51, 130], Operations: ['65*28=1820', '1820/14=130'] Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[65, 28, 51, 14], Operations: [] Exploring Operation: 51+14=65, Resulting Numbers: [65, 28, 65] Generated Node #0,0: 79:[65, 28, 65] Operation: 51+14=65 Exploring Operation: 28+14=42, Resulting Numbers: [65, 51, 42] Generated Node #0,1: 79:[65, 51, 42] Operation: 28+14=42 Exploring Operation: 28+51=79, Resulting Numbers: [65, 14, 79] Generated Node #0,2: 79:[65, 14, 79] Operation: 28+51=79 Exploring Operation: 65+14=79, Resulting Numbers: [28, 51, 79] Generated Node #0,3: 79:[28, 51, 79] Operation: 65+14=79 Moving to Node #0,0 Current State: 79:[65, 28, 65], Operations: ['51+14=65'] Exploring Operation: 28+65=93, Resulting Numbers: [65, 93] Generated Node #0,0,0: 79:[65, 93] Operation: 28+65=93 Exploring Operation: 65-28=37, Resulting Numbers: [65, 37] Generated Node #0,0,1: 79:[65, 37] Operation: 65-28=37 Exploring Operation: 65-28=37, Resulting Numbers: [65, 37] Generated Node #0,0,2: 79:[65, 37] Operation: 65-28=37 Exploring Operation: 65+28=93, Resulting Numbers: [65, 93] Generated Node #0,0,3: 79:[65, 93] Operation: 65+28=93 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[65, 93], Operations: ['51+14=65', '28+65=93'] Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,79 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,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,0,3 Current State: 79:[65, 93], Operations: ['51+14=65', '65+28=93'] Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,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,0,1 Current State: 79:[65, 37], Operations: ['51+14=65', '65-28=37'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,79 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,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,0,2 Current State: 79:[65, 37], Operations: ['51+14=65', '65-28=37'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,79 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,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:[65, 14, 79], Operations: ['28+51=79'] Exploring Operation: 65+14=79, Resulting Numbers: [79, 79] Generated Node #0,2,0: 79:[79, 79] Operation: 65+14=79 Exploring Operation: 14+79=93, Resulting Numbers: [65, 93] Generated Node #0,2,1: 79:[65, 93] Operation: 14+79=93 Exploring Operation: 79-14=65, Resulting Numbers: [65, 65] Generated Node #0,2,2: 79:[65, 65] Operation: 79-14=65 Exploring Operation: 65-14=51, Resulting Numbers: [79, 51] Generated Node #0,2,3: 79:[79, 51] Operation: 65-14=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[79, 79], Operations: ['28+51=79', '65+14=79'] Exploring Operation: 79*79=6241, Resulting Numbers: [6241] 6241,79 unequal: No Solution Exploring Operation: 79+79=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 79/79=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 79-79=0, Resulting Numbers: [0] 0,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, 93], Operations: ['28+51=79', '14+79=93'] Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,79 unequal: No Solution Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,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,2 Current State: 79:[65, 65], Operations: ['28+51=79', '79-14=65'] Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,79 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,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,3 Current State: 79:[79, 51], Operations: ['28+51=79', '65-14=51'] Exploring Operation: 79+51=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 79*51=4029, Resulting Numbers: [4029] 4029,79 unequal: No Solution Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,79 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: 79:[65, 51, 42], Operations: ['28+14=42'] Exploring Operation: 65+42=107, Resulting Numbers: [51, 107] Generated Node #0,1,0: 79:[51, 107] Operation: 65+42=107 Exploring Operation: 65+51=116, Resulting Numbers: [42, 116] Generated Node #0,1,1: 79:[42, 116] Operation: 65+51=116 Exploring Operation: 51+42=93, Resulting Numbers: [65, 93] Generated Node #0,1,2: 79:[65, 93] Operation: 51+42=93 Exploring Operation: 65-42=23, Resulting Numbers: [51, 23] Generated Node #0,1,3: 79:[51, 23] Operation: 65-42=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[65, 93], Operations: ['28+14=42', '51+42=93'] Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,79 unequal: No Solution Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,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:[51, 107], Operations: ['28+14=42', '65+42=107'] Exploring Operation: 107-51=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 51*107=5457, Resulting Numbers: [5457] 5457,79 unequal: No Solution Exploring Operation: 51+107=158, Resulting Numbers: [158] 158,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:[42, 116], Operations: ['28+14=42', '65+51=116'] Exploring Operation: 42*116=4872, Resulting Numbers: [4872] 4872,79 unequal: No Solution Exploring Operation: 42+116=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,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,3 Current State: 79:[51, 23], Operations: ['28+14=42', '65-42=23'] Exploring Operation: 51+23=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 51*23=1173, Resulting Numbers: [1173] 1173,79 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,79 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: 79:[28, 51, 79], Operations: ['65+14=79'] Exploring Operation: 28+79=107, Resulting Numbers: [51, 107] Generated Node #0,3,0: 79:[51, 107] Operation: 28+79=107 Exploring Operation: 79-28=51, Resulting Numbers: [51, 51] Generated Node #0,3,1: 79:[51, 51] Operation: 79-28=51 Exploring Operation: 28+51=79, Resulting Numbers: [79, 79] Generated Node #0,3,2: 79:[79, 79] Operation: 28+51=79 Exploring Operation: 51-28=23, Resulting Numbers: [79, 23] Generated Node #0,3,3: 79:[79, 23] Operation: 51-28=23 Moving to Node #0,3,2 Current State: 79:[79, 79], Operations: ['65+14=79', '28+51=79'] Exploring Operation: 79-79=0, Resulting Numbers: [0] 0,79 unequal: No Solution Exploring Operation: 79+79=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 79/79=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 79*79=6241, Resulting Numbers: [6241] 6241,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[51, 51], Operations: ['65+14=79', '79-28=51'] Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,79 unequal: No Solution Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,79 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[51, 107], Operations: ['65+14=79', '28+79=107'] Exploring Operation: 51*107=5457, Resulting Numbers: [5457] 5457,79 unequal: No Solution Exploring Operation: 107-51=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 51+107=158, Resulting Numbers: [158] 158,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[79, 23], Operations: ['65+14=79', '51-28=23'] Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,79 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 31, 30, 39, 63 ]
42
[ "30+63=93", "93/31=3", "39+3=42" ]
Current State: 42:[31, 30, 39, 63], Operations: [] Exploring Operation: 30+63=93, Resulting Numbers: [31, 39, 93] Generated Node #2: [31, 39, 93] from Operation: 30+63=93 Current State: 42:[31, 39, 93], Operations: ['30+63=93'] Exploring Operation: 93/31=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 93/31=3 Current State: 42:[39, 3], Operations: ['30+63=93', '93/31=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[31, 30, 39, 63], Operations: [] Exploring Operation: 63-31=32, Resulting Numbers: [30, 39, 32] Generated Node #0,0: 42:[30, 39, 32] Operation: 63-31=32 Exploring Operation: 63-30=33, Resulting Numbers: [31, 39, 33] Generated Node #0,1: 42:[31, 39, 33] Operation: 63-30=33 Exploring Operation: 31-30=1, Resulting Numbers: [39, 63, 1] Generated Node #0,2: 42:[39, 63, 1] Operation: 31-30=1 Exploring Operation: 63-39=24, Resulting Numbers: [31, 30, 24] Generated Node #0,3: 42:[31, 30, 24] Operation: 63-39=24 Moving to Node #0,0 Current State: 42:[30, 39, 32], Operations: ['63-31=32'] Exploring Operation: 32-30=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 42:[39, 2] Operation: 32-30=2 Exploring Operation: 39-30=9, Resulting Numbers: [32, 9] Generated Node #0,0,1: 42:[32, 9] Operation: 39-30=9 Exploring Operation: 30+32=62, Resulting Numbers: [39, 62] Generated Node #0,0,2: 42:[39, 62] Operation: 30+32=62 Exploring Operation: 39-32=7, Resulting Numbers: [30, 7] Generated Node #0,0,3: 42:[30, 7] Operation: 39-32=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[39, 2], Operations: ['63-31=32', '32-30=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,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,3 Current State: 42:[30, 7], Operations: ['63-31=32', '39-32=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,42 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,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,1 Current State: 42:[32, 9], Operations: ['63-31=32', '39-30=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,42 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,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,2 Current State: 42:[39, 62], Operations: ['63-31=32', '30+32=62'] Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,42 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,42 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: 42:[31, 30, 24], Operations: ['63-39=24'] Exploring Operation: 31-30=1, Resulting Numbers: [24, 1] Generated Node #0,3,0: 42:[24, 1] Operation: 31-30=1 Exploring Operation: 31+30=61, Resulting Numbers: [24, 61] Generated Node #0,3,1: 42:[24, 61] Operation: 31+30=61 Exploring Operation: 31-24=7, Resulting Numbers: [30, 7] Generated Node #0,3,2: 42:[30, 7] Operation: 31-24=7 Exploring Operation: 30-24=6, Resulting Numbers: [31, 6] Generated Node #0,3,3: 42:[31, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[24, 1], Operations: ['63-39=24', '31-30=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,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,3,2 Current State: 42:[30, 7], Operations: ['63-39=24', '31-24=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,42 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,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,3,3 Current State: 42:[31, 6], Operations: ['63-39=24', '30-24=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,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,3,1 Current State: 42:[24, 61], Operations: ['63-39=24', '31+30=61'] Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,42 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,42 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: 42:[31, 39, 33], Operations: ['63-30=33'] Exploring Operation: 39-31=8, Resulting Numbers: [33, 8] Generated Node #0,1,0: 42:[33, 8] Operation: 39-31=8 Exploring Operation: 31+33=64, Resulting Numbers: [39, 64] Generated Node #0,1,1: 42:[39, 64] Operation: 31+33=64 Exploring Operation: 33-31=2, Resulting Numbers: [39, 2] Generated Node #0,1,2: 42:[39, 2] Operation: 33-31=2 Exploring Operation: 39-33=6, Resulting Numbers: [31, 6] Generated Node #0,1,3: 42:[31, 6] Operation: 39-33=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[39, 2], Operations: ['63-30=33', '33-31=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[33, 8], Operations: ['63-30=33', '39-31=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[31, 6], Operations: ['63-30=33', '39-33=6'] Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,42 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,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:[39, 64], Operations: ['63-30=33', '31+33=64'] Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,42 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[39, 63, 1], Operations: ['31-30=1'] Exploring Operation: 39*1=39, Resulting Numbers: [63, 39] Generated Node #0,2,0: 42:[63, 39] Operation: 39*1=39 Exploring Operation: 39+1=40, Resulting Numbers: [63, 40] Generated Node #0,2,1: 42:[63, 40] Operation: 39+1=40 Exploring Operation: 63-39=24, Resulting Numbers: [1, 24] Generated Node #0,2,2: 42:[1, 24] Operation: 63-39=24 Exploring Operation: 63-1=62, Resulting Numbers: [39, 62] Generated Node #0,2,3: 42:[39, 62] Operation: 63-1=62 Moving to Node #0,2,2 Current State: 42:[1, 24], Operations: ['31-30=1', '63-39=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[39, 62], Operations: ['31-30=1', '63-1=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[63, 40], Operations: ['31-30=1', '39+1=40'] Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,42 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[63, 39], Operations: ['31-30=1', '39*1=39'] Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,42 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 63*39=2457, Resulting Numbers: [2457] 2457,42 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 12, 23, 19, 5 ]
58
[ "19-12=7", "5*7=35", "23+35=58" ]
Current State: 58:[12, 23, 19, 5], Operations: [] Exploring Operation: 19-12=7, Resulting Numbers: [23, 5, 7] Generated Node #2: [23, 5, 7] from Operation: 19-12=7 Current State: 58:[23, 5, 7], Operations: ['19-12=7'] Exploring Operation: 5*7=35, Resulting Numbers: [23, 35] Generated Node #3: [23, 35] from Operation: 5*7=35 Current State: 58:[23, 35], Operations: ['19-12=7', '5*7=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[12, 23, 19, 5], Operations: [] Exploring Operation: 12+19=31, Resulting Numbers: [23, 5, 31] Generated Node #0,0: 58:[23, 5, 31] Operation: 12+19=31 Exploring Operation: 12+23=35, Resulting Numbers: [19, 5, 35] Generated Node #0,1: 58:[19, 5, 35] Operation: 12+23=35 Exploring Operation: 23-19=4, Resulting Numbers: [12, 5, 4] Generated Node #0,2: 58:[12, 5, 4] Operation: 23-19=4 Exploring Operation: 19-12=7, Resulting Numbers: [23, 5, 7] Generated Node #0,3: 58:[23, 5, 7] Operation: 19-12=7 Exploring Operation: 12*5=60, Resulting Numbers: [23, 19, 60] Generated Node #0,4: 58:[23, 19, 60] Operation: 12*5=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[23, 5, 31], Operations: ['12+19=31'] Exploring Operation: 23-5=18, Resulting Numbers: [31, 18] Generated Node #0,0,0: 58:[31, 18] Operation: 23-5=18 Exploring Operation: 31-5=26, Resulting Numbers: [23, 26] Generated Node #0,0,1: 58:[23, 26] Operation: 31-5=26 Exploring Operation: 23+5=28, Resulting Numbers: [31, 28] Generated Node #0,0,2: 58:[31, 28] Operation: 23+5=28 Exploring Operation: 31-23=8, Resulting Numbers: [5, 8] Generated Node #0,0,3: 58:[5, 8] Operation: 31-23=8 Exploring Operation: 23+31=54, Resulting Numbers: [5, 54] Generated Node #0,0,4: 58:[5, 54] Operation: 23+31=54 Moving to Node #0,0,2 Current State: 58:[31, 28], Operations: ['12+19=31', '23+5=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,58 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,58 unequal: No Solution Moving to Node #0,0,4 Current State: 58:[5, 54], Operations: ['12+19=31', '23+31=54'] Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,58 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[23, 26], Operations: ['12+19=31', '31-5=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,58 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[5, 8], Operations: ['12+19=31', '31-23=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[31, 18], Operations: ['12+19=31', '23-5=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,58 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[23, 5, 7], Operations: ['19-12=7'] Exploring Operation: 7-5=2, Resulting Numbers: [23, 2] Generated Node #0,3,0: 58:[23, 2] Operation: 7-5=2 Exploring Operation: 23-5=18, Resulting Numbers: [7, 18] Generated Node #0,3,1: 58:[7, 18] Operation: 23-5=18 Exploring Operation: 23+7=30, Resulting Numbers: [5, 30] Generated Node #0,3,2: 58:[5, 30] Operation: 23+7=30 Exploring Operation: 23+5=28, Resulting Numbers: [7, 28] Generated Node #0,3,3: 58:[7, 28] Operation: 23+5=28 Exploring Operation: 5*7=35, Resulting Numbers: [23, 35] Generated Node #0,3,4: 58:[23, 35] Operation: 5*7=35 Moving to Node #0,3,2 Current State: 58:[5, 30], Operations: ['19-12=7', '23+7=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[7, 28], Operations: ['19-12=7', '23+5=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,58 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[23, 2], Operations: ['19-12=7', '7-5=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[23, 35], Operations: ['19-12=7', '5*7=35'] Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,58 unequal: No Solution Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[12, 23, 19, 5], Operations: [] Exploring Operation: 19-12=7, Resulting Numbers: [23, 5, 7] Generated Node #0,3: 58:[23, 5, 7] Operation: 19-12=7 Moving to Node #0,3 Current State: 58:[23, 5, 7], Operations: ['19-12=7'] Exploring Operation: 5*7=35, Resulting Numbers: [23, 35] Generated Node #0,3,4: 58:[23, 35] Operation: 5*7=35 Moving to Node #0,3,4 Current State: 58:[23, 35], Operations: ['19-12=7', '5*7=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 13, 4, 7, 37 ]
47
[ "13+4=17", "37-7=30", "17+30=47" ]
Current State: 47:[13, 4, 7, 37], Operations: [] Exploring Operation: 13+4=17, Resulting Numbers: [7, 37, 17] Generated Node #2: [7, 37, 17] from Operation: 13+4=17 Current State: 47:[7, 37, 17], Operations: ['13+4=17'] Exploring Operation: 37-7=30, Resulting Numbers: [17, 30] Generated Node #3: [17, 30] from Operation: 37-7=30 Current State: 47:[17, 30], Operations: ['13+4=17', '37-7=30'] Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[13, 4, 7, 37], Operations: [] Exploring Operation: 13*4=52, Resulting Numbers: [7, 37, 52] Generated Node #0,0: 47:[7, 37, 52] Operation: 13*4=52 Moving to Node #0,0 Current State: 47:[7, 37, 52], Operations: ['13*4=52'] Exploring Operation: 7+37=44, Resulting Numbers: [52, 44] Generated Node #0,0,0: 47:[52, 44] Operation: 7+37=44 Moving to Node #0,0,0 Current State: 47:[52, 44], Operations: ['13*4=52', '7+37=44'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,47 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 36, 31, 87, 96 ]
35
[ "96-87=9", "36/9=4", "31+4=35" ]
Current State: 35:[36, 31, 87, 96], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [36, 31, 9] Generated Node #2: [36, 31, 9] from Operation: 96-87=9 Current State: 35:[36, 31, 9], Operations: ['96-87=9'] Exploring Operation: 36/9=4, Resulting Numbers: [31, 4] Generated Node #3: [31, 4] from Operation: 36/9=4 Current State: 35:[31, 4], Operations: ['96-87=9', '36/9=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[36, 31, 87, 96], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [36, 87, 65] Generated Node #0,0: 35:[36, 87, 65] Operation: 96-31=65 Exploring Operation: 96-87=9, Resulting Numbers: [36, 31, 9] Generated Node #0,1: 35:[36, 31, 9] Operation: 96-87=9 Exploring Operation: 87-31=56, Resulting Numbers: [36, 96, 56] Generated Node #0,2: 35:[36, 96, 56] Operation: 87-31=56 Exploring Operation: 96-36=60, Resulting Numbers: [31, 87, 60] Generated Node #0,3: 35:[31, 87, 60] Operation: 96-36=60 Exploring Operation: 87-36=51, Resulting Numbers: [31, 96, 51] Generated Node #0,4: 35:[31, 96, 51] Operation: 87-36=51 Moving to Node #0,1 Current State: 35:[36, 31, 9], Operations: ['96-87=9'] Exploring Operation: 36-9=27, Resulting Numbers: [31, 27] Generated Node #0,1,0: 35:[31, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 35:[31, 4] Operation: 36/9=4 Exploring Operation: 31+9=40, Resulting Numbers: [36, 40] Generated Node #0,1,2: 35:[36, 40] Operation: 31+9=40 Exploring Operation: 36+9=45, Resulting Numbers: [31, 45] Generated Node #0,1,3: 35:[31, 45] Operation: 36+9=45 Exploring Operation: 36-31=5, Resulting Numbers: [9, 5] Generated Node #0,1,4: 35:[9, 5] Operation: 36-31=5 Moving to Node #0,4 Current State: 35:[31, 96, 51], Operations: ['87-36=51'] Exploring Operation: 31+51=82, Resulting Numbers: [96, 82] Generated Node #0,4,0: 35:[96, 82] Operation: 31+51=82 Exploring Operation: 51-31=20, Resulting Numbers: [96, 20] Generated Node #0,4,1: 35:[96, 20] Operation: 51-31=20 Exploring Operation: 96-31=65, Resulting Numbers: [51, 65] Generated Node #0,4,2: 35:[51, 65] Operation: 96-31=65 Exploring Operation: 96-51=45, Resulting Numbers: [31, 45] Generated Node #0,4,3: 35:[31, 45] Operation: 96-51=45 Exploring Operation: 31+96=127, Resulting Numbers: [51, 127] Generated Node #0,4,4: 35:[51, 127] Operation: 31+96=127 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 35:[31, 45], Operations: ['87-36=51', '96-51=45'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,35 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 35:[51, 65], Operations: ['87-36=51', '96-31=65'] Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 51+65=116, Resulting Numbers: [116] 116,35 unequal: No Solution Exploring Operation: 51*65=3315, Resulting Numbers: [3315] 3315,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[96, 20], Operations: ['87-36=51', '51-31=20'] Exploring Operation: 96+20=116, Resulting Numbers: [116] 116,35 unequal: No Solution Exploring Operation: 96*20=1920, Resulting Numbers: [1920] 1920,35 unequal: No Solution Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 35:[96, 82], Operations: ['87-36=51', '31+51=82'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 96*82=7872, Resulting Numbers: [7872] 7872,35 unequal: No Solution Exploring Operation: 96+82=178, Resulting Numbers: [178] 178,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 35:[51, 127], Operations: ['87-36=51', '31+96=127'] Exploring Operation: 51*127=6477, Resulting Numbers: [6477] 6477,35 unequal: No Solution Exploring Operation: 51+127=178, Resulting Numbers: [178] 178,35 unequal: No Solution Exploring Operation: 127-51=76, Resulting Numbers: [76] 76,35 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: 35:[31, 87, 60], Operations: ['96-36=60'] Exploring Operation: 31+87=118, Resulting Numbers: [60, 118] Generated Node #0,3,0: 35:[60, 118] Operation: 31+87=118 Exploring Operation: 87-31=56, Resulting Numbers: [60, 56] Generated Node #0,3,1: 35:[60, 56] Operation: 87-31=56 Exploring Operation: 87-60=27, Resulting Numbers: [31, 27] Generated Node #0,3,2: 35:[31, 27] Operation: 87-60=27 Exploring Operation: 60-31=29, Resulting Numbers: [87, 29] Generated Node #0,3,3: 35:[87, 29] Operation: 60-31=29 Exploring Operation: 31+60=91, Resulting Numbers: [87, 91] Generated Node #0,3,4: 35:[87, 91] Operation: 31+60=91 Moving to Node #0,0 Current State: 35:[36, 87, 65], Operations: ['96-31=65'] Exploring Operation: 87-36=51, Resulting Numbers: [65, 51] Generated Node #0,0,0: 35:[65, 51] Operation: 87-36=51 Exploring Operation: 36+87=123, Resulting Numbers: [65, 123] Generated Node #0,0,1: 35:[65, 123] Operation: 36+87=123 Exploring Operation: 65-36=29, Resulting Numbers: [87, 29] Generated Node #0,0,2: 35:[87, 29] Operation: 65-36=29 Exploring Operation: 87-65=22, Resulting Numbers: [36, 22] Generated Node #0,0,3: 35:[36, 22] Operation: 87-65=22 Exploring Operation: 36+65=101, Resulting Numbers: [87, 101] Generated Node #0,0,4: 35:[87, 101] Operation: 36+65=101 Moving to Node #0,2 Current State: 35:[36, 96, 56], Operations: ['87-31=56'] Exploring Operation: 56-36=20, Resulting Numbers: [96, 20] Generated Node #0,2,0: 35:[96, 20] Operation: 56-36=20 Exploring Operation: 96-56=40, Resulting Numbers: [36, 40] Generated Node #0,2,1: 35:[36, 40] Operation: 96-56=40 Exploring Operation: 36+56=92, Resulting Numbers: [96, 92] Generated Node #0,2,2: 35:[96, 92] Operation: 36+56=92 Exploring Operation: 36+96=132, Resulting Numbers: [56, 132] Generated Node #0,2,3: 35:[56, 132] Operation: 36+96=132 Exploring Operation: 96-36=60, Resulting Numbers: [56, 60] Generated Node #0,2,4: 35:[56, 60] Operation: 96-36=60 Moving to Node #0,1,4 Current State: 35:[9, 5], Operations: ['96-87=9', '36-31=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[31, 4], Operations: ['96-87=9', '36/9=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[36, 31, 87, 96], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [36, 31, 9] Generated Node #0,1: 35:[36, 31, 9] Operation: 96-87=9 Moving to Node #0,1 Current State: 35:[36, 31, 9], Operations: ['96-87=9'] Exploring Operation: 36/9=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 35:[31, 4] Operation: 36/9=4 Moving to Node #0,1,1 Current State: 35:[31, 4], Operations: ['96-87=9', '36/9=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 18, 66, 4, 29 ]
17
[ "66-18=48", "48/4=12", "29-12=17" ]
Current State: 17:[18, 66, 4, 29], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [4, 29, 48] Generated Node #2: [4, 29, 48] from Operation: 66-18=48 Current State: 17:[4, 29, 48], Operations: ['66-18=48'] Exploring Operation: 48/4=12, Resulting Numbers: [29, 12] Generated Node #3: [29, 12] from Operation: 48/4=12 Current State: 17:[29, 12], Operations: ['66-18=48', '48/4=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[18, 66, 4, 29], Operations: [] Exploring Operation: 66-4=62, Resulting Numbers: [18, 29, 62] Generated Node #0,0: 17:[18, 29, 62] Operation: 66-4=62 Exploring Operation: 29-4=25, Resulting Numbers: [18, 66, 25] Generated Node #0,1: 17:[18, 66, 25] Operation: 29-4=25 Exploring Operation: 66-29=37, Resulting Numbers: [18, 4, 37] Generated Node #0,2: 17:[18, 4, 37] Operation: 66-29=37 Exploring Operation: 66-18=48, Resulting Numbers: [4, 29, 48] Generated Node #0,3: 17:[4, 29, 48] Operation: 66-18=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[18, 4, 37], Operations: ['66-29=37'] Exploring Operation: 18-4=14, Resulting Numbers: [37, 14] Generated Node #0,2,0: 17:[37, 14] Operation: 18-4=14 Exploring Operation: 37-4=33, Resulting Numbers: [18, 33] Generated Node #0,2,1: 17:[18, 33] Operation: 37-4=33 Exploring Operation: 18+4=22, Resulting Numbers: [37, 22] Generated Node #0,2,2: 17:[37, 22] Operation: 18+4=22 Exploring Operation: 37-18=19, Resulting Numbers: [4, 19] Generated Node #0,2,3: 17:[4, 19] Operation: 37-18=19 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[4, 19], Operations: ['66-29=37', '37-18=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,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,1 Current State: 17:[18, 33], Operations: ['66-29=37', '37-4=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,17 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,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,0 Current State: 17:[37, 14], Operations: ['66-29=37', '18-4=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,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,2 Current State: 17:[37, 22], Operations: ['66-29=37', '18+4=22'] Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,17 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,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,3 Current State: 17:[4, 29, 48], Operations: ['66-18=48'] Exploring Operation: 48/4=12, Resulting Numbers: [29, 12] Generated Node #0,3,0: 17:[29, 12] Operation: 48/4=12 Exploring Operation: 48-29=19, Resulting Numbers: [4, 19] Generated Node #0,3,1: 17:[4, 19] Operation: 48-29=19 Exploring Operation: 48-4=44, Resulting Numbers: [29, 44] Generated Node #0,3,2: 17:[29, 44] Operation: 48-4=44 Exploring Operation: 29-4=25, Resulting Numbers: [48, 25] Generated Node #0,3,3: 17:[48, 25] Operation: 29-4=25 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[4, 19], Operations: ['66-18=48', '48-29=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,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,3,0 Current State: 17:[29, 12], Operations: ['66-18=48', '48/4=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,17 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[18, 66, 4, 29], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [4, 29, 48] Generated Node #0,3: 17:[4, 29, 48] Operation: 66-18=48 Moving to Node #0,3 Current State: 17:[4, 29, 48], Operations: ['66-18=48'] Exploring Operation: 48/4=12, Resulting Numbers: [29, 12] Generated Node #0,3,0: 17:[29, 12] Operation: 48/4=12 Moving to Node #0,3,0 Current State: 17:[29, 12], Operations: ['66-18=48', '48/4=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 16, 38, 6, 64 ]
11
[ "64/16=4", "38+6=44", "44/4=11" ]
Current State: 11:[16, 38, 6, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [38, 6, 4] Generated Node #2: [38, 6, 4] from Operation: 64/16=4 Current State: 11:[38, 6, 4], Operations: ['64/16=4'] Exploring Operation: 38+6=44, Resulting Numbers: [4, 44] Generated Node #3: [4, 44] from Operation: 38+6=44 Current State: 11:[4, 44], Operations: ['64/16=4', '38+6=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[16, 38, 6, 64], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [16, 6, 26] Generated Node #0,0: 11:[16, 6, 26] Operation: 64-38=26 Exploring Operation: 64/16=4, Resulting Numbers: [38, 6, 4] Generated Node #0,1: 11:[38, 6, 4] Operation: 64/16=4 Moving to Node #0,0 Current State: 11:[16, 6, 26], Operations: ['64-38=26'] Exploring Operation: 26-16=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 11:[6, 10] Operation: 26-16=10 Exploring Operation: 26-6=20, Resulting Numbers: [16, 20] Generated Node #0,0,1: 11:[16, 20] Operation: 26-6=20 Moving to Node #0,1 Current State: 11:[38, 6, 4], Operations: ['64/16=4'] Exploring Operation: 38-4=34, Resulting Numbers: [6, 34] Generated Node #0,1,0: 11:[6, 34] Operation: 38-4=34 Exploring Operation: 38-6=32, Resulting Numbers: [4, 32] Generated Node #0,1,1: 11:[4, 32] Operation: 38-6=32 Moving to Node #0,0,0 Current State: 11:[6, 10], Operations: ['64-38=26', '26-16=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[16, 20], Operations: ['64-38=26', '26-6=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[4, 32], Operations: ['64/16=4', '38-6=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[6, 34], Operations: ['64/16=4', '38-4=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,11 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 57, 22, 43, 62 ]
67
[ "62-57=5", "22*5=110", "110-43=67" ]
Current State: 67:[57, 22, 43, 62], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [22, 43, 5] Generated Node #2: [22, 43, 5] from Operation: 62-57=5 Current State: 67:[22, 43, 5], Operations: ['62-57=5'] Exploring Operation: 22*5=110, Resulting Numbers: [43, 110] Generated Node #3: [43, 110] from Operation: 22*5=110 Current State: 67:[43, 110], Operations: ['62-57=5', '22*5=110'] Exploring Operation: 110-43=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[57, 22, 43, 62], Operations: [] Exploring Operation: 22+43=65, Resulting Numbers: [57, 62, 65] Generated Node #0,0: 67:[57, 62, 65] Operation: 22+43=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[57, 62, 65], Operations: ['22+43=65'] Exploring Operation: 57+62=119, Resulting Numbers: [65, 119] Generated Node #0,0,0: 67:[65, 119] Operation: 57+62=119 Moving to Node #0,0,0 Current State: 67:[65, 119], Operations: ['22+43=65', '57+62=119'] Exploring Operation: 119-65=54, Resulting Numbers: [54] 54,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
[ 19, 45, 81, 8 ]
73
[ "19+45=64", "64/8=8", "81-8=73" ]
Current State: 73:[19, 45, 81, 8], Operations: [] Exploring Operation: 19+45=64, Resulting Numbers: [81, 8, 64] Generated Node #2: [81, 8, 64] from Operation: 19+45=64 Current State: 73:[81, 8, 64], Operations: ['19+45=64'] Exploring Operation: 64/8=8, Resulting Numbers: [81, 8] Generated Node #3: [81, 8] from Operation: 64/8=8 Current State: 73:[81, 8], Operations: ['19+45=64', '64/8=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[19, 45, 81, 8], Operations: [] Exploring Operation: 19+45=64, Resulting Numbers: [81, 8, 64] Generated Node #0,0: 73:[81, 8, 64] Operation: 19+45=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[81, 8, 64], Operations: ['19+45=64'] Exploring Operation: 81-8=73, Resulting Numbers: [64, 73] Generated Node #0,0,0: 73:[64, 73] Operation: 81-8=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[64, 73], Operations: ['19+45=64', '81-8=73'] Exploring Operation: 64+73=137, Resulting Numbers: [137] 137,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 66, 8, 43 ]
81
[ "66+66=132", "8+43=51", "132-51=81" ]
Current State: 81:[66, 66, 8, 43], Operations: [] Exploring Operation: 66+66=132, Resulting Numbers: [8, 43, 132] Generated Node #2: [8, 43, 132] from Operation: 66+66=132 Current State: 81:[8, 43, 132], Operations: ['66+66=132'] Exploring Operation: 8+43=51, Resulting Numbers: [132, 51] Generated Node #3: [132, 51] from Operation: 8+43=51 Current State: 81:[132, 51], Operations: ['66+66=132', '8+43=51'] Exploring Operation: 132-51=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[66, 66, 8, 43], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [8, 43, 1] Generated Node #0,0: 81:[8, 43, 1] Operation: 66/66=1 Exploring Operation: 66-66=0, Resulting Numbers: [8, 43, 0] Generated Node #0,1: 81:[8, 43, 0] Operation: 66-66=0 Moving to Node #0,0 Current State: 81:[8, 43, 1], Operations: ['66/66=1'] Exploring Operation: 43-8=35, Resulting Numbers: [1, 35] Generated Node #0,0,0: 81:[1, 35] Operation: 43-8=35 Exploring Operation: 8+1=9, Resulting Numbers: [43, 9] Generated Node #0,0,1: 81:[43, 9] Operation: 8+1=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[1, 35], Operations: ['66/66=1', '43-8=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,81 unequal: No Solution No 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: 81:[43, 9], Operations: ['66/66=1', '8+1=9'] Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,81 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: 81:[8, 43, 0], Operations: ['66-66=0'] Exploring Operation: 43-8=35, Resulting Numbers: [0, 35] Generated Node #0,1,0: 81:[0, 35] Operation: 43-8=35 Exploring Operation: 43*0=0, Resulting Numbers: [8, 0] Generated Node #0,1,1: 81:[8, 0] Operation: 43*0=0 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[8, 0], Operations: ['66-66=0', '43*0=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,81 unequal: No Solution No 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: 81:[0, 35], Operations: ['66-66=0', '43-8=35'] Exploring Operation: 0*35=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 0+35=35, Resulting Numbers: [35] 35,81 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
[ 80, 76, 7, 76 ]
73
[ "80+76=156", "7+76=83", "156-83=73" ]
Current State: 73:[80, 76, 7, 76], Operations: [] Exploring Operation: 80+76=156, Resulting Numbers: [7, 156] Generated Node #2: [7, 156] from Operation: 80+76=156 Current State: 73:[7, 156], Operations: ['80+76=156'] Exploring Operation: 7+76=83, Resulting Numbers: [156, 83] Generated Node #3: [156, 83] from Operation: 7+76=83 Current State: 73:[156, 83], Operations: ['80+76=156', '7+76=83'] Exploring Operation: 156-83=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[80, 76, 7, 76], Operations: [] Exploring Operation: 80+7=87, Resulting Numbers: [76, 76, 87] Generated Node #0,0: 73:[76, 76, 87] Operation: 80+7=87 Exploring Operation: 76-7=69, Resulting Numbers: [80, 76, 69] Generated Node #0,1: 73:[80, 76, 69] Operation: 76-7=69 Exploring Operation: 80-7=73, Resulting Numbers: [76, 76, 73] Generated Node #0,2: 73:[76, 76, 73] Operation: 80-7=73 Exploring Operation: 76-7=69, Resulting Numbers: [80, 76, 69] Generated Node #0,3: 73:[80, 76, 69] Operation: 76-7=69 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[76, 76, 73], Operations: ['80-7=73'] Exploring Operation: 76-73=3, Resulting Numbers: [76, 3] Generated Node #0,2,0: 73:[76, 3] Operation: 76-73=3 Exploring Operation: 76-76=0, Resulting Numbers: [73, 0] Generated Node #0,2,1: 73:[73, 0] Operation: 76-76=0 Exploring Operation: 76-73=3, Resulting Numbers: [76, 3] Generated Node #0,2,2: 73:[76, 3] Operation: 76-73=3 Exploring Operation: 76/76=1, Resulting Numbers: [73, 1] Generated Node #0,2,3: 73:[73, 1] Operation: 76/76=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[73, 1], Operations: ['80-7=73', '76/76=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[80, 76, 7, 76], Operations: [] Exploring Operation: 80-7=73, Resulting Numbers: [76, 76, 73] Generated Node #0,2: 73:[76, 76, 73] Operation: 80-7=73 Moving to Node #0,2 Current State: 73:[76, 76, 73], Operations: ['80-7=73'] Exploring Operation: 76/76=1, Resulting Numbers: [73, 1] Generated Node #0,2,3: 73:[73, 1] Operation: 76/76=1 Moving to Node #0,2,3 Current State: 73:[73, 1], Operations: ['80-7=73', '76/76=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 94, 4, 35, 32 ]
95
[ "94+4=98", "35-32=3", "98-3=95" ]
Current State: 95:[94, 4, 35, 32], Operations: [] Exploring Operation: 94+4=98, Resulting Numbers: [35, 32, 98] Generated Node #2: [35, 32, 98] from Operation: 94+4=98 Current State: 95:[35, 32, 98], Operations: ['94+4=98'] Exploring Operation: 35-32=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 35-32=3 Current State: 95:[98, 3], Operations: ['94+4=98', '35-32=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[94, 4, 35, 32], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [94, 35, 8] Generated Node #0,0: 95:[94, 35, 8] Operation: 32/4=8 Exploring Operation: 35-32=3, Resulting Numbers: [94, 4, 3] Generated Node #0,1: 95:[94, 4, 3] Operation: 35-32=3 Exploring Operation: 35-4=31, Resulting Numbers: [94, 32, 31] Generated Node #0,2: 95:[94, 32, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[94, 4, 3], Operations: ['35-32=3'] Exploring Operation: 94+3=97, Resulting Numbers: [4, 97] Generated Node #0,1,0: 95:[4, 97] Operation: 94+3=97 Exploring Operation: 4+3=7, Resulting Numbers: [94, 7] Generated Node #0,1,1: 95:[94, 7] Operation: 4+3=7 Exploring Operation: 94+4=98, Resulting Numbers: [3, 98] Generated Node #0,1,2: 95:[3, 98] Operation: 94+4=98 Moving to Node #0,1,0 Current State: 95:[4, 97], Operations: ['35-32=3', '94+3=97'] Exploring Operation: 4*97=388, Resulting Numbers: [388] 388,95 unequal: No Solution Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[94, 7], Operations: ['35-32=3', '4+3=7'] Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,95 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[3, 98], Operations: ['35-32=3', '94+4=98'] Exploring Operation: 3+98=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[94, 4, 35, 32], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [94, 4, 3] Generated Node #0,1: 95:[94, 4, 3] Operation: 35-32=3 Moving to Node #0,1 Current State: 95:[94, 4, 3], Operations: ['35-32=3'] Exploring Operation: 94+4=98, Resulting Numbers: [3, 98] Generated Node #0,1,2: 95:[3, 98] Operation: 94+4=98 Moving to Node #0,1,2 Current State: 95:[3, 98], Operations: ['35-32=3', '94+4=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 60, 30, 94, 91 ]
87
[ "60+30=90", "94-91=3", "90-3=87" ]
Current State: 87:[60, 30, 94, 91], Operations: [] Exploring Operation: 60+30=90, Resulting Numbers: [94, 91, 90] Generated Node #2: [94, 91, 90] from Operation: 60+30=90 Current State: 87:[94, 91, 90], Operations: ['60+30=90'] Exploring Operation: 94-91=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 94-91=3 Current State: 87:[90, 3], Operations: ['60+30=90', '94-91=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[60, 30, 94, 91], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [30, 91, 34] Generated Node #0,0: 87:[30, 91, 34] Operation: 94-60=34 Exploring Operation: 91-60=31, Resulting Numbers: [30, 94, 31] Generated Node #0,1: 87:[30, 94, 31] Operation: 91-60=31 Moving to Node #0,0 Current State: 87:[30, 91, 34], Operations: ['94-60=34'] Exploring Operation: 30+34=64, Resulting Numbers: [91, 64] Generated Node #0,0,0: 87:[91, 64] Operation: 30+34=64 Exploring Operation: 34-30=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 87:[91, 4] Operation: 34-30=4 Moving to Node #0,1 Current State: 87:[30, 94, 31], Operations: ['91-60=31'] Exploring Operation: 31-30=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 87:[94, 1] Operation: 31-30=1 Exploring Operation: 94-30=64, Resulting Numbers: [31, 64] Generated Node #0,1,1: 87:[31, 64] Operation: 94-30=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[94, 1], Operations: ['91-60=31', '31-30=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,87 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,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,1 Current State: 87:[31, 64], Operations: ['91-60=31', '94-30=64'] Exploring Operation: 31+64=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,87 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: 87:[91, 4], Operations: ['94-60=34', '34-30=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[60, 30, 94, 91], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [30, 91, 34] Generated Node #0,0: 87:[30, 91, 34] Operation: 94-60=34 Moving to Node #0,0 Current State: 87:[30, 91, 34], Operations: ['94-60=34'] Exploring Operation: 34-30=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 87:[91, 4] Operation: 34-30=4 Moving to Node #0,0,1 Current State: 87:[91, 4], Operations: ['94-60=34', '34-30=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 83, 22, 2, 61 ]
83
[ "83+22=105", "61+105=166", "166/2=83" ]
Current State: 83:[83, 22, 2, 61], Operations: [] Exploring Operation: 83+22=105, Resulting Numbers: [2, 61, 105] Generated Node #2: [2, 61, 105] from Operation: 83+22=105 Current State: 83:[2, 61, 105], Operations: ['83+22=105'] Exploring Operation: 61+105=166, Resulting Numbers: [2, 166] Generated Node #3: [2, 166] from Operation: 61+105=166 Current State: 83:[2, 166], Operations: ['83+22=105', '61+105=166'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[83, 22, 2, 61], Operations: [] Exploring Operation: 22*2=44, Resulting Numbers: [83, 61, 44] Generated Node #0,0: 83:[83, 61, 44] Operation: 22*2=44 Moving to Node #0,0 Current State: 83:[83, 61, 44], Operations: ['22*2=44'] Exploring Operation: 61+44=105, Resulting Numbers: [83, 105] Generated Node #0,0,0: 83:[83, 105] Operation: 61+44=105 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[83, 105], Operations: ['22*2=44', '61+44=105'] Exploring Operation: 105-83=22, Resulting Numbers: [22] 22,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 56, 62, 3, 95 ]
55
[ "95-56=39", "3*39=117", "117-62=55" ]
Current State: 55:[56, 62, 3, 95], Operations: [] Exploring Operation: 95-56=39, Resulting Numbers: [62, 3, 39] Generated Node #2: [62, 3, 39] from Operation: 95-56=39 Current State: 55:[62, 3, 39], Operations: ['95-56=39'] Exploring Operation: 3*39=117, Resulting Numbers: [62, 117] Generated Node #3: [62, 117] from Operation: 3*39=117 Current State: 55:[62, 117], Operations: ['95-56=39', '3*39=117'] Exploring Operation: 117-62=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[56, 62, 3, 95], Operations: [] Exploring Operation: 95-56=39, Resulting Numbers: [62, 3, 39] Generated Node #0,0: 55:[62, 3, 39] Operation: 95-56=39 Exploring Operation: 62-56=6, Resulting Numbers: [3, 95, 6] Generated Node #0,1: 55:[3, 95, 6] Operation: 62-56=6 Exploring Operation: 62-3=59, Resulting Numbers: [56, 95, 59] Generated Node #0,2: 55:[56, 95, 59] Operation: 62-3=59 Exploring Operation: 95-62=33, Resulting Numbers: [56, 3, 33] Generated Node #0,3: 55:[56, 3, 33] Operation: 95-62=33 Moving to Node #0,0 Current State: 55:[62, 3, 39], Operations: ['95-56=39'] Exploring Operation: 3+39=42, Resulting Numbers: [62, 42] Generated Node #0,0,0: 55:[62, 42] Operation: 3+39=42 Exploring Operation: 62-39=23, Resulting Numbers: [3, 23] Generated Node #0,0,1: 55:[3, 23] Operation: 62-39=23 Exploring Operation: 39/3=13, Resulting Numbers: [62, 13] Generated Node #0,0,2: 55:[62, 13] Operation: 39/3=13 Exploring Operation: 62-3=59, Resulting Numbers: [39, 59] Generated Node #0,0,3: 55:[39, 59] Operation: 62-3=59 Moving to Node #0,3 Current State: 55:[56, 3, 33], Operations: ['95-62=33'] Exploring Operation: 56-33=23, Resulting Numbers: [3, 23] Generated Node #0,3,0: 55:[3, 23] Operation: 56-33=23 Exploring Operation: 33-3=30, Resulting Numbers: [56, 30] Generated Node #0,3,1: 55:[56, 30] Operation: 33-3=30 Exploring Operation: 3+33=36, Resulting Numbers: [56, 36] Generated Node #0,3,2: 55:[56, 36] Operation: 3+33=36 Exploring Operation: 33/3=11, Resulting Numbers: [56, 11] Generated Node #0,3,3: 55:[56, 11] Operation: 33/3=11 Moving to Node #0,1 Current State: 55:[3, 95, 6], Operations: ['62-56=6'] Exploring Operation: 95-3=92, Resulting Numbers: [6, 92] Generated Node #0,1,0: 55:[6, 92] Operation: 95-3=92 Exploring Operation: 3+6=9, Resulting Numbers: [95, 9] Generated Node #0,1,1: 55:[95, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [95, 3] Generated Node #0,1,2: 55:[95, 3] Operation: 6-3=3 Exploring Operation: 95-6=89, Resulting Numbers: [3, 89] Generated Node #0,1,3: 55:[3, 89] Operation: 95-6=89 Moving to Node #0,2 Current State: 55:[56, 95, 59], Operations: ['62-3=59'] Exploring Operation: 59-56=3, Resulting Numbers: [95, 3] Generated Node #0,2,0: 55:[95, 3] Operation: 59-56=3 Exploring Operation: 95-56=39, Resulting Numbers: [59, 39] Generated Node #0,2,1: 55:[59, 39] Operation: 95-56=39 Exploring Operation: 56+95=151, Resulting Numbers: [59, 151] Generated Node #0,2,2: 55:[59, 151] Operation: 56+95=151 Exploring Operation: 95-59=36, Resulting Numbers: [56, 36] Generated Node #0,2,3: 55:[56, 36] Operation: 95-59=36 Moving to Node #0,3,3 Current State: 55:[56, 11], Operations: ['95-62=33', '33/3=11'] Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,55 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[62, 13], Operations: ['95-56=39', '39/3=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,55 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[3, 23], Operations: ['95-62=33', '56-33=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[3, 23], Operations: ['95-56=39', '62-39=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[56, 30], Operations: ['95-62=33', '33-3=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,55 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[56, 36], Operations: ['62-3=59', '95-59=36'] Exploring Operation: 56*36=2016, Resulting Numbers: [2016] 2016,55 unequal: No Solution Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[59, 39], Operations: ['62-3=59', '95-56=39'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,55 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[62, 42], Operations: ['95-56=39', '3+39=42'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 62*42=2604, Resulting Numbers: [2604] 2604,55 unequal: No Solution Exploring Operation: 62+42=104, Resulting Numbers: [104] 104,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[39, 59], Operations: ['95-56=39', '62-3=59'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[56, 36], Operations: ['95-62=33', '3+33=36'] Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,55 unequal: No Solution Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 56*36=2016, Resulting Numbers: [2016] 2016,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[3, 89], Operations: ['62-56=6', '95-6=89'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 3+89=92, Resulting Numbers: [92] 92,55 unequal: No Solution Exploring Operation: 3*89=267, Resulting Numbers: [267] 267,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[6, 92], Operations: ['62-56=6', '95-3=92'] Exploring Operation: 6+92=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 6*92=552, Resulting Numbers: [552] 552,55 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[95, 3], Operations: ['62-56=6', '6-3=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,55 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[95, 3], Operations: ['62-3=59', '59-56=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,55 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[95, 9], Operations: ['62-56=6', '3+6=9'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 95*9=855, Resulting Numbers: [855] 855,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[59, 151], Operations: ['62-3=59', '56+95=151'] Exploring Operation: 59*151=8909, Resulting Numbers: [8909] 8909,55 unequal: No Solution Exploring Operation: 59+151=210, Resulting Numbers: [210] 210,55 unequal: No Solution Exploring Operation: 151-59=92, Resulting Numbers: [92] 92,55 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 74, 29, 87, 81 ]
65
[ "74+29=103", "87+81=168", "168-103=65" ]
Current State: 65:[74, 29, 87, 81], Operations: [] Exploring Operation: 74+29=103, Resulting Numbers: [87, 81, 103] Generated Node #2: [87, 81, 103] from Operation: 74+29=103 Current State: 65:[87, 81, 103], Operations: ['74+29=103'] Exploring Operation: 87+81=168, Resulting Numbers: [103, 168] Generated Node #3: [103, 168] from Operation: 87+81=168 Current State: 65:[103, 168], Operations: ['74+29=103', '87+81=168'] Exploring Operation: 168-103=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[74, 29, 87, 81], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [74, 29, 6] Generated Node #0,0: 65:[74, 29, 6] Operation: 87-81=6 Exploring Operation: 87/29=3, Resulting Numbers: [74, 81, 3] Generated Node #0,1: 65:[74, 81, 3] Operation: 87/29=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[74, 29, 6], Operations: ['87-81=6'] Exploring Operation: 74-6=68, Resulting Numbers: [29, 68] Generated Node #0,0,0: 65:[29, 68] Operation: 74-6=68 Exploring Operation: 29-6=23, Resulting Numbers: [74, 23] Generated Node #0,0,1: 65:[74, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[29, 68], Operations: ['87-81=6', '74-6=68'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[74, 23], Operations: ['87-81=6', '29-6=23'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[74, 81, 3], Operations: ['87/29=3'] Exploring Operation: 81-74=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 65:[3, 7] Operation: 81-74=7 Exploring Operation: 74-3=71, Resulting Numbers: [81, 71] Generated Node #0,1,1: 65:[81, 71] Operation: 74-3=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[3, 7], Operations: ['87/29=3', '81-74=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[81, 71], Operations: ['87/29=3', '74-3=71'] Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,65 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 97, 70, 7, 46 ]
66
[ "97-70=27", "46-7=39", "27+39=66" ]
Current State: 66:[97, 70, 7, 46], Operations: [] Exploring Operation: 97-70=27, Resulting Numbers: [7, 46, 27] Generated Node #2: [7, 46, 27] from Operation: 97-70=27 Current State: 66:[7, 46, 27], Operations: ['97-70=27'] Exploring Operation: 46-7=39, Resulting Numbers: [27, 39] Generated Node #3: [27, 39] from Operation: 46-7=39 Current State: 66:[27, 39], Operations: ['97-70=27', '46-7=39'] Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[97, 70, 7, 46], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [70, 7, 51] Generated Node #0,0: 66:[70, 7, 51] Operation: 97-46=51 Exploring Operation: 97-7=90, Resulting Numbers: [70, 46, 90] Generated Node #0,1: 66:[70, 46, 90] Operation: 97-7=90 Exploring Operation: 70-46=24, Resulting Numbers: [97, 7, 24] Generated Node #0,2: 66:[97, 7, 24] Operation: 70-46=24 Exploring Operation: 97-70=27, Resulting Numbers: [7, 46, 27] Generated Node #0,3: 66:[7, 46, 27] Operation: 97-70=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[7, 46, 27], Operations: ['97-70=27'] Exploring Operation: 46+27=73, Resulting Numbers: [7, 73] Generated Node #0,3,0: 66:[7, 73] Operation: 46+27=73 Exploring Operation: 46-7=39, Resulting Numbers: [27, 39] Generated Node #0,3,1: 66:[27, 39] Operation: 46-7=39 Exploring Operation: 46-27=19, Resulting Numbers: [7, 19] Generated Node #0,3,2: 66:[7, 19] Operation: 46-27=19 Exploring Operation: 7+27=34, Resulting Numbers: [46, 34] Generated Node #0,3,3: 66:[46, 34] Operation: 7+27=34 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 66:[7, 19], Operations: ['97-70=27', '46-27=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 66:[7, 73], Operations: ['97-70=27', '46+27=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[97, 70, 7, 46], Operations: [] Exploring Operation: 97-70=27, Resulting Numbers: [7, 46, 27] Generated Node #0,3: 66:[7, 46, 27] Operation: 97-70=27 Moving to Node #0,3 Current State: 66:[7, 46, 27], Operations: ['97-70=27'] Exploring Operation: 46+27=73, Resulting Numbers: [7, 73] Generated Node #0,3,0: 66:[7, 73] Operation: 46+27=73 Moving to Node #0,3,0 Current State: 66:[7, 73], Operations: ['97-70=27', '46+27=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 25, 85, 24, 11 ]
34
[ "25+85=110", "110/11=10", "24+10=34" ]
Current State: 34:[25, 85, 24, 11], Operations: [] Exploring Operation: 25+85=110, Resulting Numbers: [24, 11, 110] Generated Node #2: [24, 11, 110] from Operation: 25+85=110 Current State: 34:[24, 11, 110], Operations: ['25+85=110'] Exploring Operation: 110/11=10, Resulting Numbers: [24, 10] Generated Node #3: [24, 10] from Operation: 110/11=10 Current State: 34:[24, 10], Operations: ['25+85=110', '110/11=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[25, 85, 24, 11], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [24, 11, 60] Generated Node #0,0: 34:[24, 11, 60] Operation: 85-25=60 Moving to Node #0,0 Current State: 34:[24, 11, 60], Operations: ['85-25=60'] Exploring Operation: 60-24=36, Resulting Numbers: [11, 36] Generated Node #0,0,0: 34:[11, 36] Operation: 60-24=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[11, 36], Operations: ['85-25=60', '60-24=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 38, 40, 11 ]
13
[ "66/11=6", "38+40=78", "78/6=13" ]
Current State: 13:[66, 38, 40, 11], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [38, 40, 6] Generated Node #2: [38, 40, 6] from Operation: 66/11=6 Current State: 13:[38, 40, 6], Operations: ['66/11=6'] Exploring Operation: 38+40=78, Resulting Numbers: [6, 78] Generated Node #3: [6, 78] from Operation: 38+40=78 Current State: 13:[6, 78], Operations: ['66/11=6', '38+40=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[66, 38, 40, 11], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [38, 11, 26] Generated Node #0,0: 13:[38, 11, 26] Operation: 66-40=26 Exploring Operation: 66-38=28, Resulting Numbers: [40, 11, 28] Generated Node #0,1: 13:[40, 11, 28] Operation: 66-38=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[38, 11, 26], Operations: ['66-40=26'] Exploring Operation: 38-11=27, Resulting Numbers: [26, 27] Generated Node #0,0,0: 13:[26, 27] Operation: 38-11=27 Exploring Operation: 38-26=12, Resulting Numbers: [11, 12] Generated Node #0,0,1: 13:[11, 12] Operation: 38-26=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[11, 12], Operations: ['66-40=26', '38-26=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[26, 27], Operations: ['66-40=26', '38-11=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[40, 11, 28], Operations: ['66-38=28'] Exploring Operation: 40-28=12, Resulting Numbers: [11, 12] Generated Node #0,1,0: 13:[11, 12] Operation: 40-28=12 Exploring Operation: 40-11=29, Resulting Numbers: [28, 29] Generated Node #0,1,1: 13:[28, 29] Operation: 40-11=29 Moving to Node #0,1,0 Current State: 13:[11, 12], Operations: ['66-38=28', '40-28=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[28, 29], Operations: ['66-38=28', '40-11=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 86, 66, 8, 49 ]
50
[ "66-49=17", "8*17=136", "136-86=50" ]
Current State: 50:[86, 66, 8, 49], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [86, 8, 17] Generated Node #2: [86, 8, 17] from Operation: 66-49=17 Current State: 50:[86, 8, 17], Operations: ['66-49=17'] Exploring Operation: 8*17=136, Resulting Numbers: [86, 136] Generated Node #3: [86, 136] from Operation: 8*17=136 Current State: 50:[86, 136], Operations: ['66-49=17', '8*17=136'] Exploring Operation: 136-86=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[86, 66, 8, 49], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [66, 49, 78] Generated Node #0,0: 50:[66, 49, 78] Operation: 86-8=78 Exploring Operation: 86-66=20, Resulting Numbers: [8, 49, 20] Generated Node #0,1: 50:[8, 49, 20] Operation: 86-66=20 Exploring Operation: 86-49=37, Resulting Numbers: [66, 8, 37] Generated Node #0,2: 50:[66, 8, 37] Operation: 86-49=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[8, 49, 20], Operations: ['86-66=20'] Exploring Operation: 8+20=28, Resulting Numbers: [49, 28] Generated Node #0,1,0: 50:[49, 28] Operation: 8+20=28 Exploring Operation: 49-20=29, Resulting Numbers: [8, 29] Generated Node #0,1,1: 50:[8, 29] Operation: 49-20=29 Exploring Operation: 20-8=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 50:[49, 12] Operation: 20-8=12 Moving to Node #0,1,2 Current State: 50:[49, 12], Operations: ['86-66=20', '20-8=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[49, 28], Operations: ['86-66=20', '8+20=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 49*28=1372, Resulting Numbers: [1372] 1372,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[8, 29], Operations: ['86-66=20', '49-20=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,50 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[66, 8, 37], Operations: ['86-49=37'] Exploring Operation: 66-8=58, Resulting Numbers: [37, 58] Generated Node #0,2,0: 50:[37, 58] Operation: 66-8=58 Exploring Operation: 66-37=29, Resulting Numbers: [8, 29] Generated Node #0,2,1: 50:[8, 29] Operation: 66-37=29 Exploring Operation: 37-8=29, Resulting Numbers: [66, 29] Generated Node #0,2,2: 50:[66, 29] Operation: 37-8=29 Moving to Node #0,2,1 Current State: 50:[8, 29], Operations: ['86-49=37', '66-37=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,50 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[37, 58], Operations: ['86-49=37', '66-8=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,50 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[66, 29], Operations: ['86-49=37', '37-8=29'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[66, 49, 78], Operations: ['86-8=78'] Exploring Operation: 78-66=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 50:[49, 12] Operation: 78-66=12 Exploring Operation: 78-49=29, Resulting Numbers: [66, 29] Generated Node #0,0,1: 50:[66, 29] Operation: 78-49=29 Exploring Operation: 66-49=17, Resulting Numbers: [78, 17] Generated Node #0,0,2: 50:[78, 17] Operation: 66-49=17 Moving to Node #0,0,0 Current State: 50:[49, 12], Operations: ['86-8=78', '78-66=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,50 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[66, 29], Operations: ['86-8=78', '78-49=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,50 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[78, 17], Operations: ['86-8=78', '66-49=17'] Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 67, 41, 43, 39 ]
55
[ "67+43=110", "41-39=2", "110/2=55" ]
Current State: 55:[67, 41, 43, 39], Operations: [] Exploring Operation: 67+43=110, Resulting Numbers: [41, 39, 110] Generated Node #2: [41, 39, 110] from Operation: 67+43=110 Current State: 55:[41, 39, 110], Operations: ['67+43=110'] Exploring Operation: 41-39=2, Resulting Numbers: [110, 2] Generated Node #3: [110, 2] from Operation: 41-39=2 Current State: 55:[110, 2], Operations: ['67+43=110', '41-39=2'] Exploring Operation: 110/2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[67, 41, 43, 39], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [67, 43, 2] Generated Node #0,0: 55:[67, 43, 2] Operation: 41-39=2 Exploring Operation: 43-41=2, Resulting Numbers: [67, 39, 2] Generated Node #0,1: 55:[67, 39, 2] Operation: 43-41=2 Exploring Operation: 43-39=4, Resulting Numbers: [67, 41, 4] Generated Node #0,2: 55:[67, 41, 4] Operation: 43-39=4 Exploring Operation: 67-41=26, Resulting Numbers: [43, 39, 26] Generated Node #0,3: 55:[43, 39, 26] Operation: 67-41=26 Exploring Operation: 67-43=24, Resulting Numbers: [41, 39, 24] Generated Node #0,4: 55:[41, 39, 24] Operation: 67-43=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[67, 43, 2], Operations: ['41-39=2'] Exploring Operation: 43+2=45, Resulting Numbers: [67, 45] Generated Node #0,0,0: 55:[67, 45] Operation: 43+2=45 Exploring Operation: 67+2=69, Resulting Numbers: [43, 69] Generated Node #0,0,1: 55:[43, 69] Operation: 67+2=69 Exploring Operation: 67-2=65, Resulting Numbers: [43, 65] Generated Node #0,0,2: 55:[43, 65] Operation: 67-2=65 Exploring Operation: 67-43=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 55:[2, 24] Operation: 67-43=24 Exploring Operation: 43-2=41, Resulting Numbers: [67, 41] Generated Node #0,0,4: 55:[67, 41] Operation: 43-2=41 Moving to Node #0,0,3 Current State: 55:[2, 24], Operations: ['41-39=2', '67-43=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[43, 65], Operations: ['41-39=2', '67-2=65'] Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 43*65=2795, Resulting Numbers: [2795] 2795,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[67, 45], Operations: ['41-39=2', '43+2=45'] Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,55 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[43, 69], Operations: ['41-39=2', '67+2=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,55 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[67, 41], Operations: ['41-39=2', '43-2=41'] Exploring Operation: 67*41=2747, Resulting Numbers: [2747] 2747,55 unequal: No Solution Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 67+41=108, Resulting Numbers: [108] 108,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[67, 41, 4], Operations: ['43-39=4'] Exploring Operation: 67+4=71, Resulting Numbers: [41, 71] Generated Node #0,2,0: 55:[41, 71] Operation: 67+4=71 Exploring Operation: 41+4=45, Resulting Numbers: [67, 45] Generated Node #0,2,1: 55:[67, 45] Operation: 41+4=45 Exploring Operation: 41-4=37, Resulting Numbers: [67, 37] Generated Node #0,2,2: 55:[67, 37] Operation: 41-4=37 Exploring Operation: 67-4=63, Resulting Numbers: [41, 63] Generated Node #0,2,3: 55:[41, 63] Operation: 67-4=63 Exploring Operation: 67-41=26, Resulting Numbers: [4, 26] Generated Node #0,2,4: 55:[4, 26] Operation: 67-41=26 Moving to Node #0,2,4 Current State: 55:[4, 26], Operations: ['43-39=4', '67-41=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[41, 63], Operations: ['43-39=4', '67-4=63'] Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,55 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[67, 45], Operations: ['43-39=4', '41+4=45'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,55 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[41, 71], Operations: ['43-39=4', '67+4=71'] Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,55 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[67, 37], Operations: ['43-39=4', '41-4=37'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,55 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[67, 39, 2], Operations: ['43-41=2'] Exploring Operation: 67-2=65, Resulting Numbers: [39, 65] Generated Node #0,1,0: 55:[39, 65] Operation: 67-2=65 Exploring Operation: 67+2=69, Resulting Numbers: [39, 69] Generated Node #0,1,1: 55:[39, 69] Operation: 67+2=69 Exploring Operation: 39+2=41, Resulting Numbers: [67, 41] Generated Node #0,1,2: 55:[67, 41] Operation: 39+2=41 Exploring Operation: 39-2=37, Resulting Numbers: [67, 37] Generated Node #0,1,3: 55:[67, 37] Operation: 39-2=37 Exploring Operation: 67-39=28, Resulting Numbers: [2, 28] Generated Node #0,1,4: 55:[2, 28] Operation: 67-39=28 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 55:[2, 28], Operations: ['43-41=2', '67-39=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,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:[39, 65], Operations: ['43-41=2', '67-2=65'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,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,2 Current State: 55:[67, 41], Operations: ['43-41=2', '39+2=41'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 67+41=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 67*41=2747, Resulting Numbers: [2747] 2747,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,1 Current State: 55:[39, 69], Operations: ['43-41=2', '67+2=69'] Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,55 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,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,3 Current State: 55:[67, 37], Operations: ['43-41=2', '39-2=37'] Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,55 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,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,3 Current State: 55:[43, 39, 26], Operations: ['67-41=26'] Exploring Operation: 39-26=13, Resulting Numbers: [43, 13] Generated Node #0,3,0: 55:[43, 13] Operation: 39-26=13 Exploring Operation: 43-26=17, Resulting Numbers: [39, 17] Generated Node #0,3,1: 55:[39, 17] Operation: 43-26=17 Exploring Operation: 43+26=69, Resulting Numbers: [39, 69] Generated Node #0,3,2: 55:[39, 69] Operation: 43+26=69 Exploring Operation: 39+26=65, Resulting Numbers: [43, 65] Generated Node #0,3,3: 55:[43, 65] Operation: 39+26=65 Exploring Operation: 43-39=4, Resulting Numbers: [26, 4] Generated Node #0,3,4: 55:[26, 4] Operation: 43-39=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[43, 13], Operations: ['67-41=26', '39-26=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,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,3,4 Current State: 55:[26, 4], Operations: ['67-41=26', '43-39=4'] Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,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,3,1 Current State: 55:[39, 17], Operations: ['67-41=26', '43-26=17'] Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,55 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,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,3,3 Current State: 55:[43, 65], Operations: ['67-41=26', '39+26=65'] Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 43*65=2795, Resulting Numbers: [2795] 2795,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,3,2 Current State: 55:[39, 69], Operations: ['67-41=26', '43+26=69'] Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,55 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,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,4 Current State: 55:[41, 39, 24], Operations: ['67-43=24'] Exploring Operation: 39+24=63, Resulting Numbers: [41, 63] Generated Node #0,4,0: 55:[41, 63] Operation: 39+24=63 Exploring Operation: 41-24=17, Resulting Numbers: [39, 17] Generated Node #0,4,1: 55:[39, 17] Operation: 41-24=17 Exploring Operation: 41-39=2, Resulting Numbers: [24, 2] Generated Node #0,4,2: 55:[24, 2] Operation: 41-39=2 Exploring Operation: 39-24=15, Resulting Numbers: [41, 15] Generated Node #0,4,3: 55:[41, 15] Operation: 39-24=15 Exploring Operation: 41+24=65, Resulting Numbers: [39, 65] Generated Node #0,4,4: 55:[39, 65] Operation: 41+24=65 Moving to Node #0,4,2 Current State: 55:[24, 2], Operations: ['67-43=24', '41-39=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[41, 15], Operations: ['67-43=24', '39-24=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,55 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[41, 63], Operations: ['67-43=24', '39+24=63'] Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[39, 17], Operations: ['67-43=24', '41-24=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,55 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[39, 65], Operations: ['67-43=24', '41+24=65'] Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,55 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 25, 40, 63, 53 ]
16
[ "63-53=10", "40*10=400", "400/25=16" ]
Current State: 16:[25, 40, 63, 53], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [25, 40, 10] Generated Node #2: [25, 40, 10] from Operation: 63-53=10 Current State: 16:[25, 40, 10], Operations: ['63-53=10'] Exploring Operation: 40*10=400, Resulting Numbers: [25, 400] Generated Node #3: [25, 400] from Operation: 40*10=400 Current State: 16:[25, 400], Operations: ['63-53=10', '40*10=400'] Exploring Operation: 400/25=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[25, 40, 63, 53], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [25, 40, 10] Generated Node #0,0: 16:[25, 40, 10] Operation: 63-53=10 Exploring Operation: 63-40=23, Resulting Numbers: [25, 53, 23] Generated Node #0,1: 16:[25, 53, 23] Operation: 63-40=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[25, 40, 10], Operations: ['63-53=10'] Exploring Operation: 40/10=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 16:[25, 4] Operation: 40/10=4 Exploring Operation: 40-25=15, Resulting Numbers: [10, 15] Generated Node #0,0,1: 16:[10, 15] Operation: 40-25=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[10, 15], Operations: ['63-53=10', '40-25=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,16 unequal: No Solution No 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: 16:[25, 4], Operations: ['63-53=10', '40/10=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,16 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: 16:[25, 53, 23], Operations: ['63-40=23'] Exploring Operation: 53-23=30, Resulting Numbers: [25, 30] Generated Node #0,1,0: 16:[25, 30] Operation: 53-23=30 Exploring Operation: 53-25=28, Resulting Numbers: [23, 28] Generated Node #0,1,1: 16:[23, 28] Operation: 53-25=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[23, 28], Operations: ['63-40=23', '53-25=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,16 unequal: No Solution No 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: 16:[25, 30], Operations: ['63-40=23', '53-23=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,16 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
[ 3, 25, 9, 54 ]
40
[ "54-9=45", "45/3=15", "25+15=40" ]
Current State: 40:[3, 25, 9, 54], Operations: [] Exploring Operation: 54-9=45, Resulting Numbers: [3, 25, 45] Generated Node #2: [3, 25, 45] from Operation: 54-9=45 Current State: 40:[3, 25, 45], Operations: ['54-9=45'] Exploring Operation: 45/3=15, Resulting Numbers: [25, 15] Generated Node #3: [25, 15] from Operation: 45/3=15 Current State: 40:[25, 15], Operations: ['54-9=45', '45/3=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[3, 25, 9, 54], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [3, 25, 6] Generated Node #0,0: 40:[3, 25, 6] Operation: 54/9=6 Exploring Operation: 54/3=18, Resulting Numbers: [25, 9, 18] Generated Node #0,1: 40:[25, 9, 18] Operation: 54/3=18 Moving to Node #0,0 Current State: 40:[3, 25, 6], Operations: ['54/9=6'] Exploring Operation: 25-3=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 40:[6, 22] Operation: 25-3=22 Exploring Operation: 25-6=19, Resulting Numbers: [3, 19] Generated Node #0,0,1: 40:[3, 19] Operation: 25-6=19 Moving to Node #0,1 Current State: 40:[25, 9, 18], Operations: ['54/3=18'] Exploring Operation: 25-18=7, Resulting Numbers: [9, 7] Generated Node #0,1,0: 40:[9, 7] Operation: 25-18=7 Exploring Operation: 25+18=43, Resulting Numbers: [9, 43] Generated Node #0,1,1: 40:[9, 43] Operation: 25+18=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[9, 7], Operations: ['54/3=18', '25-18=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[9, 43], Operations: ['54/3=18', '25+18=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,40 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: 40:[3, 19], Operations: ['54/9=6', '25-6=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[6, 22], Operations: ['54/9=6', '25-3=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,40 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 10, 26, 20, 6 ]
14
[ "10+26=36", "36/6=6", "20-6=14" ]
Current State: 14:[10, 26, 20, 6], Operations: [] Exploring Operation: 10+26=36, Resulting Numbers: [20, 6, 36] Generated Node #2: [20, 6, 36] from Operation: 10+26=36 Current State: 14:[20, 6, 36], Operations: ['10+26=36'] Exploring Operation: 36/6=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 36/6=6 Current State: 14:[20, 6], Operations: ['10+26=36', '36/6=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[10, 26, 20, 6], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [10, 6, 6] Generated Node #0,0: 14:[10, 6, 6] Operation: 26-20=6 Moving to Node #0,0 Current State: 14:[10, 6, 6], Operations: ['26-20=6'] Exploring Operation: 10+6=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 14:[6, 16] Operation: 10+6=16 Moving to Node #0,0,0 Current State: 14:[6, 16], Operations: ['26-20=6', '10+6=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,14 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 8, 96, 74 ]
64
[ "74-54=20", "8*20=160", "160-96=64" ]
Current State: 64:[54, 8, 96, 74], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [8, 96, 20] Generated Node #2: [8, 96, 20] from Operation: 74-54=20 Current State: 64:[8, 96, 20], Operations: ['74-54=20'] Exploring Operation: 8*20=160, Resulting Numbers: [96, 160] Generated Node #3: [96, 160] from Operation: 8*20=160 Current State: 64:[96, 160], Operations: ['74-54=20', '8*20=160'] Exploring Operation: 160-96=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[54, 8, 96, 74], Operations: [] Exploring Operation: 96-54=42, Resulting Numbers: [8, 74, 42] Generated Node #0,0: 64:[8, 74, 42] Operation: 96-54=42 Exploring Operation: 96-74=22, Resulting Numbers: [54, 8, 22] Generated Node #0,1: 64:[54, 8, 22] Operation: 96-74=22 Moving to Node #0,1 Current State: 64:[54, 8, 22], Operations: ['96-74=22'] Exploring Operation: 54-22=32, Resulting Numbers: [8, 32] Generated Node #0,1,0: 64:[8, 32] Operation: 54-22=32 Exploring Operation: 54+8=62, Resulting Numbers: [22, 62] Generated Node #0,1,1: 64:[22, 62] Operation: 54+8=62 Moving to Node #0,0 Current State: 64:[8, 74, 42], Operations: ['96-54=42'] Exploring Operation: 74-8=66, Resulting Numbers: [42, 66] Generated Node #0,0,0: 64:[42, 66] Operation: 74-8=66 Exploring Operation: 74-42=32, Resulting Numbers: [8, 32] Generated Node #0,0,1: 64:[8, 32] Operation: 74-42=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[8, 32], Operations: ['96-54=42', '74-42=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[42, 66], Operations: ['96-54=42', '74-8=66'] Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 42+66=108, Resulting Numbers: [108] 108,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 64:[8, 32], Operations: ['96-74=22', '54-22=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[22, 62], Operations: ['96-74=22', '54+8=62'] Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,64 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 81, 2, 92, 12 ]
47
[ "81+12=93", "92/2=46", "93-46=47" ]
Current State: 47:[81, 2, 92, 12], Operations: [] Exploring Operation: 81+12=93, Resulting Numbers: [2, 92, 93] Generated Node #2: [2, 92, 93] from Operation: 81+12=93 Current State: 47:[2, 92, 93], Operations: ['81+12=93'] Exploring Operation: 92/2=46, Resulting Numbers: [93, 46] Generated Node #3: [93, 46] from Operation: 92/2=46 Current State: 47:[93, 46], Operations: ['81+12=93', '92/2=46'] Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[81, 2, 92, 12], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [81, 12, 46] Generated Node #0,0: 47:[81, 12, 46] Operation: 92/2=46 Exploring Operation: 2*12=24, Resulting Numbers: [81, 92, 24] Generated Node #0,1: 47:[81, 92, 24] Operation: 2*12=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[81, 12, 46], Operations: ['92/2=46'] Exploring Operation: 12+46=58, Resulting Numbers: [81, 58] Generated Node #0,0,0: 47:[81, 58] Operation: 12+46=58 Exploring Operation: 81-12=69, Resulting Numbers: [46, 69] Generated Node #0,0,1: 47:[46, 69] Operation: 81-12=69 Moving to Node #0,0,1 Current State: 47:[46, 69], Operations: ['92/2=46', '81-12=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[81, 58], Operations: ['92/2=46', '12+46=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,47 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[81, 92, 24], Operations: ['2*12=24'] Exploring Operation: 81-24=57, Resulting Numbers: [92, 57] Generated Node #0,1,0: 47:[92, 57] Operation: 81-24=57 Exploring Operation: 92-24=68, Resulting Numbers: [81, 68] Generated Node #0,1,1: 47:[81, 68] Operation: 92-24=68 Moving to Node #0,1,0 Current State: 47:[92, 57], Operations: ['2*12=24', '81-24=57'] Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,47 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[81, 68], Operations: ['2*12=24', '92-24=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 32, 73, 96, 6 ]
89
[ "32+73=105", "96/6=16", "105-16=89" ]
Current State: 89:[32, 73, 96, 6], Operations: [] Exploring Operation: 32+73=105, Resulting Numbers: [96, 6, 105] Generated Node #2: [96, 6, 105] from Operation: 32+73=105 Current State: 89:[96, 6, 105], Operations: ['32+73=105'] Exploring Operation: 96/6=16, Resulting Numbers: [105, 16] Generated Node #3: [105, 16] from Operation: 96/6=16 Current State: 89:[105, 16], Operations: ['32+73=105', '96/6=16'] Exploring Operation: 105-16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[32, 73, 96, 6], Operations: [] Exploring Operation: 96-6=90, Resulting Numbers: [32, 73, 90] Generated Node #0,0: 89:[32, 73, 90] Operation: 96-6=90 Exploring Operation: 73+6=79, Resulting Numbers: [32, 96, 79] Generated Node #0,1: 89:[32, 96, 79] Operation: 73+6=79 Exploring Operation: 32+6=38, Resulting Numbers: [73, 96, 38] Generated Node #0,2: 89:[73, 96, 38] Operation: 32+6=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[32, 73, 90], Operations: ['96-6=90'] Exploring Operation: 32+73=105, Resulting Numbers: [90, 105] Generated Node #0,0,0: 89:[90, 105] Operation: 32+73=105 Exploring Operation: 73-32=41, Resulting Numbers: [90, 41] Generated Node #0,0,1: 89:[90, 41] Operation: 73-32=41 Exploring Operation: 90-32=58, Resulting Numbers: [73, 58] Generated Node #0,0,2: 89:[73, 58] Operation: 90-32=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[90, 105], Operations: ['96-6=90', '32+73=105'] Exploring Operation: 105-90=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 90*105=9450, Resulting Numbers: [9450] 9450,89 unequal: No Solution Exploring Operation: 90+105=195, Resulting Numbers: [195] 195,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,2 Current State: 89:[73, 58], Operations: ['96-6=90', '90-32=58'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,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:[90, 41], Operations: ['96-6=90', '73-32=41'] Exploring Operation: 90*41=3690, Resulting Numbers: [3690] 3690,89 unequal: No Solution Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,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:[32, 96, 79], Operations: ['73+6=79'] Exploring Operation: 32+96=128, Resulting Numbers: [79, 128] Generated Node #0,1,0: 89:[79, 128] Operation: 32+96=128 Exploring Operation: 32+79=111, Resulting Numbers: [96, 111] Generated Node #0,1,1: 89:[96, 111] Operation: 32+79=111 Exploring Operation: 96-32=64, Resulting Numbers: [79, 64] Generated Node #0,1,2: 89:[79, 64] Operation: 96-32=64 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[96, 111], Operations: ['73+6=79', '32+79=111'] Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 96*111=10656, Resulting Numbers: [10656] 10656,89 unequal: No Solution Exploring Operation: 96+111=207, Resulting Numbers: [207] 207,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,2 Current State: 89:[79, 64], Operations: ['73+6=79', '96-32=64'] Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,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,0 Current State: 89:[79, 128], Operations: ['73+6=79', '32+96=128'] Exploring Operation: 79+128=207, Resulting Numbers: [207] 207,89 unequal: No Solution Exploring Operation: 79*128=10112, Resulting Numbers: [10112] 10112,89 unequal: No Solution Exploring Operation: 128-79=49, Resulting Numbers: [49] 49,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,2 Current State: 89:[73, 96, 38], Operations: ['32+6=38'] Exploring Operation: 73+38=111, Resulting Numbers: [96, 111] Generated Node #0,2,0: 89:[96, 111] Operation: 73+38=111 Exploring Operation: 73-38=35, Resulting Numbers: [96, 35] Generated Node #0,2,1: 89:[96, 35] Operation: 73-38=35 Exploring Operation: 96-38=58, Resulting Numbers: [73, 58] Generated Node #0,2,2: 89:[73, 58] Operation: 96-38=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[96, 111], Operations: ['32+6=38', '73+38=111'] Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 96+111=207, Resulting Numbers: [207] 207,89 unequal: No Solution Exploring Operation: 96*111=10656, Resulting Numbers: [10656] 10656,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,2,2 Current State: 89:[73, 58], Operations: ['32+6=38', '96-38=58'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,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,2,1 Current State: 89:[96, 35], Operations: ['32+6=38', '73-38=35'] Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,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_3
mult_heuristic
[ 63, 63, 21, 2 ]
30
[ "63/21=3", "63-3=60", "60/2=30" ]
Current State: 30:[63, 63, 21, 2], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [2, 3] Generated Node #2: [2, 3] from Operation: 63/21=3 Current State: 30:[2, 3], Operations: ['63/21=3'] Exploring Operation: 63-3=60, Resulting Numbers: [2, 60] Generated Node #3: [2, 60] from Operation: 63-3=60 Current State: 30:[2, 60], Operations: ['63/21=3', '63-3=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[63, 63, 21, 2], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [63, 2, 3] Generated Node #0,0: 30:[63, 2, 3] Operation: 63/21=3 Exploring Operation: 63/63=1, Resulting Numbers: [21, 2, 1] Generated Node #0,1: 30:[21, 2, 1] Operation: 63/63=1 Exploring Operation: 63-63=0, Resulting Numbers: [21, 2, 0] Generated Node #0,2: 30:[21, 2, 0] Operation: 63-63=0 Moving to Node #0,1 Current State: 30:[21, 2, 1], Operations: ['63/63=1'] Exploring Operation: 21*1=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 30:[2, 21] Operation: 21*1=21 Exploring Operation: 21-2=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 30:[1, 19] Operation: 21-2=19 Exploring Operation: 21-1=20, Resulting Numbers: [2, 20] Generated Node #0,1,2: 30:[2, 20] Operation: 21-1=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[1, 19], Operations: ['63/63=1', '21-2=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[2, 20], Operations: ['63/63=1', '21-1=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[2, 21], Operations: ['63/63=1', '21*1=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,30 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: 30:[21, 2, 0], Operations: ['63-63=0'] Exploring Operation: 21-2=19, Resulting Numbers: [0, 19] Generated Node #0,2,0: 30:[0, 19] Operation: 21-2=19 Exploring Operation: 21*0=0, Resulting Numbers: [2, 0] Generated Node #0,2,1: 30:[2, 0] Operation: 21*0=0 Exploring Operation: 21+0=21, Resulting Numbers: [2, 21] Generated Node #0,2,2: 30:[2, 21] Operation: 21+0=21 Moving to Node #0,0 Current State: 30:[63, 2, 3], Operations: ['63/21=3'] Exploring Operation: 63/3=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 30:[2, 21] Operation: 63/3=21 Exploring Operation: 63-2=61, Resulting Numbers: [3, 61] Generated Node #0,0,1: 30:[3, 61] Operation: 63-2=61 Exploring Operation: 63-3=60, Resulting Numbers: [2, 60] Generated Node #0,0,2: 30:[2, 60] Operation: 63-3=60 Moving to Node #0,2,1 Current State: 30:[2, 0], Operations: ['63-63=0', '21*0=0'] Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[2, 21], Operations: ['63-63=0', '21+0=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[0, 19], Operations: ['63-63=0', '21-2=19'] Exploring Operation: 0+19=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 0*19=0, Resulting Numbers: [0] 0,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[2, 21], Operations: ['63/21=3', '63/3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[2, 60], Operations: ['63/21=3', '63-3=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[63, 63, 21, 2], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [63, 2, 3] Generated Node #0,0: 30:[63, 2, 3] Operation: 63/21=3 Moving to Node #0,0 Current State: 30:[63, 2, 3], Operations: ['63/21=3'] Exploring Operation: 63-3=60, Resulting Numbers: [2, 60] Generated Node #0,0,2: 30:[2, 60] Operation: 63-3=60 Moving to Node #0,0,2 Current State: 30:[2, 60], Operations: ['63/21=3', '63-3=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 11, 47, 55, 63 ]
15
[ "47+55=102", "63+102=165", "165/11=15" ]
Current State: 15:[11, 47, 55, 63], Operations: [] Exploring Operation: 47+55=102, Resulting Numbers: [11, 63, 102] Generated Node #2: [11, 63, 102] from Operation: 47+55=102 Current State: 15:[11, 63, 102], Operations: ['47+55=102'] Exploring Operation: 63+102=165, Resulting Numbers: [11, 165] Generated Node #3: [11, 165] from Operation: 63+102=165 Current State: 15:[11, 165], Operations: ['47+55=102', '63+102=165'] Exploring Operation: 165/11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[11, 47, 55, 63], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [11, 47, 8] Generated Node #0,0: 15:[11, 47, 8] Operation: 63-55=8 Exploring Operation: 63-47=16, Resulting Numbers: [11, 55, 16] Generated Node #0,1: 15:[11, 55, 16] Operation: 63-47=16 Moving to Node #0,0 Current State: 15:[11, 47, 8], Operations: ['63-55=8'] Exploring Operation: 47-11=36, Resulting Numbers: [8, 36] Generated Node #0,0,0: 15:[8, 36] Operation: 47-11=36 Exploring Operation: 47-8=39, Resulting Numbers: [11, 39] Generated Node #0,0,1: 15:[11, 39] Operation: 47-8=39 Moving to Node #0,1 Current State: 15:[11, 55, 16], Operations: ['63-47=16'] Exploring Operation: 55/11=5, Resulting Numbers: [16, 5] Generated Node #0,1,0: 15:[16, 5] Operation: 55/11=5 Exploring Operation: 55-16=39, Resulting Numbers: [11, 39] Generated Node #0,1,1: 15:[11, 39] Operation: 55-16=39 Moving to Node #0,1,0 Current State: 15:[16, 5], Operations: ['63-47=16', '55/11=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[8, 36], Operations: ['63-55=8', '47-11=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[11, 39], Operations: ['63-55=8', '47-8=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[11, 39], Operations: ['63-47=16', '55-16=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,15 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 67, 32, 5 ]
74
[ "3+32=35", "35/5=7", "67+7=74" ]
Current State: 74:[3, 67, 32, 5], Operations: [] Exploring Operation: 3+32=35, Resulting Numbers: [67, 5, 35] Generated Node #2: [67, 5, 35] from Operation: 3+32=35 Current State: 74:[67, 5, 35], Operations: ['3+32=35'] Exploring Operation: 35/5=7, Resulting Numbers: [67, 7] Generated Node #3: [67, 7] from Operation: 35/5=7 Current State: 74:[67, 7], Operations: ['3+32=35', '35/5=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[3, 67, 32, 5], Operations: [] Exploring Operation: 32+5=37, Resulting Numbers: [3, 67, 37] Generated Node #0,0: 74:[3, 67, 37] Operation: 32+5=37 Exploring Operation: 67+5=72, Resulting Numbers: [3, 32, 72] Generated Node #0,1: 74:[3, 32, 72] Operation: 67+5=72 Exploring Operation: 3+67=70, Resulting Numbers: [32, 5, 70] Generated Node #0,2: 74:[32, 5, 70] Operation: 3+67=70 Exploring Operation: 67-32=35, Resulting Numbers: [3, 5, 35] Generated Node #0,3: 74:[3, 5, 35] Operation: 67-32=35 Exploring Operation: 3+32=35, Resulting Numbers: [67, 5, 35] Generated Node #0,4: 74:[67, 5, 35] Operation: 3+32=35 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[3, 5, 35], Operations: ['67-32=35'] Exploring Operation: 5+35=40, Resulting Numbers: [3, 40] Generated Node #0,3,0: 74:[3, 40] Operation: 5+35=40 Exploring Operation: 3+35=38, Resulting Numbers: [5, 38] Generated Node #0,3,1: 74:[5, 38] Operation: 3+35=38 Exploring Operation: 35/5=7, Resulting Numbers: [3, 7] Generated Node #0,3,2: 74:[3, 7] Operation: 35/5=7 Exploring Operation: 5-3=2, Resulting Numbers: [35, 2] Generated Node #0,3,3: 74:[35, 2] Operation: 5-3=2 Exploring Operation: 3+5=8, Resulting Numbers: [35, 8] Generated Node #0,3,4: 74:[35, 8] Operation: 3+5=8 Moving to Node #0,3,3 Current State: 74:[35, 2], Operations: ['67-32=35', '5-3=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[5, 38], Operations: ['67-32=35', '3+35=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[3, 40], Operations: ['67-32=35', '5+35=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,74 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[3, 7], Operations: ['67-32=35', '35/5=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[35, 8], Operations: ['67-32=35', '3+5=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,74 unequal: No Solution No 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: 74:[3, 67, 37], Operations: ['32+5=37'] Exploring Operation: 37-3=34, Resulting Numbers: [67, 34] Generated Node #0,0,0: 74:[67, 34] Operation: 37-3=34 Exploring Operation: 3+37=40, Resulting Numbers: [67, 40] Generated Node #0,0,1: 74:[67, 40] Operation: 3+37=40 Exploring Operation: 3+67=70, Resulting Numbers: [37, 70] Generated Node #0,0,2: 74:[37, 70] Operation: 3+67=70 Exploring Operation: 67-37=30, Resulting Numbers: [3, 30] Generated Node #0,0,3: 74:[3, 30] Operation: 67-37=30 Exploring Operation: 67-3=64, Resulting Numbers: [37, 64] Generated Node #0,0,4: 74:[37, 64] Operation: 67-3=64 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[37, 70], Operations: ['32+5=37', '3+67=70'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 37+70=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 37*70=2590, Resulting Numbers: [2590] 2590,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[3, 30], Operations: ['32+5=37', '67-37=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[67, 34], Operations: ['32+5=37', '37-3=34'] Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,74 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[67, 40], Operations: ['32+5=37', '3+37=40'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 74:[37, 64], Operations: ['32+5=37', '67-3=64'] Exploring Operation: 37+64=101, Resulting Numbers: [101] 101,74 unequal: No Solution Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 37*64=2368, Resulting Numbers: [2368] 2368,74 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: 74:[3, 32, 72], Operations: ['67+5=72'] Exploring Operation: 3+32=35, Resulting Numbers: [72, 35] Generated Node #0,1,0: 74:[72, 35] Operation: 3+32=35 Exploring Operation: 32-3=29, Resulting Numbers: [72, 29] Generated Node #0,1,1: 74:[72, 29] Operation: 32-3=29 Exploring Operation: 72-3=69, Resulting Numbers: [32, 69] Generated Node #0,1,2: 74:[32, 69] Operation: 72-3=69 Exploring Operation: 72-32=40, Resulting Numbers: [3, 40] Generated Node #0,1,3: 74:[3, 40] Operation: 72-32=40 Exploring Operation: 3+72=75, Resulting Numbers: [32, 75] Generated Node #0,1,4: 74:[32, 75] Operation: 3+72=75 Moving to Node #0,1,0 Current State: 74:[72, 35], Operations: ['67+5=72', '3+32=35'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[3, 40], Operations: ['67+5=72', '72-32=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,74 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[32, 75], Operations: ['67+5=72', '3+72=75'] Exploring Operation: 32+75=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 32*75=2400, Resulting Numbers: [2400] 2400,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[72, 29], Operations: ['67+5=72', '32-3=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,74 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[32, 69], Operations: ['67+5=72', '72-3=69'] Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,74 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,74 unequal: No Solution No 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: 74:[32, 5, 70], Operations: ['3+67=70'] Exploring Operation: 32+5=37, Resulting Numbers: [70, 37] Generated Node #0,2,0: 74:[70, 37] Operation: 32+5=37 Exploring Operation: 70-32=38, Resulting Numbers: [5, 38] Generated Node #0,2,1: 74:[5, 38] Operation: 70-32=38 Exploring Operation: 32-5=27, Resulting Numbers: [70, 27] Generated Node #0,2,2: 74:[70, 27] Operation: 32-5=27 Exploring Operation: 70-5=65, Resulting Numbers: [32, 65] Generated Node #0,2,3: 74:[32, 65] Operation: 70-5=65 Exploring Operation: 5+70=75, Resulting Numbers: [32, 75] Generated Node #0,2,4: 74:[32, 75] Operation: 5+70=75 Moving to Node #0,2,0 Current State: 74:[70, 37], Operations: ['3+67=70', '32+5=37'] Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,74 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[5, 38], Operations: ['3+67=70', '70-32=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[32, 75], Operations: ['3+67=70', '5+70=75'] Exploring Operation: 32+75=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 32*75=2400, Resulting Numbers: [2400] 2400,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[70, 27], Operations: ['3+67=70', '32-5=27'] Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 70*27=1890, Resulting Numbers: [1890] 1890,74 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[32, 65], Operations: ['3+67=70', '70-5=65'] Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,74 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,74 unequal: No Solution No 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: 74:[67, 5, 35], Operations: ['3+32=35'] Exploring Operation: 5+35=40, Resulting Numbers: [67, 40] Generated Node #0,4,0: 74:[67, 40] Operation: 5+35=40 Exploring Operation: 35/5=7, Resulting Numbers: [67, 7] Generated Node #0,4,1: 74:[67, 7] Operation: 35/5=7 Exploring Operation: 67-5=62, Resulting Numbers: [35, 62] Generated Node #0,4,2: 74:[35, 62] Operation: 67-5=62 Exploring Operation: 67-35=32, Resulting Numbers: [5, 32] Generated Node #0,4,3: 74:[5, 32] Operation: 67-35=32 Exploring Operation: 67+5=72, Resulting Numbers: [35, 72] Generated Node #0,4,4: 74:[35, 72] Operation: 67+5=72 Moving to Node #0,4,4 Current State: 74:[35, 72], Operations: ['3+32=35', '67+5=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[5, 32], Operations: ['3+32=35', '67-35=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[67, 40], Operations: ['3+32=35', '5+35=40'] Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,74 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[67, 7], Operations: ['3+32=35', '35/5=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[3, 67, 32, 5], Operations: [] Exploring Operation: 3+32=35, Resulting Numbers: [67, 5, 35] Generated Node #0,4: 74:[67, 5, 35] Operation: 3+32=35 Moving to Node #0,4 Current State: 74:[67, 5, 35], Operations: ['3+32=35'] Exploring Operation: 35/5=7, Resulting Numbers: [67, 7] Generated Node #0,4,1: 74:[67, 7] Operation: 35/5=7 Moving to Node #0,4,1 Current State: 74:[67, 7], Operations: ['3+32=35', '35/5=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.907986
hs_5
mult_heuristic
[ 5, 65, 8, 45 ]
14
[ "65+45=110", "110/5=22", "22-8=14" ]
Current State: 14:[5, 65, 8, 45], Operations: [] Exploring Operation: 65+45=110, Resulting Numbers: [5, 8, 110] Generated Node #2: [5, 8, 110] from Operation: 65+45=110 Current State: 14:[5, 8, 110], Operations: ['65+45=110'] Exploring Operation: 110/5=22, Resulting Numbers: [8, 22] Generated Node #3: [8, 22] from Operation: 110/5=22 Current State: 14:[8, 22], Operations: ['65+45=110', '110/5=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[5, 65, 8, 45], Operations: [] Exploring Operation: 65-8=57, Resulting Numbers: [5, 45, 57] Generated Node #0,0: 14:[5, 45, 57] Operation: 65-8=57 Exploring Operation: 65/5=13, Resulting Numbers: [8, 45, 13] Generated Node #0,1: 14:[8, 45, 13] Operation: 65/5=13 Exploring Operation: 45/5=9, Resulting Numbers: [65, 8, 9] Generated Node #0,2: 14:[65, 8, 9] Operation: 45/5=9 Exploring Operation: 45-8=37, Resulting Numbers: [5, 65, 37] Generated Node #0,3: 14:[5, 65, 37] Operation: 45-8=37 Exploring Operation: 65-45=20, Resulting Numbers: [5, 8, 20] Generated Node #0,4: 14:[5, 8, 20] Operation: 65-45=20 Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[5, 8, 20], Operations: ['65-45=20'] Exploring Operation: 20/5=4, Resulting Numbers: [8, 4] Generated Node #0,4,0: 14:[8, 4] Operation: 20/5=4 Exploring Operation: 20-8=12, Resulting Numbers: [5, 12] Generated Node #0,4,1: 14:[5, 12] Operation: 20-8=12 Exploring Operation: 8-5=3, Resulting Numbers: [20, 3] Generated Node #0,4,2: 14:[20, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [20, 13] Generated Node #0,4,3: 14:[20, 13] Operation: 5+8=13 Exploring Operation: 20-5=15, Resulting Numbers: [8, 15] Generated Node #0,4,4: 14:[8, 15] Operation: 20-5=15 Moving to Node #0,4,4 Current State: 14:[8, 15], Operations: ['65-45=20', '20-5=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,4,0 Current State: 14:[8, 4], Operations: ['65-45=20', '20/5=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,4,1 Current State: 14:[5, 12], Operations: ['65-45=20', '20-8=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,14 unequal: No Solution Moving to Node #0,4,2 Current State: 14:[20, 3], Operations: ['65-45=20', '8-5=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,14 unequal: No Solution Moving to Node #0,4,3 Current State: 14:[20, 13], Operations: ['65-45=20', '5+8=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[8, 45, 13], Operations: ['65/5=13'] Exploring Operation: 8+45=53, Resulting Numbers: [13, 53] Generated Node #0,1,0: 14:[13, 53] Operation: 8+45=53 Exploring Operation: 13-8=5, Resulting Numbers: [45, 5] Generated Node #0,1,1: 14:[45, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [45, 21] Generated Node #0,1,2: 14:[45, 21] Operation: 8+13=21 Exploring Operation: 45-8=37, Resulting Numbers: [13, 37] Generated Node #0,1,3: 14:[13, 37] Operation: 45-8=37 Exploring Operation: 45-13=32, Resulting Numbers: [8, 32] Generated Node #0,1,4: 14:[8, 32] Operation: 45-13=32 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 14:[8, 32], Operations: ['65/5=13', '45-13=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,14 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 14:[13, 37], Operations: ['65/5=13', '45-8=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[45, 5], Operations: ['65/5=13', '13-8=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,14 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,14 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[45, 21], Operations: ['65/5=13', '8+13=21'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[13, 53], Operations: ['65/5=13', '8+45=53'] Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,14 unequal: No Solution Exploring Operation: 13*53=689, Resulting Numbers: [689] 689,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[65, 8, 9], Operations: ['45/5=9'] Exploring Operation: 65-8=57, Resulting Numbers: [9, 57] Generated Node #0,2,0: 14:[9, 57] Operation: 65-8=57 Exploring Operation: 65+8=73, Resulting Numbers: [9, 73] Generated Node #0,2,1: 14:[9, 73] Operation: 65+8=73 Exploring Operation: 8+9=17, Resulting Numbers: [65, 17] Generated Node #0,2,2: 14:[65, 17] Operation: 8+9=17 Exploring Operation: 65-9=56, Resulting Numbers: [8, 56] Generated Node #0,2,3: 14:[8, 56] Operation: 65-9=56 Exploring Operation: 9-8=1, Resulting Numbers: [65, 1] Generated Node #0,2,4: 14:[65, 1] Operation: 9-8=1 Moving to Node #0,2,3 Current State: 14:[8, 56], Operations: ['45/5=9', '65-9=56'] Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,14 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[9, 57], Operations: ['45/5=9', '65-8=57'] Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,14 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,14 unequal: No Solution Moving to Node #0,2,4 Current State: 14:[65, 1], Operations: ['45/5=9', '9-8=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[65, 17], Operations: ['45/5=9', '8+9=17'] Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[9, 73], Operations: ['45/5=9', '65+8=73'] Exploring Operation: 9+73=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 9*73=657, Resulting Numbers: [657] 657,14 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[5, 45, 57], Operations: ['65-8=57'] Exploring Operation: 57-45=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 14:[5, 12] Operation: 57-45=12 Exploring Operation: 5+45=50, Resulting Numbers: [57, 50] Generated Node #0,0,1: 14:[57, 50] Operation: 5+45=50 Exploring Operation: 45-5=40, Resulting Numbers: [57, 40] Generated Node #0,0,2: 14:[57, 40] Operation: 45-5=40 Exploring Operation: 45/5=9, Resulting Numbers: [57, 9] Generated Node #0,0,3: 14:[57, 9] Operation: 45/5=9 Exploring Operation: 57-5=52, Resulting Numbers: [45, 52] Generated Node #0,0,4: 14:[45, 52] Operation: 57-5=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[5, 12], Operations: ['65-8=57', '57-45=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 14:[57, 9], Operations: ['65-8=57', '45/5=9'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,14 unequal: No Solution Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[57, 40], Operations: ['65-8=57', '45-5=40'] Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,14 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 14:[45, 52], Operations: ['65-8=57', '57-5=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,14 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[57, 50], Operations: ['65-8=57', '5+45=50'] Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,14 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[5, 65, 37], Operations: ['45-8=37'] Exploring Operation: 65/5=13, Resulting Numbers: [37, 13] Generated Node #0,3,0: 14:[37, 13] Operation: 65/5=13 Exploring Operation: 37-5=32, Resulting Numbers: [65, 32] Generated Node #0,3,1: 14:[65, 32] Operation: 37-5=32 Exploring Operation: 5+65=70, Resulting Numbers: [37, 70] Generated Node #0,3,2: 14:[37, 70] Operation: 5+65=70 Exploring Operation: 65-5=60, Resulting Numbers: [37, 60] Generated Node #0,3,3: 14:[37, 60] Operation: 65-5=60 Exploring Operation: 65-37=28, Resulting Numbers: [5, 28] Generated Node #0,3,4: 14:[5, 28] Operation: 65-37=28 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 14:[5, 28], Operations: ['45-8=37', '65-37=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 14:[37, 13], Operations: ['45-8=37', '65/5=13'] Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,14 unequal: No Solution Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[65, 32], Operations: ['45-8=37', '37-5=32'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,14 unequal: No Solution Exploring Operation: 65*32=2080, Resulting Numbers: [2080] 2080,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[37, 60], Operations: ['45-8=37', '65-5=60'] Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,14 unequal: No Solution Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,14 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 14:[37, 70], Operations: ['45-8=37', '5+65=70'] Exploring Operation: 37*70=2590, Resulting Numbers: [2590] 2590,14 unequal: No Solution Exploring Operation: 37+70=107, Resulting Numbers: [107] 107,14 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 28, 61, 51, 36 ]
32
[ "61+51=112", "112/28=4", "36-4=32" ]
Current State: 32:[28, 61, 51, 36], Operations: [] Exploring Operation: 61+51=112, Resulting Numbers: [28, 36, 112] Generated Node #2: [28, 36, 112] from Operation: 61+51=112 Current State: 32:[28, 36, 112], Operations: ['61+51=112'] Exploring Operation: 112/28=4, Resulting Numbers: [36, 4] Generated Node #3: [36, 4] from Operation: 112/28=4 Current State: 32:[36, 4], Operations: ['61+51=112', '112/28=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[28, 61, 51, 36], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [28, 51, 25] Generated Node #0,0: 32:[28, 51, 25] Operation: 61-36=25 Exploring Operation: 51-28=23, Resulting Numbers: [61, 36, 23] Generated Node #0,1: 32:[61, 36, 23] Operation: 51-28=23 Exploring Operation: 61-51=10, Resulting Numbers: [28, 36, 10] Generated Node #0,2: 32:[28, 36, 10] Operation: 61-51=10 Exploring Operation: 51-36=15, Resulting Numbers: [28, 61, 15] Generated Node #0,3: 32:[28, 61, 15] Operation: 51-36=15 Exploring Operation: 61-28=33, Resulting Numbers: [51, 36, 33] Generated Node #0,4: 32:[51, 36, 33] Operation: 61-28=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[28, 36, 10], Operations: ['61-51=10'] Exploring Operation: 28-10=18, Resulting Numbers: [36, 18] Generated Node #0,2,0: 32:[36, 18] Operation: 28-10=18 Exploring Operation: 36-10=26, Resulting Numbers: [28, 26] Generated Node #0,2,1: 32:[28, 26] Operation: 36-10=26 Exploring Operation: 36+10=46, Resulting Numbers: [28, 46] Generated Node #0,2,2: 32:[28, 46] Operation: 36+10=46 Exploring Operation: 28+10=38, Resulting Numbers: [36, 38] Generated Node #0,2,3: 32:[36, 38] Operation: 28+10=38 Exploring Operation: 36-28=8, Resulting Numbers: [10, 8] Generated Node #0,2,4: 32:[10, 8] Operation: 36-28=8 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 32:[10, 8], Operations: ['61-51=10', '36-28=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,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,2,0 Current State: 32:[36, 18], Operations: ['61-51=10', '28-10=18'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,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,2,1 Current State: 32:[28, 26], Operations: ['61-51=10', '36-10=26'] Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,32 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,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,2,3 Current State: 32:[36, 38], Operations: ['61-51=10', '28+10=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,32 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,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,2,2 Current State: 32:[28, 46], Operations: ['61-51=10', '36+10=46'] Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,32 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,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,4 Current State: 32:[51, 36, 33], Operations: ['61-28=33'] Exploring Operation: 51+33=84, Resulting Numbers: [36, 84] Generated Node #0,4,0: 32:[36, 84] Operation: 51+33=84 Exploring Operation: 51-36=15, Resulting Numbers: [33, 15] Generated Node #0,4,1: 32:[33, 15] Operation: 51-36=15 Exploring Operation: 51-33=18, Resulting Numbers: [36, 18] Generated Node #0,4,2: 32:[36, 18] Operation: 51-33=18 Exploring Operation: 36-33=3, Resulting Numbers: [51, 3] Generated Node #0,4,3: 32:[51, 3] Operation: 36-33=3 Exploring Operation: 51+36=87, Resulting Numbers: [33, 87] Generated Node #0,4,4: 32:[33, 87] Operation: 51+36=87 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 32:[33, 15], Operations: ['61-28=33', '51-36=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,32 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,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,4,2 Current State: 32:[36, 18], Operations: ['61-28=33', '51-33=18'] Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,32 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,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,4,3 Current State: 32:[51, 3], Operations: ['61-28=33', '36-33=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,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,4,0 Current State: 32:[36, 84], Operations: ['61-28=33', '51+33=84'] Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,32 unequal: No Solution Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,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,4,4 Current State: 32:[33, 87], Operations: ['61-28=33', '51+36=87'] Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,32 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,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:[28, 51, 25], Operations: ['61-36=25'] Exploring Operation: 51-28=23, Resulting Numbers: [25, 23] Generated Node #0,0,0: 32:[25, 23] Operation: 51-28=23 Exploring Operation: 51+25=76, Resulting Numbers: [28, 76] Generated Node #0,0,1: 32:[28, 76] Operation: 51+25=76 Exploring Operation: 28+25=53, Resulting Numbers: [51, 53] Generated Node #0,0,2: 32:[51, 53] Operation: 28+25=53 Exploring Operation: 51-25=26, Resulting Numbers: [28, 26] Generated Node #0,0,3: 32:[28, 26] Operation: 51-25=26 Exploring Operation: 28-25=3, Resulting Numbers: [51, 3] Generated Node #0,0,4: 32:[51, 3] Operation: 28-25=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[28, 26], Operations: ['61-36=25', '51-25=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,32 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[25, 23], Operations: ['61-36=25', '51-28=23'] Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,32 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 32:[51, 3], Operations: ['61-36=25', '28-25=3'] Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,32 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[51, 53], Operations: ['61-36=25', '28+25=53'] Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,32 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[28, 76], Operations: ['61-36=25', '51+25=76'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,32 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,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,3 Current State: 32:[28, 61, 15], Operations: ['51-36=15'] Exploring Operation: 28-15=13, Resulting Numbers: [61, 13] Generated Node #0,3,0: 32:[61, 13] Operation: 28-15=13 Exploring Operation: 61-28=33, Resulting Numbers: [15, 33] Generated Node #0,3,1: 32:[15, 33] Operation: 61-28=33 Exploring Operation: 28+15=43, Resulting Numbers: [61, 43] Generated Node #0,3,2: 32:[61, 43] Operation: 28+15=43 Exploring Operation: 61-15=46, Resulting Numbers: [28, 46] Generated Node #0,3,3: 32:[28, 46] Operation: 61-15=46 Exploring Operation: 61+15=76, Resulting Numbers: [28, 76] Generated Node #0,3,4: 32:[28, 76] Operation: 61+15=76 Moving to Node #0,3,1 Current State: 32:[15, 33], Operations: ['51-36=15', '61-28=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[28, 46], Operations: ['51-36=15', '61-15=46'] Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,32 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[61, 13], Operations: ['51-36=15', '28-15=13'] Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,32 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[61, 43], Operations: ['51-36=15', '28+15=43'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,32 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[28, 76], Operations: ['51-36=15', '61+15=76'] Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,32 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[61, 36, 23], Operations: ['51-28=23'] Exploring Operation: 61-23=38, Resulting Numbers: [36, 38] Generated Node #0,1,0: 32:[36, 38] Operation: 61-23=38 Exploring Operation: 61-36=25, Resulting Numbers: [23, 25] Generated Node #0,1,1: 32:[23, 25] Operation: 61-36=25 Exploring Operation: 36-23=13, Resulting Numbers: [61, 13] Generated Node #0,1,2: 32:[61, 13] Operation: 36-23=13 Exploring Operation: 61+23=84, Resulting Numbers: [36, 84] Generated Node #0,1,3: 32:[36, 84] Operation: 61+23=84 Exploring Operation: 36+23=59, Resulting Numbers: [61, 59] Generated Node #0,1,4: 32:[61, 59] Operation: 36+23=59 Moving to Node #0,1,0 Current State: 32:[36, 38], Operations: ['51-28=23', '61-23=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,32 unequal: No Solution Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,32 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[23, 25], Operations: ['51-28=23', '61-36=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[61, 13], Operations: ['51-28=23', '36-23=13'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,32 unequal: No Solution Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[36, 84], Operations: ['51-28=23', '61+23=84'] Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,32 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[61, 59], Operations: ['51-28=23', '36+23=59'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 61*59=3599, Resulting Numbers: [3599] 3599,32 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
[ 76, 24, 2, 84 ]
58
[ "76+24=100", "84/2=42", "100-42=58" ]
Current State: 58:[76, 24, 2, 84], Operations: [] Exploring Operation: 76+24=100, Resulting Numbers: [2, 84, 100] Generated Node #2: [2, 84, 100] from Operation: 76+24=100 Current State: 58:[2, 84, 100], Operations: ['76+24=100'] Exploring Operation: 84/2=42, Resulting Numbers: [100, 42] Generated Node #3: [100, 42] from Operation: 84/2=42 Current State: 58:[100, 42], Operations: ['76+24=100', '84/2=42'] Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[76, 24, 2, 84], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [76, 2, 60] Generated Node #0,0: 58:[76, 2, 60] Operation: 84-24=60 Exploring Operation: 84-76=8, Resulting Numbers: [24, 2, 8] Generated Node #0,1: 58:[24, 2, 8] Operation: 84-76=8 Exploring Operation: 84/2=42, Resulting Numbers: [76, 24, 42] Generated Node #0,2: 58:[76, 24, 42] Operation: 84/2=42 Exploring Operation: 76-24=52, Resulting Numbers: [2, 84, 52] Generated Node #0,3: 58:[2, 84, 52] Operation: 76-24=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[24, 2, 8], Operations: ['84-76=8'] Exploring Operation: 24+2=26, Resulting Numbers: [8, 26] Generated Node #0,1,0: 58:[8, 26] Operation: 24+2=26 Exploring Operation: 24/8=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 58:[2, 3] Operation: 24/8=3 Exploring Operation: 8/2=4, Resulting Numbers: [24, 4] Generated Node #0,1,2: 58:[24, 4] Operation: 8/2=4 Exploring Operation: 24+8=32, Resulting Numbers: [2, 32] Generated Node #0,1,3: 58:[2, 32] Operation: 24+8=32 Moving to Node #0,1,1 Current State: 58:[2, 3], Operations: ['84-76=8', '24/8=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[2, 32], Operations: ['84-76=8', '24+8=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,58 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[24, 4], Operations: ['84-76=8', '8/2=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,58 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[8, 26], Operations: ['84-76=8', '24+2=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,58 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,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:[76, 2, 60], Operations: ['84-24=60'] Exploring Operation: 76-2=74, Resulting Numbers: [60, 74] Generated Node #0,0,0: 58:[60, 74] Operation: 76-2=74 Exploring Operation: 76/2=38, Resulting Numbers: [60, 38] Generated Node #0,0,1: 58:[60, 38] Operation: 76/2=38 Exploring Operation: 76-60=16, Resulting Numbers: [2, 16] Generated Node #0,0,2: 58:[2, 16] Operation: 76-60=16 Exploring Operation: 60-2=58, Resulting Numbers: [76, 58] Generated Node #0,0,3: 58:[76, 58] Operation: 60-2=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[60, 38], Operations: ['84-24=60', '76/2=38'] Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,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,0,2 Current State: 58:[2, 16], Operations: ['84-24=60', '76-60=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,58 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,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,0,0 Current State: 58:[60, 74], Operations: ['84-24=60', '76-2=74'] Exploring Operation: 60+74=134, Resulting Numbers: [134] 134,58 unequal: No Solution Exploring Operation: 60*74=4440, Resulting Numbers: [4440] 4440,58 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,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,0,3 Current State: 58:[76, 58], Operations: ['84-24=60', '60-2=58'] Exploring Operation: 76*58=4408, Resulting Numbers: [4408] 4408,58 unequal: No Solution Exploring Operation: 76+58=134, Resulting Numbers: [134] 134,58 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[2, 84, 52], Operations: ['76-24=52'] Exploring Operation: 84-52=32, Resulting Numbers: [2, 32] Generated Node #0,3,0: 58:[2, 32] Operation: 84-52=32 Exploring Operation: 84-2=82, Resulting Numbers: [52, 82] Generated Node #0,3,1: 58:[52, 82] Operation: 84-2=82 Exploring Operation: 52/2=26, Resulting Numbers: [84, 26] Generated Node #0,3,2: 58:[84, 26] Operation: 52/2=26 Exploring Operation: 84/2=42, Resulting Numbers: [52, 42] Generated Node #0,3,3: 58:[52, 42] Operation: 84/2=42 Moving to Node #0,3,0 Current State: 58:[2, 32], Operations: ['76-24=52', '84-52=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[52, 42], Operations: ['76-24=52', '84/2=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[84, 26], Operations: ['76-24=52', '52/2=26'] Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,58 unequal: No Solution Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,58 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[76, 24, 2, 84], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [2, 84, 52] Generated Node #0,3: 58:[2, 84, 52] Operation: 76-24=52 Moving to Node #0,3 Current State: 58:[2, 84, 52], Operations: ['76-24=52'] Exploring Operation: 52/2=26, Resulting Numbers: [84, 26] Generated Node #0,3,2: 58:[84, 26] Operation: 52/2=26 Moving to Node #0,3,2 Current State: 58:[84, 26], Operations: ['76-24=52', '52/2=26'] Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_4
sum_heuristic
[ 57, 47, 3, 4 ]
11
[ "57-47=10", "4-3=1", "10+1=11" ]
Current State: 11:[57, 47, 3, 4], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [3, 4, 10] Generated Node #2: [3, 4, 10] from Operation: 57-47=10 Current State: 11:[3, 4, 10], Operations: ['57-47=10'] Exploring Operation: 4-3=1, Resulting Numbers: [10, 1] Generated Node #3: [10, 1] from Operation: 4-3=1 Current State: 11:[10, 1], Operations: ['57-47=10', '4-3=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[57, 47, 3, 4], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [3, 4, 10] Generated Node #0,0: 11:[3, 4, 10] Operation: 57-47=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[3, 4, 10], Operations: ['57-47=10'] Exploring Operation: 3*4=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 11:[10, 12] Operation: 3*4=12 Moving to Node #0,0,0 Current State: 11:[10, 12], Operations: ['57-47=10', '3*4=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,11 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
[ 66, 47, 55, 46 ]
10
[ "66-47=19", "55-46=9", "19-9=10" ]
Current State: 10:[66, 47, 55, 46], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [55, 46, 19] Generated Node #2: [55, 46, 19] from Operation: 66-47=19 Current State: 10:[55, 46, 19], Operations: ['66-47=19'] Exploring Operation: 55-46=9, Resulting Numbers: [19, 9] Generated Node #3: [19, 9] from Operation: 55-46=9 Current State: 10:[19, 9], Operations: ['66-47=19', '55-46=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[66, 47, 55, 46], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [66, 46, 8] Generated Node #0,0: 10:[66, 46, 8] Operation: 55-47=8 Exploring Operation: 66-46=20, Resulting Numbers: [47, 55, 20] Generated Node #0,1: 10:[47, 55, 20] Operation: 66-46=20 Exploring Operation: 66-47=19, Resulting Numbers: [55, 46, 19] Generated Node #0,2: 10:[55, 46, 19] Operation: 66-47=19 Exploring Operation: 66-55=11, Resulting Numbers: [47, 46, 11] Generated Node #0,3: 10:[47, 46, 11] Operation: 66-55=11 Moving to Node #0,3 Current State: 10:[47, 46, 11], Operations: ['66-55=11'] Exploring Operation: 47+46=93, Resulting Numbers: [11, 93] Generated Node #0,3,0: 10:[11, 93] Operation: 47+46=93 Exploring Operation: 47-11=36, Resulting Numbers: [46, 36] Generated Node #0,3,1: 10:[46, 36] Operation: 47-11=36 Exploring Operation: 47-46=1, Resulting Numbers: [11, 1] Generated Node #0,3,2: 10:[11, 1] Operation: 47-46=1 Exploring Operation: 46-11=35, Resulting Numbers: [47, 35] Generated Node #0,3,3: 10:[47, 35] Operation: 46-11=35 Moving to Node #0,2 Current State: 10:[55, 46, 19], Operations: ['66-47=19'] Exploring Operation: 55-46=9, Resulting Numbers: [19, 9] Generated Node #0,2,0: 10:[19, 9] Operation: 55-46=9 Exploring Operation: 55-19=36, Resulting Numbers: [46, 36] Generated Node #0,2,1: 10:[46, 36] Operation: 55-19=36 Exploring Operation: 46-19=27, Resulting Numbers: [55, 27] Generated Node #0,2,2: 10:[55, 27] Operation: 46-19=27 Exploring Operation: 55+46=101, Resulting Numbers: [19, 101] Generated Node #0,2,3: 10:[19, 101] Operation: 55+46=101 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[19, 9], Operations: ['66-47=19', '55-46=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,10 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[66, 47, 55, 46], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [55, 46, 19] Generated Node #0,2: 10:[55, 46, 19] Operation: 66-47=19 Moving to Node #0,2 Current State: 10:[55, 46, 19], Operations: ['66-47=19'] Exploring Operation: 55-46=9, Resulting Numbers: [19, 9] Generated Node #0,2,0: 10:[19, 9] Operation: 55-46=9 Moving to Node #0,2,0 Current State: 10:[19, 9], Operations: ['66-47=19', '55-46=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 49, 51, 7, 64 ]
25
[ "51-49=2", "64/2=32", "32-7=25" ]
Current State: 25:[49, 51, 7, 64], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [7, 64, 2] Generated Node #2: [7, 64, 2] from Operation: 51-49=2 Current State: 25:[7, 64, 2], Operations: ['51-49=2'] Exploring Operation: 64/2=32, Resulting Numbers: [7, 32] Generated Node #3: [7, 32] from Operation: 64/2=32 Current State: 25:[7, 32], Operations: ['51-49=2', '64/2=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[49, 51, 7, 64], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [49, 7, 13] Generated Node #0,0: 25:[49, 7, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[49, 7, 13], Operations: ['64-51=13'] Exploring Operation: 49/7=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 25:[13, 7] Operation: 49/7=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[13, 7], Operations: ['64-51=13', '49/7=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 18, 10, 45, 9 ]
82
[ "18+10=28", "45+9=54", "28+54=82" ]
Current State: 82:[18, 10, 45, 9], Operations: [] Exploring Operation: 18+10=28, Resulting Numbers: [45, 9, 28] Generated Node #2: [45, 9, 28] from Operation: 18+10=28 Current State: 82:[45, 9, 28], Operations: ['18+10=28'] Exploring Operation: 45+9=54, Resulting Numbers: [28, 54] Generated Node #3: [28, 54] from Operation: 45+9=54 Current State: 82:[28, 54], Operations: ['18+10=28', '45+9=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[18, 10, 45, 9], Operations: [] Exploring Operation: 18+10=28, Resulting Numbers: [45, 9, 28] Generated Node #0,0: 82:[45, 9, 28] Operation: 18+10=28 Exploring Operation: 18-9=9, Resulting Numbers: [10, 45, 9] Generated Node #0,1: 82:[10, 45, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [10, 45, 2] Generated Node #0,2: 82:[10, 45, 2] Operation: 18/9=2 Exploring Operation: 18-10=8, Resulting Numbers: [45, 9, 8] Generated Node #0,3: 82:[45, 9, 8] Operation: 18-10=8 Exploring Operation: 10-9=1, Resulting Numbers: [18, 45, 1] Generated Node #0,4: 82:[18, 45, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[10, 45, 2], Operations: ['18/9=2'] Exploring Operation: 45-2=43, Resulting Numbers: [10, 43] Generated Node #0,2,0: 82:[10, 43] Operation: 45-2=43 Exploring Operation: 10/2=5, Resulting Numbers: [45, 5] Generated Node #0,2,1: 82:[45, 5] Operation: 10/2=5 Exploring Operation: 10+45=55, Resulting Numbers: [2, 55] Generated Node #0,2,2: 82:[2, 55] Operation: 10+45=55 Exploring Operation: 10-2=8, Resulting Numbers: [45, 8] Generated Node #0,2,3: 82:[45, 8] Operation: 10-2=8 Exploring Operation: 45-10=35, Resulting Numbers: [2, 35] Generated Node #0,2,4: 82:[2, 35] Operation: 45-10=35 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 82:[2, 35], Operations: ['18/9=2', '45-10=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,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,2,1 Current State: 82:[45, 5], Operations: ['18/9=2', '10/2=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,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,2,0 Current State: 82:[10, 43], Operations: ['18/9=2', '45-2=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,82 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,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,2,3 Current State: 82:[45, 8], Operations: ['18/9=2', '10-2=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,82 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,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,2,2 Current State: 82:[2, 55], Operations: ['18/9=2', '10+45=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,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,3 Current State: 82:[45, 9, 8], Operations: ['18-10=8'] Exploring Operation: 9-8=1, Resulting Numbers: [45, 1] Generated Node #0,3,0: 82:[45, 1] Operation: 9-8=1 Exploring Operation: 45/9=5, Resulting Numbers: [8, 5] Generated Node #0,3,1: 82:[8, 5] Operation: 45/9=5 Exploring Operation: 9*8=72, Resulting Numbers: [45, 72] Generated Node #0,3,2: 82:[45, 72] Operation: 9*8=72 Exploring Operation: 45-9=36, Resulting Numbers: [8, 36] Generated Node #0,3,3: 82:[8, 36] Operation: 45-9=36 Exploring Operation: 45-8=37, Resulting Numbers: [9, 37] Generated Node #0,3,4: 82:[9, 37] Operation: 45-8=37 Moving to Node #0,3,0 Current State: 82:[45, 1], Operations: ['18-10=8', '9-8=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[8, 5], Operations: ['18-10=8', '45/9=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[8, 36], Operations: ['18-10=8', '45-9=36'] Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,82 unequal: No Solution Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[9, 37], Operations: ['18-10=8', '45-8=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[45, 72], Operations: ['18-10=8', '9*8=72'] Exploring Operation: 45+72=117, Resulting Numbers: [117] 117,82 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 45*72=3240, Resulting Numbers: [3240] 3240,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 Current State: 82:[10, 45, 9], Operations: ['18-9=9'] Exploring Operation: 45/9=5, Resulting Numbers: [10, 5] Generated Node #0,1,0: 82:[10, 5] Operation: 45/9=5 Exploring Operation: 45-10=35, Resulting Numbers: [9, 35] Generated Node #0,1,1: 82:[9, 35] Operation: 45-10=35 Exploring Operation: 45-9=36, Resulting Numbers: [10, 36] Generated Node #0,1,2: 82:[10, 36] Operation: 45-9=36 Exploring Operation: 10*9=90, Resulting Numbers: [45, 90] Generated Node #0,1,3: 82:[45, 90] Operation: 10*9=90 Exploring Operation: 10-9=1, Resulting Numbers: [45, 1] Generated Node #0,1,4: 82:[45, 1] Operation: 10-9=1 Moving to Node #0,1,4 Current State: 82:[45, 1], Operations: ['18-9=9', '10-9=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[10, 5], Operations: ['18-9=9', '45/9=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[45, 90], Operations: ['18-9=9', '10*9=90'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 45+90=135, Resulting Numbers: [135] 135,82 unequal: No Solution Exploring Operation: 45*90=4050, Resulting Numbers: [4050] 4050,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[9, 35], Operations: ['18-9=9', '45-10=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,82 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[10, 36], Operations: ['18-9=9', '45-9=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,82 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 10+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,4 Current State: 82:[18, 45, 1], Operations: ['10-9=1'] Exploring Operation: 18*1=18, Resulting Numbers: [45, 18] Generated Node #0,4,0: 82:[45, 18] Operation: 18*1=18 Exploring Operation: 18+45=63, Resulting Numbers: [1, 63] Generated Node #0,4,1: 82:[1, 63] Operation: 18+45=63 Exploring Operation: 45-1=44, Resulting Numbers: [18, 44] Generated Node #0,4,2: 82:[18, 44] Operation: 45-1=44 Exploring Operation: 45-18=27, Resulting Numbers: [1, 27] Generated Node #0,4,3: 82:[1, 27] Operation: 45-18=27 Exploring Operation: 18-1=17, Resulting Numbers: [45, 17] Generated Node #0,4,4: 82:[45, 17] Operation: 18-1=17 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 82:[1, 27], Operations: ['10-9=1', '45-18=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,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,4,2 Current State: 82:[18, 44], Operations: ['10-9=1', '45-1=44'] Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,82 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,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,4,4 Current State: 82:[45, 17], Operations: ['10-9=1', '18-1=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,82 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,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,4,0 Current State: 82:[45, 18], Operations: ['10-9=1', '18*1=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,82 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,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,4,1 Current State: 82:[1, 63], Operations: ['10-9=1', '18+45=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,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:[45, 9, 28], Operations: ['18+10=28'] Exploring Operation: 28-9=19, Resulting Numbers: [45, 19] Generated Node #0,0,0: 82:[45, 19] Operation: 28-9=19 Exploring Operation: 45/9=5, Resulting Numbers: [28, 5] Generated Node #0,0,1: 82:[28, 5] Operation: 45/9=5 Exploring Operation: 9+28=37, Resulting Numbers: [45, 37] Generated Node #0,0,2: 82:[45, 37] Operation: 9+28=37 Exploring Operation: 45-9=36, Resulting Numbers: [28, 36] Generated Node #0,0,3: 82:[28, 36] Operation: 45-9=36 Exploring Operation: 45+28=73, Resulting Numbers: [9, 73] Generated Node #0,0,4: 82:[9, 73] Operation: 45+28=73 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[45, 37], Operations: ['18+10=28', '9+28=37'] Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[18, 10, 45, 9], Operations: [] Exploring Operation: 18+10=28, Resulting Numbers: [45, 9, 28] Generated Node #0,0: 82:[45, 9, 28] Operation: 18+10=28 Moving to Node #0,0 Current State: 82:[45, 9, 28], Operations: ['18+10=28'] Exploring Operation: 9+28=37, Resulting Numbers: [45, 37] Generated Node #0,0,2: 82:[45, 37] Operation: 9+28=37 Moving to Node #0,0,2 Current State: 82:[45, 37], Operations: ['18+10=28', '9+28=37'] Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.911458
hs_5
sum_heuristic
[ 73, 65, 75, 20 ]
66
[ "65+75=140", "140/20=7", "73-7=66" ]
Current State: 66:[73, 65, 75, 20], Operations: [] Exploring Operation: 65+75=140, Resulting Numbers: [73, 20, 140] Generated Node #2: [73, 20, 140] from Operation: 65+75=140 Current State: 66:[73, 20, 140], Operations: ['65+75=140'] Exploring Operation: 140/20=7, Resulting Numbers: [73, 7] Generated Node #3: [73, 7] from Operation: 140/20=7 Current State: 66:[73, 7], Operations: ['65+75=140', '140/20=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[73, 65, 75, 20], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [65, 20, 2] Generated Node #0,0: 66:[65, 20, 2] Operation: 75-73=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[65, 20, 2], Operations: ['75-73=2'] Exploring Operation: 20+2=22, Resulting Numbers: [65, 22] Generated Node #0,0,0: 66:[65, 22] Operation: 20+2=22 Moving to Node #0,0,0 Current State: 66:[65, 22], Operations: ['75-73=2', '20+2=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,66 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
[ 78, 3, 33, 67 ]
46
[ "78+67=145", "3*33=99", "145-99=46" ]
Current State: 46:[78, 3, 33, 67], Operations: [] Exploring Operation: 78+67=145, Resulting Numbers: [3, 33, 145] Generated Node #2: [3, 33, 145] from Operation: 78+67=145 Current State: 46:[3, 33, 145], Operations: ['78+67=145'] Exploring Operation: 3*33=99, Resulting Numbers: [145, 99] Generated Node #3: [145, 99] from Operation: 3*33=99 Current State: 46:[145, 99], Operations: ['78+67=145', '3*33=99'] Exploring Operation: 145-99=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[78, 3, 33, 67], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [3, 67, 45] Generated Node #0,0: 46:[3, 67, 45] Operation: 78-33=45 Exploring Operation: 78-67=11, Resulting Numbers: [3, 33, 11] Generated Node #0,1: 46:[3, 33, 11] Operation: 78-67=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[3, 33, 11], Operations: ['78-67=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 46:[3, 3] Operation: 33/11=3 Exploring Operation: 33-11=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 46:[3, 22] Operation: 33-11=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[3, 3], Operations: ['78-67=11', '33/11=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 46:[3, 22], Operations: ['78-67=11', '33-11=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[3, 67, 45], Operations: ['78-33=45'] Exploring Operation: 67-3=64, Resulting Numbers: [45, 64] Generated Node #0,0,0: 46:[45, 64] Operation: 67-3=64 Exploring Operation: 67-45=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 46:[3, 22] Operation: 67-45=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[3, 22], Operations: ['78-33=45', '67-45=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[45, 64], Operations: ['78-33=45', '67-3=64'] Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,46 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 35, 54, 30, 59 ]
10
[ "54-35=19", "59-30=29", "29-19=10" ]
Current State: 10:[35, 54, 30, 59], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [30, 59, 19] Generated Node #2: [30, 59, 19] from Operation: 54-35=19 Current State: 10:[30, 59, 19], Operations: ['54-35=19'] Exploring Operation: 59-30=29, Resulting Numbers: [19, 29] Generated Node #3: [19, 29] from Operation: 59-30=29 Current State: 10:[19, 29], Operations: ['54-35=19', '59-30=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[35, 54, 30, 59], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [54, 30, 24] Generated Node #0,0: 10:[54, 30, 24] Operation: 59-35=24 Exploring Operation: 54-35=19, Resulting Numbers: [30, 59, 19] Generated Node #0,1: 10:[30, 59, 19] Operation: 54-35=19 Exploring Operation: 59-54=5, Resulting Numbers: [35, 30, 5] Generated Node #0,2: 10:[35, 30, 5] Operation: 59-54=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[35, 30, 5], Operations: ['59-54=5'] Exploring Operation: 30/5=6, Resulting Numbers: [35, 6] Generated Node #0,2,0: 10:[35, 6] Operation: 30/5=6 Exploring Operation: 35-30=5, Resulting Numbers: [5, 5] Generated Node #0,2,1: 10:[5, 5] Operation: 35-30=5 Exploring Operation: 35/5=7, Resulting Numbers: [30, 7] Generated Node #0,2,2: 10:[30, 7] Operation: 35/5=7 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[5, 5], Operations: ['59-54=5', '35-30=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[35, 54, 30, 59], Operations: [] Exploring Operation: 59-54=5, Resulting Numbers: [35, 30, 5] Generated Node #0,2: 10:[35, 30, 5] Operation: 59-54=5 Moving to Node #0,2 Current State: 10:[35, 30, 5], Operations: ['59-54=5'] Exploring Operation: 35-30=5, Resulting Numbers: [5, 5] Generated Node #0,2,1: 10:[5, 5] Operation: 35-30=5 Moving to Node #0,2,1 Current State: 10:[5, 5], Operations: ['59-54=5', '35-30=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 27, 17, 19, 23 ]
15
[ "27+19=46", "46/23=2", "17-2=15" ]
Current State: 15:[27, 17, 19, 23], Operations: [] Exploring Operation: 27+19=46, Resulting Numbers: [17, 23, 46] Generated Node #2: [17, 23, 46] from Operation: 27+19=46 Current State: 15:[17, 23, 46], Operations: ['27+19=46'] Exploring Operation: 46/23=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 46/23=2 Current State: 15:[17, 2], Operations: ['27+19=46', '46/23=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[27, 17, 19, 23], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [27, 17, 4] Generated Node #0,0: 15:[27, 17, 4] Operation: 23-19=4 Exploring Operation: 27-19=8, Resulting Numbers: [17, 23, 8] Generated Node #0,1: 15:[17, 23, 8] Operation: 27-19=8 Exploring Operation: 27-23=4, Resulting Numbers: [17, 19, 4] Generated Node #0,2: 15:[17, 19, 4] Operation: 27-23=4 Exploring Operation: 27-17=10, Resulting Numbers: [19, 23, 10] Generated Node #0,3: 15:[19, 23, 10] Operation: 27-17=10 Moving to Node #0,2 Current State: 15:[17, 19, 4], Operations: ['27-23=4'] Exploring Operation: 17-4=13, Resulting Numbers: [19, 13] Generated Node #0,2,0: 15:[19, 13] Operation: 17-4=13 Exploring Operation: 19-17=2, Resulting Numbers: [4, 2] Generated Node #0,2,1: 15:[4, 2] Operation: 19-17=2 Exploring Operation: 17+4=21, Resulting Numbers: [19, 21] Generated Node #0,2,2: 15:[19, 21] Operation: 17+4=21 Exploring Operation: 19-4=15, Resulting Numbers: [17, 15] Generated Node #0,2,3: 15:[17, 15] Operation: 19-4=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[4, 2], Operations: ['27-23=4', '19-17=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[17, 15], Operations: ['27-23=4', '19-4=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[19, 13], Operations: ['27-23=4', '17-4=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,15 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[19, 21], Operations: ['27-23=4', '17+4=21'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,15 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,15 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: 15:[17, 23, 8], Operations: ['27-19=8'] Exploring Operation: 17-8=9, Resulting Numbers: [23, 9] Generated Node #0,1,0: 15:[23, 9] Operation: 17-8=9 Exploring Operation: 23-17=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 15:[8, 6] Operation: 23-17=6 Exploring Operation: 23-8=15, Resulting Numbers: [17, 15] Generated Node #0,1,2: 15:[17, 15] Operation: 23-8=15 Exploring Operation: 17+8=25, Resulting Numbers: [23, 25] Generated Node #0,1,3: 15:[23, 25] Operation: 17+8=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[17, 15], Operations: ['27-19=8', '23-8=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,15 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[8, 6], Operations: ['27-19=8', '23-17=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[23, 9], Operations: ['27-19=8', '17-8=9'] Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,15 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[23, 25], Operations: ['27-19=8', '17+8=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,15 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[27, 17, 4], Operations: ['23-19=4'] Exploring Operation: 17-4=13, Resulting Numbers: [27, 13] Generated Node #0,0,0: 15:[27, 13] Operation: 17-4=13 Exploring Operation: 27+4=31, Resulting Numbers: [17, 31] Generated Node #0,0,1: 15:[17, 31] Operation: 27+4=31 Exploring Operation: 27-4=23, Resulting Numbers: [17, 23] Generated Node #0,0,2: 15:[17, 23] Operation: 27-4=23 Exploring Operation: 27-17=10, Resulting Numbers: [4, 10] Generated Node #0,0,3: 15:[4, 10] Operation: 27-17=10 Moving to Node #0,3 Current State: 15:[19, 23, 10], Operations: ['27-17=10'] Exploring Operation: 23-19=4, Resulting Numbers: [10, 4] Generated Node #0,3,0: 15:[10, 4] Operation: 23-19=4 Exploring Operation: 19-10=9, Resulting Numbers: [23, 9] Generated Node #0,3,1: 15:[23, 9] Operation: 19-10=9 Exploring Operation: 19+10=29, Resulting Numbers: [23, 29] Generated Node #0,3,2: 15:[23, 29] Operation: 19+10=29 Exploring Operation: 23-10=13, Resulting Numbers: [19, 13] Generated Node #0,3,3: 15:[19, 13] Operation: 23-10=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[10, 4], Operations: ['27-17=10', '23-19=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[19, 13], Operations: ['27-17=10', '23-10=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,15 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[23, 9], Operations: ['27-17=10', '19-10=9'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,15 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[23, 29], Operations: ['27-17=10', '19+10=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,15 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 15:[4, 10], Operations: ['23-19=4', '27-17=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[17, 23], Operations: ['23-19=4', '27-4=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[27, 13], Operations: ['23-19=4', '17-4=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[17, 31], Operations: ['23-19=4', '27+4=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,15 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 62, 5, 1, 57 ]
20
[ "62-1=61", "61-57=4", "5*4=20" ]
Current State: 20:[62, 5, 1, 57], Operations: [] Exploring Operation: 62-1=61, Resulting Numbers: [5, 57, 61] Generated Node #2: [5, 57, 61] from Operation: 62-1=61 Current State: 20:[5, 57, 61], Operations: ['62-1=61'] Exploring Operation: 61-57=4, Resulting Numbers: [5, 4] Generated Node #3: [5, 4] from Operation: 61-57=4 Current State: 20:[5, 4], Operations: ['62-1=61', '61-57=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[62, 5, 1, 57], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [5, 1, 5] Generated Node #0,0: 20:[5, 1, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[5, 1, 5], Operations: ['62-57=5'] Exploring Operation: 5*1=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 20:[5, 5] Operation: 5*1=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[5, 5], Operations: ['62-57=5', '5*1=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 80, 17, 80, 40 ]
99
[ "80+17=97", "80/40=2", "97+2=99" ]
Current State: 99:[80, 17, 80, 40], Operations: [] Exploring Operation: 80+17=97, Resulting Numbers: [40, 97] Generated Node #2: [40, 97] from Operation: 80+17=97 Current State: 99:[40, 97], Operations: ['80+17=97'] Exploring Operation: 80/40=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 80/40=2 Current State: 99:[97, 2], Operations: ['80+17=97', '80/40=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[80, 17, 80, 40], Operations: [] Exploring Operation: 80/80=1, Resulting Numbers: [17, 40, 1] Generated Node #0,0: 99:[17, 40, 1] Operation: 80/80=1 Exploring Operation: 80/40=2, Resulting Numbers: [17, 80, 2] Generated Node #0,1: 99:[17, 80, 2] Operation: 80/40=2 Exploring Operation: 80-80=0, Resulting Numbers: [17, 40, 0] Generated Node #0,2: 99:[17, 40, 0] Operation: 80-80=0 Exploring Operation: 80+17=97, Resulting Numbers: [80, 40, 97] Generated Node #0,3: 99:[80, 40, 97] Operation: 80+17=97 Exploring Operation: 80/40=2, Resulting Numbers: [80, 17, 2] Generated Node #0,4: 99:[80, 17, 2] Operation: 80/40=2 Moving to Node #0,0 Current State: 99:[17, 40, 1], Operations: ['80/80=1'] Exploring Operation: 17/1=17, Resulting Numbers: [40, 17] Generated Node #0,0,0: 99:[40, 17] Operation: 17/1=17 Exploring Operation: 17-1=16, Resulting Numbers: [40, 16] Generated Node #0,0,1: 99:[40, 16] Operation: 17-1=16 Exploring Operation: 40-17=23, Resulting Numbers: [1, 23] Generated Node #0,0,2: 99:[1, 23] Operation: 40-17=23 Exploring Operation: 17*1=17, Resulting Numbers: [40, 17] Generated Node #0,0,3: 99:[40, 17] Operation: 17*1=17 Exploring Operation: 40-1=39, Resulting Numbers: [17, 39] Generated Node #0,0,4: 99:[17, 39] Operation: 40-1=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[40, 16], Operations: ['80/80=1', '17-1=16'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[1, 23], Operations: ['80/80=1', '40-17=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 99:[17, 39], Operations: ['80/80=1', '40-1=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,99 unequal: No Solution Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[40, 17], Operations: ['80/80=1', '17/1=17'] Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,99 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[40, 17], Operations: ['80/80=1', '17*1=17'] Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,99 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 99:[17, 40, 0], Operations: ['80-80=0'] Exploring Operation: 40-17=23, Resulting Numbers: [0, 23] Generated Node #0,2,0: 99:[0, 23] Operation: 40-17=23 Exploring Operation: 40*0=0, Resulting Numbers: [17, 0] Generated Node #0,2,1: 99:[17, 0] Operation: 40*0=0 Exploring Operation: 17-0=17, Resulting Numbers: [40, 17] Generated Node #0,2,2: 99:[40, 17] Operation: 17-0=17 Exploring Operation: 17*0=0, Resulting Numbers: [40, 0] Generated Node #0,2,3: 99:[40, 0] Operation: 17*0=0 Exploring Operation: 17+0=17, Resulting Numbers: [40, 17] Generated Node #0,2,4: 99:[40, 17] Operation: 17+0=17 Moving to Node #0,1 Current State: 99:[17, 80, 2], Operations: ['80/40=2'] Exploring Operation: 17*2=34, Resulting Numbers: [80, 34] Generated Node #0,1,0: 99:[80, 34] Operation: 17*2=34 Exploring Operation: 17+80=97, Resulting Numbers: [2, 97] Generated Node #0,1,1: 99:[2, 97] Operation: 17+80=97 Exploring Operation: 80/2=40, Resulting Numbers: [17, 40] Generated Node #0,1,2: 99:[17, 40] Operation: 80/2=40 Exploring Operation: 80+2=82, Resulting Numbers: [17, 82] Generated Node #0,1,3: 99:[17, 82] Operation: 80+2=82 Exploring Operation: 17-2=15, Resulting Numbers: [80, 15] Generated Node #0,1,4: 99:[80, 15] Operation: 17-2=15 Moving to Node #0,4 Current State: 99:[80, 17, 2], Operations: ['80/40=2'] Exploring Operation: 17-2=15, Resulting Numbers: [80, 15] Generated Node #0,4,0: 99:[80, 15] Operation: 17-2=15 Exploring Operation: 80/2=40, Resulting Numbers: [17, 40] Generated Node #0,4,1: 99:[17, 40] Operation: 80/2=40 Exploring Operation: 80+2=82, Resulting Numbers: [17, 82] Generated Node #0,4,2: 99:[17, 82] Operation: 80+2=82 Exploring Operation: 17*2=34, Resulting Numbers: [80, 34] Generated Node #0,4,3: 99:[80, 34] Operation: 17*2=34 Exploring Operation: 80+17=97, Resulting Numbers: [2, 97] Generated Node #0,4,4: 99:[2, 97] Operation: 80+17=97 Moving to Node #0,3 Current State: 99:[80, 40, 97], Operations: ['80+17=97'] Exploring Operation: 97-80=17, Resulting Numbers: [40, 17] Generated Node #0,3,0: 99:[40, 17] Operation: 97-80=17 Exploring Operation: 80/40=2, Resulting Numbers: [97, 2] Generated Node #0,3,1: 99:[97, 2] Operation: 80/40=2 Exploring Operation: 97-40=57, Resulting Numbers: [80, 57] Generated Node #0,3,2: 99:[80, 57] Operation: 97-40=57 Exploring Operation: 80-40=40, Resulting Numbers: [97, 40] Generated Node #0,3,3: 99:[97, 40] Operation: 80-40=40 Exploring Operation: 80+40=120, Resulting Numbers: [97, 120] Generated Node #0,3,4: 99:[97, 120] Operation: 80+40=120 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[97, 2], Operations: ['80+17=97', '80/40=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[80, 17, 80, 40], Operations: [] Exploring Operation: 80+17=97, Resulting Numbers: [80, 40, 97] Generated Node #0,3: 99:[80, 40, 97] Operation: 80+17=97 Moving to Node #0,3 Current State: 99:[80, 40, 97], Operations: ['80+17=97'] Exploring Operation: 80/40=2, Resulting Numbers: [97, 2] Generated Node #0,3,1: 99:[97, 2] Operation: 80/40=2 Moving to Node #0,3,1 Current State: 99:[97, 2], Operations: ['80+17=97', '80/40=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
mult_heuristic
[ 3, 50, 60, 68 ]
14
[ "50+60=110", "110-68=42", "42/3=14" ]
Current State: 14:[3, 50, 60, 68], Operations: [] Exploring Operation: 50+60=110, Resulting Numbers: [3, 68, 110] Generated Node #2: [3, 68, 110] from Operation: 50+60=110 Current State: 14:[3, 68, 110], Operations: ['50+60=110'] Exploring Operation: 110-68=42, Resulting Numbers: [3, 42] Generated Node #3: [3, 42] from Operation: 110-68=42 Current State: 14:[3, 42], Operations: ['50+60=110', '110-68=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[3, 50, 60, 68], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [3, 50, 8] Generated Node #0,0: 14:[3, 50, 8] Operation: 68-60=8 Exploring Operation: 68-50=18, Resulting Numbers: [3, 60, 18] Generated Node #0,1: 14:[3, 60, 18] Operation: 68-50=18 Moving to Node #0,0 Current State: 14:[3, 50, 8], Operations: ['68-60=8'] Exploring Operation: 50-8=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 14:[3, 42] Operation: 50-8=42 Exploring Operation: 50-3=47, Resulting Numbers: [8, 47] Generated Node #0,0,1: 14:[8, 47] Operation: 50-3=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[3, 42], Operations: ['68-60=8', '50-8=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[3, 50, 60, 68], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [3, 50, 8] Generated Node #0,0: 14:[3, 50, 8] Operation: 68-60=8 Moving to Node #0,0 Current State: 14:[3, 50, 8], Operations: ['68-60=8'] Exploring Operation: 50-8=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 14:[3, 42] Operation: 50-8=42 Moving to Node #0,0,0 Current State: 14:[3, 42], Operations: ['68-60=8', '50-8=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 78, 93, 44, 28 ]
57
[ "93-78=15", "44+28=72", "72-15=57" ]
Current State: 57:[78, 93, 44, 28], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [44, 28, 15] Generated Node #2: [44, 28, 15] from Operation: 93-78=15 Current State: 57:[44, 28, 15], Operations: ['93-78=15'] Exploring Operation: 44+28=72, Resulting Numbers: [15, 72] Generated Node #3: [15, 72] from Operation: 44+28=72 Current State: 57:[15, 72], Operations: ['93-78=15', '44+28=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[78, 93, 44, 28], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [78, 44, 65] Generated Node #0,0: 57:[78, 44, 65] Operation: 93-28=65 Exploring Operation: 93-44=49, Resulting Numbers: [78, 28, 49] Generated Node #0,1: 57:[78, 28, 49] Operation: 93-44=49 Exploring Operation: 93-78=15, Resulting Numbers: [44, 28, 15] Generated Node #0,2: 57:[44, 28, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[44, 28, 15], Operations: ['93-78=15'] Exploring Operation: 44-28=16, Resulting Numbers: [15, 16] Generated Node #0,2,0: 57:[15, 16] Operation: 44-28=16 Exploring Operation: 44+28=72, Resulting Numbers: [15, 72] Generated Node #0,2,1: 57:[15, 72] Operation: 44+28=72 Exploring Operation: 44+15=59, Resulting Numbers: [28, 59] Generated Node #0,2,2: 57:[28, 59] Operation: 44+15=59 Moving to Node #0,2,0 Current State: 57:[15, 16], Operations: ['93-78=15', '44-28=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,57 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[28, 59], Operations: ['93-78=15', '44+15=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[15, 72], Operations: ['93-78=15', '44+28=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[78, 93, 44, 28], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [44, 28, 15] Generated Node #0,2: 57:[44, 28, 15] Operation: 93-78=15 Moving to Node #0,2 Current State: 57:[44, 28, 15], Operations: ['93-78=15'] Exploring Operation: 44+28=72, Resulting Numbers: [15, 72] Generated Node #0,2,1: 57:[15, 72] Operation: 44+28=72 Moving to Node #0,2,1 Current State: 57:[15, 72], Operations: ['93-78=15', '44+28=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 3, 14, 2, 56 ]
35
[ "3*14=42", "42/2=21", "56-21=35" ]
Current State: 35:[3, 14, 2, 56], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [2, 56, 42] Generated Node #2: [2, 56, 42] from Operation: 3*14=42 Current State: 35:[2, 56, 42], Operations: ['3*14=42'] Exploring Operation: 42/2=21, Resulting Numbers: [56, 21] Generated Node #3: [56, 21] from Operation: 42/2=21 Current State: 35:[56, 21], Operations: ['3*14=42', '42/2=21'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[3, 14, 2, 56], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [3, 2, 4] Generated Node #0,0: 35:[3, 2, 4] Operation: 56/14=4 Exploring Operation: 56/2=28, Resulting Numbers: [3, 14, 28] Generated Node #0,1: 35:[3, 14, 28] Operation: 56/2=28 Exploring Operation: 14/2=7, Resulting Numbers: [3, 56, 7] Generated Node #0,2: 35:[3, 56, 7] Operation: 14/2=7 Exploring Operation: 56-14=42, Resulting Numbers: [3, 2, 42] Generated Node #0,3: 35:[3, 2, 42] Operation: 56-14=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[3, 2, 4], Operations: ['56/14=4'] Exploring Operation: 3*2=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 35:[4, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [4, 5] Generated Node #0,0,1: 35:[4, 5] Operation: 3+2=5 Exploring Operation: 2+4=6, Resulting Numbers: [3, 6] Generated Node #0,0,2: 35:[3, 6] Operation: 2+4=6 Exploring Operation: 3+4=7, Resulting Numbers: [2, 7] Generated Node #0,0,3: 35:[2, 7] Operation: 3+4=7 Moving to Node #0,0,1 Current State: 35:[4, 5], Operations: ['56/14=4', '3+2=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[4, 6], Operations: ['56/14=4', '3*2=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[2, 7], Operations: ['56/14=4', '3+4=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[3, 6], Operations: ['56/14=4', '2+4=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[3, 2, 42], Operations: ['56-14=42'] Exploring Operation: 42-2=40, Resulting Numbers: [3, 40] Generated Node #0,3,0: 35:[3, 40] Operation: 42-2=40 Exploring Operation: 42-3=39, Resulting Numbers: [2, 39] Generated Node #0,3,1: 35:[2, 39] Operation: 42-3=39 Exploring Operation: 3*2=6, Resulting Numbers: [42, 6] Generated Node #0,3,2: 35:[42, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [42, 5] Generated Node #0,3,3: 35:[42, 5] Operation: 3+2=5 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[3, 40], Operations: ['56-14=42', '42-2=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,35 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,35 unequal: No Solution No 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: 35:[2, 39], Operations: ['56-14=42', '42-3=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,35 unequal: No Solution No 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: 35:[42, 5], Operations: ['56-14=42', '3+2=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,35 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,35 unequal: No Solution No 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: 35:[42, 6], Operations: ['56-14=42', '3*2=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,35 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,35 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[3, 14, 28], Operations: ['56/2=28'] Exploring Operation: 28/14=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 35:[3, 2] Operation: 28/14=2 Exploring Operation: 14+28=42, Resulting Numbers: [3, 42] Generated Node #0,1,1: 35:[3, 42] Operation: 14+28=42 Exploring Operation: 28-14=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 35:[3, 14] Operation: 28-14=14 Exploring Operation: 14-3=11, Resulting Numbers: [28, 11] Generated Node #0,1,3: 35:[28, 11] Operation: 14-3=11 Moving to Node #0,1,0 Current State: 35:[3, 2], Operations: ['56/2=28', '28/14=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[3, 14], Operations: ['56/2=28', '28-14=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[3, 42], Operations: ['56/2=28', '14+28=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,35 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[28, 11], Operations: ['56/2=28', '14-3=11'] Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,35 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[3, 56, 7], Operations: ['14/2=7'] Exploring Operation: 56-7=49, Resulting Numbers: [3, 49] Generated Node #0,2,0: 35:[3, 49] Operation: 56-7=49 Exploring Operation: 56-3=53, Resulting Numbers: [7, 53] Generated Node #0,2,1: 35:[7, 53] Operation: 56-3=53 Exploring Operation: 56/7=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 35:[3, 8] Operation: 56/7=8 Exploring Operation: 7-3=4, Resulting Numbers: [56, 4] Generated Node #0,2,3: 35:[56, 4] Operation: 7-3=4 Moving to Node #0,2,2 Current State: 35:[3, 8], Operations: ['14/2=7', '56/7=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[3, 49], Operations: ['14/2=7', '56-7=49'] Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,35 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[7, 53], Operations: ['14/2=7', '56-3=53'] Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,35 unequal: No Solution Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[56, 4], Operations: ['14/2=7', '7-3=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,35 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,35 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,35 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
[ 91, 31, 10, 18 ]
88
[ "91-31=60", "10+18=28", "60+28=88" ]
Current State: 88:[91, 31, 10, 18], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [10, 18, 60] Generated Node #2: [10, 18, 60] from Operation: 91-31=60 Current State: 88:[10, 18, 60], Operations: ['91-31=60'] Exploring Operation: 10+18=28, Resulting Numbers: [60, 28] Generated Node #3: [60, 28] from Operation: 10+18=28 Current State: 88:[60, 28], Operations: ['91-31=60', '10+18=28'] Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[91, 31, 10, 18], Operations: [] Exploring Operation: 31-18=13, Resulting Numbers: [91, 10, 13] Generated Node #0,0: 88:[91, 10, 13] Operation: 31-18=13 Exploring Operation: 31-10=21, Resulting Numbers: [91, 18, 21] Generated Node #0,1: 88:[91, 18, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[91, 10, 13], Operations: ['31-18=13'] Exploring Operation: 91/13=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 88:[10, 7] Operation: 91/13=7 Exploring Operation: 10+13=23, Resulting Numbers: [91, 23] Generated Node #0,0,1: 88:[91, 23] Operation: 10+13=23 Moving to Node #0,0,0 Current State: 88:[10, 7], Operations: ['31-18=13', '91/13=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[91, 23], Operations: ['31-18=13', '10+13=23'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[91, 18, 21], Operations: ['31-10=21'] Exploring Operation: 21-18=3, Resulting Numbers: [91, 3] Generated Node #0,1,0: 88:[91, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [91, 39] Generated Node #0,1,1: 88:[91, 39] Operation: 18+21=39 Moving to Node #0,1,0 Current State: 88:[91, 3], Operations: ['31-10=21', '21-18=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[91, 31, 10, 18], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [91, 18, 21] Generated Node #0,1: 88:[91, 18, 21] Operation: 31-10=21 Moving to Node #0,1 Current State: 88:[91, 18, 21], Operations: ['31-10=21'] Exploring Operation: 21-18=3, Resulting Numbers: [91, 3] Generated Node #0,1,0: 88:[91, 3] Operation: 21-18=3 Moving to Node #0,1,0 Current State: 88:[91, 3], Operations: ['31-10=21', '21-18=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 90, 23, 74, 59 ]
29
[ "74-59=15", "90/15=6", "23+6=29" ]
Current State: 29:[90, 23, 74, 59], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [90, 23, 15] Generated Node #2: [90, 23, 15] from Operation: 74-59=15 Current State: 29:[90, 23, 15], Operations: ['74-59=15'] Exploring Operation: 90/15=6, Resulting Numbers: [23, 6] Generated Node #3: [23, 6] from Operation: 90/15=6 Current State: 29:[23, 6], Operations: ['74-59=15', '90/15=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[90, 23, 74, 59], Operations: [] Exploring Operation: 90-74=16, Resulting Numbers: [23, 59, 16] Generated Node #0,0: 29:[23, 59, 16] Operation: 90-74=16 Exploring Operation: 90-59=31, Resulting Numbers: [23, 74, 31] Generated Node #0,1: 29:[23, 74, 31] Operation: 90-59=31 Moving to Node #0,0 Current State: 29:[23, 59, 16], Operations: ['90-74=16'] Exploring Operation: 59-23=36, Resulting Numbers: [16, 36] Generated Node #0,0,0: 29:[16, 36] Operation: 59-23=36 Exploring Operation: 59-16=43, Resulting Numbers: [23, 43] Generated Node #0,0,1: 29:[23, 43] Operation: 59-16=43 Moving to Node #0,1 Current State: 29:[23, 74, 31], Operations: ['90-59=31'] Exploring Operation: 74-31=43, Resulting Numbers: [23, 43] Generated Node #0,1,0: 29:[23, 43] Operation: 74-31=43 Exploring Operation: 74-23=51, Resulting Numbers: [31, 51] Generated Node #0,1,1: 29:[31, 51] Operation: 74-23=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[23, 43], Operations: ['90-59=31', '74-31=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,29 unequal: No Solution No 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: 29:[31, 51], Operations: ['90-59=31', '74-23=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 29:[16, 36], Operations: ['90-74=16', '59-23=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[23, 43], Operations: ['90-74=16', '59-16=43'] Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 39, 60, 87, 47 ]
61
[ "60-39=21", "87-47=40", "21+40=61" ]
Current State: 61:[39, 60, 87, 47], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [87, 47, 21] Generated Node #2: [87, 47, 21] from Operation: 60-39=21 Current State: 61:[87, 47, 21], Operations: ['60-39=21'] Exploring Operation: 87-47=40, Resulting Numbers: [21, 40] Generated Node #3: [21, 40] from Operation: 87-47=40 Current State: 61:[21, 40], Operations: ['60-39=21', '87-47=40'] Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[39, 60, 87, 47], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [39, 60, 40] Generated Node #0,0: 61:[39, 60, 40] Operation: 87-47=40 Exploring Operation: 87-39=48, Resulting Numbers: [60, 47, 48] Generated Node #0,1: 61:[60, 47, 48] Operation: 87-39=48 Moving to Node #0,1 Current State: 61:[60, 47, 48], Operations: ['87-39=48'] Exploring Operation: 47+48=95, Resulting Numbers: [60, 95] Generated Node #0,1,0: 61:[60, 95] Operation: 47+48=95 Exploring Operation: 60+47=107, Resulting Numbers: [48, 107] Generated Node #0,1,1: 61:[48, 107] Operation: 60+47=107 Moving to Node #0,0 Current State: 61:[39, 60, 40], Operations: ['87-47=40'] Exploring Operation: 39+40=79, Resulting Numbers: [60, 79] Generated Node #0,0,0: 61:[60, 79] Operation: 39+40=79 Exploring Operation: 39+60=99, Resulting Numbers: [40, 99] Generated Node #0,0,1: 61:[40, 99] Operation: 39+60=99 Moving to Node #0,0,0 Current State: 61:[60, 79], Operations: ['87-47=40', '39+40=79'] Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 60+79=139, Resulting Numbers: [139] 139,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[60, 95], Operations: ['87-39=48', '47+48=95'] Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[48, 107], Operations: ['87-39=48', '60+47=107'] Exploring Operation: 107-48=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 48+107=155, Resulting Numbers: [155] 155,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[40, 99], Operations: ['87-47=40', '39+60=99'] Exploring Operation: 40+99=139, Resulting Numbers: [139] 139,61 unequal: No Solution Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,61 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 60, 25, 48, 34 ]
99
[ "60+25=85", "48-34=14", "85+14=99" ]
Current State: 99:[60, 25, 48, 34], Operations: [] Exploring Operation: 60+25=85, Resulting Numbers: [48, 34, 85] Generated Node #2: [48, 34, 85] from Operation: 60+25=85 Current State: 99:[48, 34, 85], Operations: ['60+25=85'] Exploring Operation: 48-34=14, Resulting Numbers: [85, 14] Generated Node #3: [85, 14] from Operation: 48-34=14 Current State: 99:[85, 14], Operations: ['60+25=85', '48-34=14'] Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[60, 25, 48, 34], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [25, 34, 12] Generated Node #0,0: 99:[25, 34, 12] Operation: 60-48=12 Exploring Operation: 60-25=35, Resulting Numbers: [48, 34, 35] Generated Node #0,1: 99:[48, 34, 35] Operation: 60-25=35 Exploring Operation: 60+48=108, Resulting Numbers: [25, 34, 108] Generated Node #0,2: 99:[25, 34, 108] Operation: 60+48=108 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[25, 34, 12], Operations: ['60-48=12'] Exploring Operation: 25+12=37, Resulting Numbers: [34, 37] Generated Node #0,0,0: 99:[34, 37] Operation: 25+12=37 Exploring Operation: 34-25=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 99:[12, 9] Operation: 34-25=9 Exploring Operation: 25-12=13, Resulting Numbers: [34, 13] Generated Node #0,0,2: 99:[34, 13] Operation: 25-12=13 Moving to Node #0,0,1 Current State: 99:[12, 9], Operations: ['60-48=12', '34-25=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[34, 13], Operations: ['60-48=12', '25-12=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,99 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[34, 37], Operations: ['60-48=12', '25+12=37'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,99 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[48, 34, 35], Operations: ['60-25=35'] Exploring Operation: 48+35=83, Resulting Numbers: [34, 83] Generated Node #0,1,0: 99:[34, 83] Operation: 48+35=83 Exploring Operation: 48-35=13, Resulting Numbers: [34, 13] Generated Node #0,1,1: 99:[34, 13] Operation: 48-35=13 Exploring Operation: 48-34=14, Resulting Numbers: [35, 14] Generated Node #0,1,2: 99:[35, 14] Operation: 48-34=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[34, 13], Operations: ['60-25=35', '48-35=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,99 unequal: No Solution No 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: 99:[35, 14], Operations: ['60-25=35', '48-34=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,99 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,99 unequal: No Solution No 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: 99:[34, 83], Operations: ['60-25=35', '48+35=83'] Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,99 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,99 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: 99:[25, 34, 108], Operations: ['60+48=108'] Exploring Operation: 34-25=9, Resulting Numbers: [108, 9] Generated Node #0,2,0: 99:[108, 9] Operation: 34-25=9 Exploring Operation: 108-34=74, Resulting Numbers: [25, 74] Generated Node #0,2,1: 99:[25, 74] Operation: 108-34=74 Exploring Operation: 108-25=83, Resulting Numbers: [34, 83] Generated Node #0,2,2: 99:[34, 83] Operation: 108-25=83 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[108, 9], Operations: ['60+48=108', '34-25=9'] Exploring Operation: 108/9=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 108-9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[60, 25, 48, 34], Operations: [] Exploring Operation: 60+48=108, Resulting Numbers: [25, 34, 108] Generated Node #0,2: 99:[25, 34, 108] Operation: 60+48=108 Moving to Node #0,2 Current State: 99:[25, 34, 108], Operations: ['60+48=108'] Exploring Operation: 34-25=9, Resulting Numbers: [108, 9] Generated Node #0,2,0: 99:[108, 9] Operation: 34-25=9 Moving to Node #0,2,0 Current State: 99:[108, 9], Operations: ['60+48=108', '34-25=9'] Exploring Operation: 108-9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 39, 62, 70, 42 ]
89
[ "62-39=23", "70+42=112", "112-23=89" ]
Current State: 89:[39, 62, 70, 42], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [70, 42, 23] Generated Node #2: [70, 42, 23] from Operation: 62-39=23 Current State: 89:[70, 42, 23], Operations: ['62-39=23'] Exploring Operation: 70+42=112, Resulting Numbers: [23, 112] Generated Node #3: [23, 112] from Operation: 70+42=112 Current State: 89:[23, 112], Operations: ['62-39=23', '70+42=112'] Exploring Operation: 112-23=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[39, 62, 70, 42], Operations: [] Exploring Operation: 39+42=81, Resulting Numbers: [62, 70, 81] Generated Node #0,0: 89:[62, 70, 81] Operation: 39+42=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[62, 70, 81], Operations: ['39+42=81'] Exploring Operation: 62+70=132, Resulting Numbers: [81, 132] Generated Node #0,0,0: 89:[81, 132] Operation: 62+70=132 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[81, 132], Operations: ['39+42=81', '62+70=132'] Exploring Operation: 132-81=51, Resulting Numbers: [51] 51,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_1
sum_heuristic
[ 33, 31, 68, 34 ]
31
[ "68-33=35", "35-34=1", "31*1=31" ]
Current State: 31:[33, 31, 68, 34], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [31, 34, 35] Generated Node #2: [31, 34, 35] from Operation: 68-33=35 Current State: 31:[31, 34, 35], Operations: ['68-33=35'] Exploring Operation: 35-34=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 35-34=1 Current State: 31:[31, 1], Operations: ['68-33=35', '35-34=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[33, 31, 68, 34], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [31, 34, 35] Generated Node #0,0: 31:[31, 34, 35] Operation: 68-33=35 Exploring Operation: 68-34=34, Resulting Numbers: [33, 31, 34] Generated Node #0,1: 31:[33, 31, 34] Operation: 68-34=34 Exploring Operation: 68-31=37, Resulting Numbers: [33, 34, 37] Generated Node #0,2: 31:[33, 34, 37] Operation: 68-31=37 Exploring Operation: 68/34=2, Resulting Numbers: [33, 31, 2] Generated Node #0,3: 31:[33, 31, 2] Operation: 68/34=2 Moving to Node #0,1 Current State: 31:[33, 31, 34], Operations: ['68-34=34'] Exploring Operation: 34-31=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 31:[33, 3] Operation: 34-31=3 Exploring Operation: 34-33=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 31:[31, 1] Operation: 34-33=1 Exploring Operation: 33-31=2, Resulting Numbers: [34, 2] Generated Node #0,1,2: 31:[34, 2] Operation: 33-31=2 Exploring Operation: 33+31=64, Resulting Numbers: [34, 64] Generated Node #0,1,3: 31:[34, 64] Operation: 33+31=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[33, 3], Operations: ['68-34=34', '34-31=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,31 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,31 unequal: No Solution No 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: 31:[31, 1], Operations: ['68-34=34', '34-33=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[33, 31, 68, 34], Operations: [] Exploring Operation: 68-34=34, Resulting Numbers: [33, 31, 34] Generated Node #0,1: 31:[33, 31, 34] Operation: 68-34=34 Moving to Node #0,1 Current State: 31:[33, 31, 34], Operations: ['68-34=34'] Exploring Operation: 34-33=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 31:[31, 1] Operation: 34-33=1 Moving to Node #0,1,1 Current State: 31:[31, 1], Operations: ['68-34=34', '34-33=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 95, 71, 30, 94 ]
100
[ "95-71=24", "30+94=124", "124-24=100" ]
Current State: 100:[95, 71, 30, 94], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [30, 94, 24] Generated Node #2: [30, 94, 24] from Operation: 95-71=24 Current State: 100:[30, 94, 24], Operations: ['95-71=24'] Exploring Operation: 30+94=124, Resulting Numbers: [24, 124] Generated Node #3: [24, 124] from Operation: 30+94=124 Current State: 100:[24, 124], Operations: ['95-71=24', '30+94=124'] Exploring Operation: 124-24=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[95, 71, 30, 94], Operations: [] Exploring Operation: 71+30=101, Resulting Numbers: [95, 94, 101] Generated Node #0,0: 100:[95, 94, 101] Operation: 71+30=101 Exploring Operation: 71-30=41, Resulting Numbers: [95, 94, 41] Generated Node #0,1: 100:[95, 94, 41] Operation: 71-30=41 Exploring Operation: 94-71=23, Resulting Numbers: [95, 30, 23] Generated Node #0,2: 100:[95, 30, 23] Operation: 94-71=23 Exploring Operation: 95-71=24, Resulting Numbers: [30, 94, 24] Generated Node #0,3: 100:[30, 94, 24] Operation: 95-71=24 Moving to Node #0,0 Current State: 100:[95, 94, 101], Operations: ['71+30=101'] Exploring Operation: 101-95=6, Resulting Numbers: [94, 6] Generated Node #0,0,0: 100:[94, 6] Operation: 101-95=6 Exploring Operation: 95+94=189, Resulting Numbers: [101, 189] Generated Node #0,0,1: 100:[101, 189] Operation: 95+94=189 Exploring Operation: 95-94=1, Resulting Numbers: [101, 1] Generated Node #0,0,2: 100:[101, 1] Operation: 95-94=1 Exploring Operation: 101-94=7, Resulting Numbers: [95, 7] Generated Node #0,0,3: 100:[95, 7] Operation: 101-94=7 Moving to Node #0,3 Current State: 100:[30, 94, 24], Operations: ['95-71=24'] Exploring Operation: 30+24=54, Resulting Numbers: [94, 54] Generated Node #0,3,0: 100:[94, 54] Operation: 30+24=54 Exploring Operation: 94+24=118, Resulting Numbers: [30, 118] Generated Node #0,3,1: 100:[30, 118] Operation: 94+24=118 Exploring Operation: 30-24=6, Resulting Numbers: [94, 6] Generated Node #0,3,2: 100:[94, 6] Operation: 30-24=6 Exploring Operation: 94-30=64, Resulting Numbers: [24, 64] Generated Node #0,3,3: 100:[24, 64] Operation: 94-30=64 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[94, 6], Operations: ['95-71=24', '30-24=6'] Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,100 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[95, 71, 30, 94], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [30, 94, 24] Generated Node #0,3: 100:[30, 94, 24] Operation: 95-71=24 Moving to Node #0,3 Current State: 100:[30, 94, 24], Operations: ['95-71=24'] Exploring Operation: 30-24=6, Resulting Numbers: [94, 6] Generated Node #0,3,2: 100:[94, 6] Operation: 30-24=6 Moving to Node #0,3,2 Current State: 100:[94, 6], Operations: ['95-71=24', '30-24=6'] Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 98, 57, 88, 88 ]
40
[ "98-57=41", "88/88=1", "41-1=40" ]
Current State: 40:[98, 57, 88, 88], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [88, 88, 41] Generated Node #2: [88, 88, 41] from Operation: 98-57=41 Current State: 40:[88, 88, 41], Operations: ['98-57=41'] Exploring Operation: 88/88=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 88/88=1 Current State: 40:[41, 1], Operations: ['98-57=41', '88/88=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[98, 57, 88, 88], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [57, 88, 10] Generated Node #0,0: 40:[57, 88, 10] Operation: 98-88=10 Exploring Operation: 98-88=10, Resulting Numbers: [57, 88, 10] Generated Node #0,1: 40:[57, 88, 10] Operation: 98-88=10 Moving to Node #0,0 Current State: 40:[57, 88, 10], Operations: ['98-88=10'] Exploring Operation: 88-57=31, Resulting Numbers: [10, 31] Generated Node #0,0,0: 40:[10, 31] Operation: 88-57=31 Exploring Operation: 57-10=47, Resulting Numbers: [88, 47] Generated Node #0,0,1: 40:[88, 47] Operation: 57-10=47 Moving to Node #0,1 Current State: 40:[57, 88, 10], Operations: ['98-88=10'] Exploring Operation: 57-10=47, Resulting Numbers: [88, 47] Generated Node #0,1,0: 40:[88, 47] Operation: 57-10=47 Exploring Operation: 88-57=31, Resulting Numbers: [10, 31] Generated Node #0,1,1: 40:[10, 31] Operation: 88-57=31 Moving to Node #0,0,0 Current State: 40:[10, 31], Operations: ['98-88=10', '88-57=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[10, 31], Operations: ['98-88=10', '88-57=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[88, 47], Operations: ['98-88=10', '57-10=47'] Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[88, 47], Operations: ['98-88=10', '57-10=47'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,40 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 23, 29, 45 ]
61
[ "54+23=77", "45-29=16", "77-16=61" ]
Current State: 61:[54, 23, 29, 45], Operations: [] Exploring Operation: 54+23=77, Resulting Numbers: [29, 45, 77] Generated Node #2: [29, 45, 77] from Operation: 54+23=77 Current State: 61:[29, 45, 77], Operations: ['54+23=77'] Exploring Operation: 45-29=16, Resulting Numbers: [77, 16] Generated Node #3: [77, 16] from Operation: 45-29=16 Current State: 61:[77, 16], Operations: ['54+23=77', '45-29=16'] Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[54, 23, 29, 45], Operations: [] Exploring Operation: 23+29=52, Resulting Numbers: [54, 45, 52] Generated Node #0,0: 61:[54, 45, 52] Operation: 23+29=52 Exploring Operation: 23+45=68, Resulting Numbers: [54, 29, 68] Generated Node #0,1: 61:[54, 29, 68] Operation: 23+45=68 Exploring Operation: 54+29=83, Resulting Numbers: [23, 45, 83] Generated Node #0,2: 61:[23, 45, 83] Operation: 54+29=83 Exploring Operation: 29+45=74, Resulting Numbers: [54, 23, 74] Generated Node #0,3: 61:[54, 23, 74] Operation: 29+45=74 Exploring Operation: 54+23=77, Resulting Numbers: [29, 45, 77] Generated Node #0,4: 61:[29, 45, 77] Operation: 54+23=77 Moving to Node #0,0 Current State: 61:[54, 45, 52], Operations: ['23+29=52'] Exploring Operation: 54+52=106, Resulting Numbers: [45, 106] Generated Node #0,0,0: 61:[45, 106] Operation: 54+52=106 Exploring Operation: 52-45=7, Resulting Numbers: [54, 7] Generated Node #0,0,1: 61:[54, 7] Operation: 52-45=7 Exploring Operation: 45+52=97, Resulting Numbers: [54, 97] Generated Node #0,0,2: 61:[54, 97] Operation: 45+52=97 Exploring Operation: 54+45=99, Resulting Numbers: [52, 99] Generated Node #0,0,3: 61:[52, 99] Operation: 54+45=99 Exploring Operation: 54-45=9, Resulting Numbers: [52, 9] Generated Node #0,0,4: 61:[52, 9] Operation: 54-45=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[54, 97], Operations: ['23+29=52', '45+52=97'] Exploring Operation: 54*97=5238, Resulting Numbers: [5238] 5238,61 unequal: No Solution Exploring Operation: 54+97=151, Resulting Numbers: [151] 151,61 unequal: No Solution Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,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:[52, 99], Operations: ['23+29=52', '54+45=99'] Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 52*99=5148, Resulting Numbers: [5148] 5148,61 unequal: No Solution Exploring Operation: 52+99=151, Resulting Numbers: [151] 151,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,0 Current State: 61:[45, 106], Operations: ['23+29=52', '54+52=106'] Exploring Operation: 45*106=4770, Resulting Numbers: [4770] 4770,61 unequal: No Solution Exploring Operation: 106-45=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[54, 23, 29, 45], Operations: [] Exploring Operation: 23+29=52, Resulting Numbers: [54, 45, 52] Generated Node #0,0: 61:[54, 45, 52] Operation: 23+29=52 Moving to Node #0,0 Current State: 61:[54, 45, 52], Operations: ['23+29=52'] Exploring Operation: 54+52=106, Resulting Numbers: [45, 106] Generated Node #0,0,0: 61:[45, 106] Operation: 54+52=106 Moving to Node #0,0,0 Current State: 61:[45, 106], Operations: ['23+29=52', '54+52=106'] Exploring Operation: 106-45=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 41, 10, 25, 4 ]
52
[ "41-10=31", "25-4=21", "31+21=52" ]
Current State: 52:[41, 10, 25, 4], Operations: [] Exploring Operation: 41-10=31, Resulting Numbers: [25, 4, 31] Generated Node #2: [25, 4, 31] from Operation: 41-10=31 Current State: 52:[25, 4, 31], Operations: ['41-10=31'] Exploring Operation: 25-4=21, Resulting Numbers: [31, 21] Generated Node #3: [31, 21] from Operation: 25-4=21 Current State: 52:[31, 21], Operations: ['41-10=31', '25-4=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[41, 10, 25, 4], Operations: [] Exploring Operation: 41+10=51, Resulting Numbers: [25, 4, 51] Generated Node #0,0: 52:[25, 4, 51] Operation: 41+10=51 Moving to Node #0,0 Current State: 52:[25, 4, 51], Operations: ['41+10=51'] Exploring Operation: 51-25=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 52:[4, 26] Operation: 51-25=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 26], Operations: ['41+10=51', '51-25=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 93, 3, 37, 63 ]
70
[ "93+3=96", "63-37=26", "96-26=70" ]
Current State: 70:[93, 3, 37, 63], Operations: [] Exploring Operation: 93+3=96, Resulting Numbers: [37, 63, 96] Generated Node #2: [37, 63, 96] from Operation: 93+3=96 Current State: 70:[37, 63, 96], Operations: ['93+3=96'] Exploring Operation: 63-37=26, Resulting Numbers: [96, 26] Generated Node #3: [96, 26] from Operation: 63-37=26 Current State: 70:[96, 26], Operations: ['93+3=96', '63-37=26'] Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[93, 3, 37, 63], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [37, 63, 31] Generated Node #0,0: 70:[37, 63, 31] Operation: 93/3=31 Exploring Operation: 93-63=30, Resulting Numbers: [3, 37, 30] Generated Node #0,1: 70:[3, 37, 30] Operation: 93-63=30 Exploring Operation: 93-37=56, Resulting Numbers: [3, 63, 56] Generated Node #0,2: 70:[3, 63, 56] Operation: 93-37=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[3, 37, 30], Operations: ['93-63=30'] Exploring Operation: 30/3=10, Resulting Numbers: [37, 10] Generated Node #0,1,0: 70:[37, 10] Operation: 30/3=10 Exploring Operation: 3+30=33, Resulting Numbers: [37, 33] Generated Node #0,1,1: 70:[37, 33] Operation: 3+30=33 Exploring Operation: 37-30=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 70:[3, 7] Operation: 37-30=7 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[3, 7], Operations: ['93-63=30', '37-30=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[37, 10], Operations: ['93-63=30', '30/3=10'] Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,70 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[37, 33], Operations: ['93-63=30', '3+30=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[93, 3, 37, 63], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [3, 37, 30] Generated Node #0,1: 70:[3, 37, 30] Operation: 93-63=30 Moving to Node #0,1 Current State: 70:[3, 37, 30], Operations: ['93-63=30'] Exploring Operation: 3+30=33, Resulting Numbers: [37, 33] Generated Node #0,1,1: 70:[37, 33] Operation: 3+30=33 Moving to Node #0,1,1 Current State: 70:[37, 33], Operations: ['93-63=30', '3+30=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 54, 33, 77, 67 ]
77
[ "54+33=87", "77-67=10", "87-10=77" ]
Current State: 77:[54, 33, 77, 67], Operations: [] Exploring Operation: 54+33=87, Resulting Numbers: [77, 67, 87] Generated Node #2: [77, 67, 87] from Operation: 54+33=87 Current State: 77:[77, 67, 87], Operations: ['54+33=87'] Exploring Operation: 77-67=10, Resulting Numbers: [87, 10] Generated Node #3: [87, 10] from Operation: 77-67=10 Current State: 77:[87, 10], Operations: ['54+33=87', '77-67=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[54, 33, 77, 67], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [77, 67, 21] Generated Node #0,0: 77:[77, 67, 21] Operation: 54-33=21 Exploring Operation: 33+67=100, Resulting Numbers: [54, 77, 100] Generated Node #0,1: 77:[54, 77, 100] Operation: 33+67=100 Exploring Operation: 67-54=13, Resulting Numbers: [33, 77, 13] Generated Node #0,2: 77:[33, 77, 13] Operation: 67-54=13 Exploring Operation: 77-54=23, Resulting Numbers: [33, 67, 23] Generated Node #0,3: 77:[33, 67, 23] Operation: 77-54=23 Exploring Operation: 54+33=87, Resulting Numbers: [77, 67, 87] Generated Node #0,4: 77:[77, 67, 87] Operation: 54+33=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[77, 67, 21], Operations: ['54-33=21'] Exploring Operation: 67-21=46, Resulting Numbers: [77, 46] Generated Node #0,0,0: 77:[77, 46] Operation: 67-21=46 Exploring Operation: 67+21=88, Resulting Numbers: [77, 88] Generated Node #0,0,1: 77:[77, 88] Operation: 67+21=88 Exploring Operation: 77-21=56, Resulting Numbers: [67, 56] Generated Node #0,0,2: 77:[67, 56] Operation: 77-21=56 Exploring Operation: 77-67=10, Resulting Numbers: [21, 10] Generated Node #0,0,3: 77:[21, 10] Operation: 77-67=10 Exploring Operation: 77+21=98, Resulting Numbers: [67, 98] Generated Node #0,0,4: 77:[67, 98] Operation: 77+21=98 Moving to Node #0,0,1 Current State: 77:[77, 88], Operations: ['54-33=21', '67+21=88'] Exploring Operation: 77*88=6776, Resulting Numbers: [6776] 6776,77 unequal: No Solution Exploring Operation: 77+88=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[21, 10], Operations: ['54-33=21', '77-67=10'] Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,77 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[77, 46], Operations: ['54-33=21', '67-21=46'] Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,77 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[67, 56], Operations: ['54-33=21', '77-21=56'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,77 unequal: No Solution Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[67, 98], Operations: ['54-33=21', '77+21=98'] Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[77, 67, 87], Operations: ['54+33=87'] Exploring Operation: 87-67=20, Resulting Numbers: [77, 20] Generated Node #0,4,0: 77:[77, 20] Operation: 87-67=20 Exploring Operation: 87-77=10, Resulting Numbers: [67, 10] Generated Node #0,4,1: 77:[67, 10] Operation: 87-77=10 Exploring Operation: 77-67=10, Resulting Numbers: [87, 10] Generated Node #0,4,2: 77:[87, 10] Operation: 77-67=10 Exploring Operation: 67+87=154, Resulting Numbers: [77, 154] Generated Node #0,4,3: 77:[77, 154] Operation: 67+87=154 Exploring Operation: 77+67=144, Resulting Numbers: [87, 144] Generated Node #0,4,4: 77:[87, 144] Operation: 77+67=144 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 77:[77, 20], Operations: ['54+33=87', '87-67=20'] Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,77 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 77:[67, 10], Operations: ['54+33=87', '87-77=10'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[54, 33, 77, 67], Operations: [] Exploring Operation: 54+33=87, Resulting Numbers: [77, 67, 87] Generated Node #0,4: 77:[77, 67, 87] Operation: 54+33=87 Moving to Node #0,4 Current State: 77:[77, 67, 87], Operations: ['54+33=87'] Exploring Operation: 87-77=10, Resulting Numbers: [67, 10] Generated Node #0,4,1: 77:[67, 10] Operation: 87-77=10 Moving to Node #0,4,1 Current State: 77:[67, 10], Operations: ['54+33=87', '87-77=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 54, 81, 33, 75 ]
81
[ "81-54=27", "33+75=108", "108-27=81" ]
Current State: 81:[54, 81, 33, 75], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [33, 75, 27] Generated Node #2: [33, 75, 27] from Operation: 81-54=27 Current State: 81:[33, 75, 27], Operations: ['81-54=27'] Exploring Operation: 33+75=108, Resulting Numbers: [27, 108] Generated Node #3: [27, 108] from Operation: 33+75=108 Current State: 81:[27, 108], Operations: ['81-54=27', '33+75=108'] Exploring Operation: 108-27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[54, 81, 33, 75], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [33, 75, 27] Generated Node #0,0: 81:[33, 75, 27] Operation: 81-54=27 Moving to Node #0,0 Current State: 81:[33, 75, 27], Operations: ['81-54=27'] Exploring Operation: 33-27=6, Resulting Numbers: [75, 6] Generated Node #0,0,0: 81:[75, 6] Operation: 33-27=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[75, 6], Operations: ['81-54=27', '33-27=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[54, 81, 33, 75], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [33, 75, 27] Generated Node #0,0: 81:[33, 75, 27] Operation: 81-54=27 Moving to Node #0,0 Current State: 81:[33, 75, 27], Operations: ['81-54=27'] Exploring Operation: 33-27=6, Resulting Numbers: [75, 6] Generated Node #0,0,0: 81:[75, 6] Operation: 33-27=6 Moving to Node #0,0,0 Current State: 81:[75, 6], Operations: ['81-54=27', '33-27=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 43, 16, 2 ]
70
[ "48-43=5", "16-2=14", "5*14=70" ]
Current State: 70:[48, 43, 16, 2], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [16, 2, 5] Generated Node #2: [16, 2, 5] from Operation: 48-43=5 Current State: 70:[16, 2, 5], Operations: ['48-43=5'] Exploring Operation: 16-2=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 16-2=14 Current State: 70:[5, 14], Operations: ['48-43=5', '16-2=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[48, 43, 16, 2], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [43, 2, 3] Generated Node #0,0: 70:[43, 2, 3] Operation: 48/16=3 Exploring Operation: 48-43=5, Resulting Numbers: [16, 2, 5] Generated Node #0,1: 70:[16, 2, 5] Operation: 48-43=5 Exploring Operation: 48-16=32, Resulting Numbers: [43, 2, 32] Generated Node #0,2: 70:[43, 2, 32] Operation: 48-16=32 Exploring Operation: 48+16=64, Resulting Numbers: [43, 2, 64] Generated Node #0,3: 70:[43, 2, 64] Operation: 48+16=64 Moving to Node #0,1 Current State: 70:[16, 2, 5], Operations: ['48-43=5'] Exploring Operation: 2+5=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 70:[16, 7] Operation: 2+5=7 Exploring Operation: 16/2=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 70:[5, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [5, 14] Generated Node #0,1,2: 70:[5, 14] Operation: 16-2=14 Exploring Operation: 16-5=11, Resulting Numbers: [2, 11] Generated Node #0,1,3: 70:[2, 11] Operation: 16-5=11 Moving to Node #0,0 Current State: 70:[43, 2, 3], Operations: ['48/16=3'] Exploring Operation: 43-2=41, Resulting Numbers: [3, 41] Generated Node #0,0,0: 70:[3, 41] Operation: 43-2=41 Exploring Operation: 2+3=5, Resulting Numbers: [43, 5] Generated Node #0,0,1: 70:[43, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [43, 6] Generated Node #0,0,2: 70:[43, 6] Operation: 2*3=6 Exploring Operation: 43-3=40, Resulting Numbers: [2, 40] Generated Node #0,0,3: 70:[2, 40] Operation: 43-3=40 Moving to Node #0,2 Current State: 70:[43, 2, 32], Operations: ['48-16=32'] Exploring Operation: 43-32=11, Resulting Numbers: [2, 11] Generated Node #0,2,0: 70:[2, 11] Operation: 43-32=11 Exploring Operation: 43+32=75, Resulting Numbers: [2, 75] Generated Node #0,2,1: 70:[2, 75] Operation: 43+32=75 Exploring Operation: 2+32=34, Resulting Numbers: [43, 34] Generated Node #0,2,2: 70:[43, 34] Operation: 2+32=34 Exploring Operation: 43-2=41, Resulting Numbers: [32, 41] Generated Node #0,2,3: 70:[32, 41] Operation: 43-2=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[2, 11], Operations: ['48-16=32', '43-32=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[2, 75], Operations: ['48-16=32', '43+32=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,70 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,70 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[43, 34], Operations: ['48-16=32', '2+32=34'] Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,70 unequal: No Solution Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,70 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[32, 41], Operations: ['48-16=32', '43-2=41'] Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,70 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: 70:[43, 2, 64], Operations: ['48+16=64'] Exploring Operation: 43-2=41, Resulting Numbers: [64, 41] Generated Node #0,3,0: 70:[64, 41] Operation: 43-2=41 Exploring Operation: 64-43=21, Resulting Numbers: [2, 21] Generated Node #0,3,1: 70:[2, 21] Operation: 64-43=21 Exploring Operation: 64/2=32, Resulting Numbers: [43, 32] Generated Node #0,3,2: 70:[43, 32] Operation: 64/2=32 Exploring Operation: 2+64=66, Resulting Numbers: [43, 66] Generated Node #0,3,3: 70:[43, 66] Operation: 2+64=66 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[2, 21], Operations: ['48+16=64', '64-43=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[43, 32], Operations: ['48+16=64', '64/2=32'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 43*32=1376, Resulting Numbers: [1376] 1376,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[64, 41], Operations: ['48+16=64', '43-2=41'] Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,70 unequal: No Solution Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,70 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[43, 66], Operations: ['48+16=64', '2+64=66'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,70 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,70 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: 70:[5, 14], Operations: ['48-43=5', '16-2=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[48, 43, 16, 2], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [16, 2, 5] Generated Node #0,1: 70:[16, 2, 5] Operation: 48-43=5 Moving to Node #0,1 Current State: 70:[16, 2, 5], Operations: ['48-43=5'] Exploring Operation: 16-2=14, Resulting Numbers: [5, 14] Generated Node #0,1,2: 70:[5, 14] Operation: 16-2=14 Moving to Node #0,1,2 Current State: 70:[5, 14], Operations: ['48-43=5', '16-2=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 17, 46, 3, 12 ]
78
[ "17+46=63", "3+12=15", "63+15=78" ]
Current State: 78:[17, 46, 3, 12], Operations: [] Exploring Operation: 17+46=63, Resulting Numbers: [3, 12, 63] Generated Node #2: [3, 12, 63] from Operation: 17+46=63 Current State: 78:[3, 12, 63], Operations: ['17+46=63'] Exploring Operation: 3+12=15, Resulting Numbers: [63, 15] Generated Node #3: [63, 15] from Operation: 3+12=15 Current State: 78:[63, 15], Operations: ['17+46=63', '3+12=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[17, 46, 3, 12], Operations: [] Exploring Operation: 46-17=29, Resulting Numbers: [3, 12, 29] Generated Node #0,0: 78:[3, 12, 29] Operation: 46-17=29 Moving to Node #0,0 Current State: 78:[3, 12, 29], Operations: ['46-17=29'] Exploring Operation: 29-3=26, Resulting Numbers: [12, 26] Generated Node #0,0,0: 78:[12, 26] Operation: 29-3=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[12, 26], Operations: ['46-17=29', '29-3=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 42, 22, 1, 8 ]
71
[ "42+22=64", "8-1=7", "64+7=71" ]
Current State: 71:[42, 22, 1, 8], Operations: [] Exploring Operation: 42+22=64, Resulting Numbers: [1, 8, 64] Generated Node #2: [1, 8, 64] from Operation: 42+22=64 Current State: 71:[1, 8, 64], Operations: ['42+22=64'] Exploring Operation: 8-1=7, Resulting Numbers: [64, 7] Generated Node #3: [64, 7] from Operation: 8-1=7 Current State: 71:[64, 7], Operations: ['42+22=64', '8-1=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[42, 22, 1, 8], Operations: [] Exploring Operation: 42+22=64, Resulting Numbers: [1, 8, 64] Generated Node #0,0: 71:[1, 8, 64] Operation: 42+22=64 Exploring Operation: 42+1=43, Resulting Numbers: [22, 8, 43] Generated Node #0,1: 71:[22, 8, 43] Operation: 42+1=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[1, 8, 64], Operations: ['42+22=64'] Exploring Operation: 1+8=9, Resulting Numbers: [64, 9] Generated Node #0,0,0: 71:[64, 9] Operation: 1+8=9 Exploring Operation: 1+64=65, Resulting Numbers: [8, 65] Generated Node #0,0,1: 71:[8, 65] Operation: 1+64=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[64, 9], Operations: ['42+22=64', '1+8=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[8, 65], Operations: ['42+22=64', '1+64=65'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[22, 8, 43], Operations: ['42+1=43'] Exploring Operation: 22+8=30, Resulting Numbers: [43, 30] Generated Node #0,1,0: 71:[43, 30] Operation: 22+8=30 Exploring Operation: 22+43=65, Resulting Numbers: [8, 65] Generated Node #0,1,1: 71:[8, 65] Operation: 22+43=65 Moving to Node #0,1,0 Current State: 71:[43, 30], Operations: ['42+1=43', '22+8=30'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[8, 65], Operations: ['42+1=43', '22+43=65'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 77, 4, 92, 63 ]
37
[ "77-63=14", "92/4=23", "14+23=37" ]
Current State: 37:[77, 4, 92, 63], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [4, 92, 14] Generated Node #2: [4, 92, 14] from Operation: 77-63=14 Current State: 37:[4, 92, 14], Operations: ['77-63=14'] Exploring Operation: 92/4=23, Resulting Numbers: [14, 23] Generated Node #3: [14, 23] from Operation: 92/4=23 Current State: 37:[14, 23], Operations: ['77-63=14', '92/4=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[77, 4, 92, 63], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [4, 63, 15] Generated Node #0,0: 37:[4, 63, 15] Operation: 92-77=15 Exploring Operation: 77-63=14, Resulting Numbers: [4, 92, 14] Generated Node #0,1: 37:[4, 92, 14] Operation: 77-63=14 Exploring Operation: 92-63=29, Resulting Numbers: [77, 4, 29] Generated Node #0,2: 37:[77, 4, 29] Operation: 92-63=29 Exploring Operation: 92/4=23, Resulting Numbers: [77, 63, 23] Generated Node #0,3: 37:[77, 63, 23] Operation: 92/4=23 Moving to Node #0,3 Current State: 37:[77, 63, 23], Operations: ['92/4=23'] Exploring Operation: 77-23=54, Resulting Numbers: [63, 54] Generated Node #0,3,0: 37:[63, 54] Operation: 77-23=54 Exploring Operation: 77+23=100, Resulting Numbers: [63, 100] Generated Node #0,3,1: 37:[63, 100] Operation: 77+23=100 Exploring Operation: 77-63=14, Resulting Numbers: [23, 14] Generated Node #0,3,2: 37:[23, 14] Operation: 77-63=14 Exploring Operation: 63-23=40, Resulting Numbers: [77, 40] Generated Node #0,3,3: 37:[77, 40] Operation: 63-23=40 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[23, 14], Operations: ['92/4=23', '77-63=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[77, 4, 92, 63], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [77, 63, 23] Generated Node #0,3: 37:[77, 63, 23] Operation: 92/4=23 Moving to Node #0,3 Current State: 37:[77, 63, 23], Operations: ['92/4=23'] Exploring Operation: 77-63=14, Resulting Numbers: [23, 14] Generated Node #0,3,2: 37:[23, 14] Operation: 77-63=14 Moving to Node #0,3,2 Current State: 37:[23, 14], Operations: ['92/4=23', '77-63=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 4, 57, 59, 48 ]
26
[ "4+48=52", "59-57=2", "52/2=26" ]
Current State: 26:[4, 57, 59, 48], Operations: [] Exploring Operation: 4+48=52, Resulting Numbers: [57, 59, 52] Generated Node #2: [57, 59, 52] from Operation: 4+48=52 Current State: 26:[57, 59, 52], Operations: ['4+48=52'] Exploring Operation: 59-57=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 59-57=2 Current State: 26:[52, 2], Operations: ['4+48=52', '59-57=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[4, 57, 59, 48], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [4, 57, 11] Generated Node #0,0: 26:[4, 57, 11] Operation: 59-48=11 Exploring Operation: 59-57=2, Resulting Numbers: [4, 48, 2] Generated Node #0,1: 26:[4, 48, 2] Operation: 59-57=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[4, 48, 2], Operations: ['59-57=2'] Exploring Operation: 48/4=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 26:[2, 12] Operation: 48/4=12 Exploring Operation: 48/2=24, Resulting Numbers: [4, 24] Generated Node #0,1,1: 26:[4, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[2, 12], Operations: ['59-57=2', '48/4=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,26 unequal: No Solution No 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: 26:[4, 24], Operations: ['59-57=2', '48/2=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,26 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: 26:[4, 57, 11], Operations: ['59-48=11'] Exploring Operation: 57-4=53, Resulting Numbers: [11, 53] Generated Node #0,0,0: 26:[11, 53] Operation: 57-4=53 Exploring Operation: 57-11=46, Resulting Numbers: [4, 46] Generated Node #0,0,1: 26:[4, 46] Operation: 57-11=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[4, 46], Operations: ['59-48=11', '57-11=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,26 unequal: No Solution No 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: 26:[11, 53], Operations: ['59-48=11', '57-4=53'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,26 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
[ 24, 59, 37, 59 ]
14
[ "37-24=13", "59/59=1", "13+1=14" ]
Current State: 14:[24, 59, 37, 59], Operations: [] Exploring Operation: 37-24=13, Resulting Numbers: [59, 59, 13] Generated Node #2: [59, 59, 13] from Operation: 37-24=13 Current State: 14:[59, 59, 13], Operations: ['37-24=13'] Exploring Operation: 59/59=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 59/59=1 Current State: 14:[13, 1], Operations: ['37-24=13', '59/59=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[24, 59, 37, 59], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [24, 59, 22] Generated Node #0,0: 14:[24, 59, 22] Operation: 59-37=22 Exploring Operation: 59/59=1, Resulting Numbers: [24, 37, 1] Generated Node #0,1: 14:[24, 37, 1] Operation: 59/59=1 Exploring Operation: 59-59=0, Resulting Numbers: [24, 37, 0] Generated Node #0,2: 14:[24, 37, 0] Operation: 59-59=0 Moving to Node #0,1 Current State: 14:[24, 37, 1], Operations: ['59/59=1'] Exploring Operation: 37-24=13, Resulting Numbers: [1, 13] Generated Node #0,1,0: 14:[1, 13] Operation: 37-24=13 Exploring Operation: 24-1=23, Resulting Numbers: [37, 23] Generated Node #0,1,1: 14:[37, 23] Operation: 24-1=23 Exploring Operation: 37-1=36, Resulting Numbers: [24, 36] Generated Node #0,1,2: 14:[24, 36] Operation: 37-1=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[1, 13], Operations: ['59/59=1', '37-24=13'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[24, 59, 37, 59], Operations: [] Exploring Operation: 59/59=1, Resulting Numbers: [24, 37, 1] Generated Node #0,1: 14:[24, 37, 1] Operation: 59/59=1 Moving to Node #0,1 Current State: 14:[24, 37, 1], Operations: ['59/59=1'] Exploring Operation: 37-24=13, Resulting Numbers: [1, 13] Generated Node #0,1,0: 14:[1, 13] Operation: 37-24=13 Moving to Node #0,1,0 Current State: 14:[1, 13], Operations: ['59/59=1', '37-24=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 67, 69, 67, 53 ]
12
[ "69-67=2", "67-53=14", "14-2=12" ]
Current State: 12:[67, 69, 67, 53], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [53, 2] Generated Node #2: [53, 2] from Operation: 69-67=2 Current State: 12:[53, 2], Operations: ['69-67=2'] Exploring Operation: 67-53=14, Resulting Numbers: [2, 14] Generated Node #3: [2, 14] from Operation: 67-53=14 Current State: 12:[2, 14], Operations: ['69-67=2', '67-53=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[67, 69, 67, 53], Operations: [] Exploring Operation: 67/67=1, Resulting Numbers: [69, 53, 1] Generated Node #0,0: 12:[69, 53, 1] Operation: 67/67=1 Exploring Operation: 69-67=2, Resulting Numbers: [67, 53, 2] Generated Node #0,1: 12:[67, 53, 2] Operation: 69-67=2 Exploring Operation: 69-67=2, Resulting Numbers: [67, 53, 2] Generated Node #0,2: 12:[67, 53, 2] Operation: 69-67=2 Moving to Node #0,1 Current State: 12:[67, 53, 2], Operations: ['69-67=2'] Exploring Operation: 53-2=51, Resulting Numbers: [67, 51] Generated Node #0,1,0: 12:[67, 51] Operation: 53-2=51 Exploring Operation: 67-53=14, Resulting Numbers: [2, 14] Generated Node #0,1,1: 12:[2, 14] Operation: 67-53=14 Exploring Operation: 67-2=65, Resulting Numbers: [53, 65] Generated Node #0,1,2: 12:[53, 65] Operation: 67-2=65 Moving to Node #0,2 Current State: 12:[67, 53, 2], Operations: ['69-67=2'] Exploring Operation: 53-2=51, Resulting Numbers: [67, 51] Generated Node #0,2,0: 12:[67, 51] Operation: 53-2=51 Exploring Operation: 67-53=14, Resulting Numbers: [2, 14] Generated Node #0,2,1: 12:[2, 14] Operation: 67-53=14 Exploring Operation: 67-2=65, Resulting Numbers: [53, 65] Generated Node #0,2,2: 12:[53, 65] Operation: 67-2=65 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[2, 14], Operations: ['69-67=2', '67-53=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[67, 69, 67, 53], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [67, 53, 2] Generated Node #0,2: 12:[67, 53, 2] Operation: 69-67=2 Moving to Node #0,2 Current State: 12:[67, 53, 2], Operations: ['69-67=2'] Exploring Operation: 67-53=14, Resulting Numbers: [2, 14] Generated Node #0,2,1: 12:[2, 14] Operation: 67-53=14 Moving to Node #0,2,1 Current State: 12:[2, 14], Operations: ['69-67=2', '67-53=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 36, 9, 98, 3 ]
97
[ "36/9=4", "98+3=101", "101-4=97" ]
Current State: 97:[36, 9, 98, 3], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [98, 3, 4] Generated Node #2: [98, 3, 4] from Operation: 36/9=4 Current State: 97:[98, 3, 4], Operations: ['36/9=4'] Exploring Operation: 98+3=101, Resulting Numbers: [4, 101] Generated Node #3: [4, 101] from Operation: 98+3=101 Current State: 97:[4, 101], Operations: ['36/9=4', '98+3=101'] Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[36, 9, 98, 3], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [36, 98, 27] Generated Node #0,0: 97:[36, 98, 27] Operation: 9*3=27 Exploring Operation: 36+9=45, Resulting Numbers: [98, 3, 45] Generated Node #0,1: 97:[98, 3, 45] Operation: 36+9=45 Exploring Operation: 36*3=108, Resulting Numbers: [9, 98, 108] Generated Node #0,2: 97:[9, 98, 108] Operation: 36*3=108 Exploring Operation: 36+3=39, Resulting Numbers: [9, 98, 39] Generated Node #0,3: 97:[9, 98, 39] Operation: 36+3=39 Moving to Node #0,2 Current State: 97:[9, 98, 108], Operations: ['36*3=108'] Exploring Operation: 98-9=89, Resulting Numbers: [108, 89] Generated Node #0,2,0: 97:[108, 89] Operation: 98-9=89 Exploring Operation: 108-9=99, Resulting Numbers: [98, 99] Generated Node #0,2,1: 97:[98, 99] Operation: 108-9=99 Exploring Operation: 9+108=117, Resulting Numbers: [98, 117] Generated Node #0,2,2: 97:[98, 117] Operation: 9+108=117 Exploring Operation: 9+98=107, Resulting Numbers: [108, 107] Generated Node #0,2,3: 97:[108, 107] Operation: 9+98=107 Moving to Node #0,0 Current State: 97:[36, 98, 27], Operations: ['9*3=27'] Exploring Operation: 36+27=63, Resulting Numbers: [98, 63] Generated Node #0,0,0: 97:[98, 63] Operation: 36+27=63 Exploring Operation: 36-27=9, Resulting Numbers: [98, 9] Generated Node #0,0,1: 97:[98, 9] Operation: 36-27=9 Exploring Operation: 98+27=125, Resulting Numbers: [36, 125] Generated Node #0,0,2: 97:[36, 125] Operation: 98+27=125 Exploring Operation: 98-27=71, Resulting Numbers: [36, 71] Generated Node #0,0,3: 97:[36, 71] Operation: 98-27=71 Moving to Node #0,3 Current State: 97:[9, 98, 39], Operations: ['36+3=39'] Exploring Operation: 98-9=89, Resulting Numbers: [39, 89] Generated Node #0,3,0: 97:[39, 89] Operation: 98-9=89 Exploring Operation: 9+98=107, Resulting Numbers: [39, 107] Generated Node #0,3,1: 97:[39, 107] Operation: 9+98=107 Exploring Operation: 39-9=30, Resulting Numbers: [98, 30] Generated Node #0,3,2: 97:[98, 30] Operation: 39-9=30 Exploring Operation: 9+39=48, Resulting Numbers: [98, 48] Generated Node #0,3,3: 97:[98, 48] Operation: 9+39=48 Moving to Node #0,1 Current State: 97:[98, 3, 45], Operations: ['36+9=45'] Exploring Operation: 98+3=101, Resulting Numbers: [45, 101] Generated Node #0,1,0: 97:[45, 101] Operation: 98+3=101 Exploring Operation: 98-3=95, Resulting Numbers: [45, 95] Generated Node #0,1,1: 97:[45, 95] Operation: 98-3=95 Exploring Operation: 3+45=48, Resulting Numbers: [98, 48] Generated Node #0,1,2: 97:[98, 48] Operation: 3+45=48 Exploring Operation: 3*45=135, Resulting Numbers: [98, 135] Generated Node #0,1,3: 97:[98, 135] Operation: 3*45=135 Moving to Node #0,2,1 Current State: 97:[98, 99], Operations: ['36*3=108', '108-9=99'] Exploring Operation: 98*99=9702, Resulting Numbers: [9702] 9702,97 unequal: No Solution Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 98+99=197, Resulting Numbers: [197] 197,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[108, 89], Operations: ['36*3=108', '98-9=89'] Exploring Operation: 108-89=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 108+89=197, Resulting Numbers: [197] 197,97 unequal: No Solution Exploring Operation: 108*89=9612, Resulting Numbers: [9612] 9612,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[98, 117], Operations: ['36*3=108', '9+108=117'] Exploring Operation: 98+117=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 117-98=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 98*117=11466, Resulting Numbers: [11466] 11466,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[108, 107], Operations: ['36*3=108', '9+98=107'] Exploring Operation: 108+107=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 108*107=11556, Resulting Numbers: [11556] 11556,97 unequal: No Solution Exploring Operation: 108-107=1, Resulting Numbers: [1] 1,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[98, 63], Operations: ['9*3=27', '36+27=63'] Exploring Operation: 98*63=6174, Resulting Numbers: [6174] 6174,97 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 98+63=161, Resulting Numbers: [161] 161,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[98, 135], Operations: ['36+9=45', '3*45=135'] Exploring Operation: 98*135=13230, Resulting Numbers: [13230] 13230,97 unequal: No Solution Exploring Operation: 135-98=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 98+135=233, Resulting Numbers: [233] 233,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[98, 48], Operations: ['36+9=45', '3+45=48'] Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,97 unequal: No Solution Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[98, 48], Operations: ['36+3=39', '9+39=48'] Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,97 unequal: No Solution Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[45, 95], Operations: ['36+9=45', '98-3=95'] Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,97 unequal: No Solution Exploring Operation: 45*95=4275, Resulting Numbers: [4275] 4275,97 unequal: No Solution Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[45, 101], Operations: ['36+9=45', '98+3=101'] Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,97 unequal: No Solution Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[39, 89], Operations: ['36+3=39', '98-9=89'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,97 unequal: No Solution Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,97 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[39, 107], Operations: ['36+3=39', '9+98=107'] Exploring Operation: 39*107=4173, Resulting Numbers: [4173] 4173,97 unequal: No Solution Exploring Operation: 107-39=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 39+107=146, Resulting Numbers: [146] 146,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[98, 30], Operations: ['36+3=39', '39-9=30'] Exploring Operation: 98+30=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 98*30=2940, Resulting Numbers: [2940] 2940,97 unequal: No Solution Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[36, 71], Operations: ['9*3=27', '98-27=71'] Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 36+71=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 36*71=2556, Resulting Numbers: [2556] 2556,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[98, 9], Operations: ['9*3=27', '36-27=9'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[36, 125], Operations: ['9*3=27', '98+27=125'] Exploring Operation: 36+125=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 125-36=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 36*125=4500, Resulting Numbers: [4500] 4500,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 5, 57, 2, 14 ]
45
[ "5+57=62", "62/2=31", "14+31=45" ]
Current State: 45:[5, 57, 2, 14], Operations: [] Exploring Operation: 5+57=62, Resulting Numbers: [2, 14, 62] Generated Node #2: [2, 14, 62] from Operation: 5+57=62 Current State: 45:[2, 14, 62], Operations: ['5+57=62'] Exploring Operation: 62/2=31, Resulting Numbers: [14, 31] Generated Node #3: [14, 31] from Operation: 62/2=31 Current State: 45:[14, 31], Operations: ['5+57=62', '62/2=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[5, 57, 2, 14], Operations: [] Exploring Operation: 57-14=43, Resulting Numbers: [5, 2, 43] Generated Node #0,0: 45:[5, 2, 43] Operation: 57-14=43 Exploring Operation: 57-5=52, Resulting Numbers: [2, 14, 52] Generated Node #0,1: 45:[2, 14, 52] Operation: 57-5=52 Exploring Operation: 5-2=3, Resulting Numbers: [57, 14, 3] Generated Node #0,2: 45:[57, 14, 3] Operation: 5-2=3 Exploring Operation: 57-2=55, Resulting Numbers: [5, 14, 55] Generated Node #0,3: 45:[5, 14, 55] Operation: 57-2=55 Exploring Operation: 14-5=9, Resulting Numbers: [57, 2, 9] Generated Node #0,4: 45:[57, 2, 9] Operation: 14-5=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[5, 2, 43], Operations: ['57-14=43'] Exploring Operation: 5+2=7, Resulting Numbers: [43, 7] Generated Node #0,0,0: 45:[43, 7] Operation: 5+2=7 Exploring Operation: 5*2=10, Resulting Numbers: [43, 10] Generated Node #0,0,1: 45:[43, 10] Operation: 5*2=10 Exploring Operation: 5-2=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 45:[43, 3] Operation: 5-2=3 Exploring Operation: 2+43=45, Resulting Numbers: [5, 45] Generated Node #0,0,3: 45:[5, 45] Operation: 2+43=45 Exploring Operation: 5+43=48, Resulting Numbers: [2, 48] Generated Node #0,0,4: 45:[2, 48] Operation: 5+43=48 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[5, 45], Operations: ['57-14=43', '2+43=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,45 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[43, 3], Operations: ['57-14=43', '5-2=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,45 unequal: No Solution 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 No 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: 45:[43, 10], Operations: ['57-14=43', '5*2=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,45 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[43, 7], Operations: ['57-14=43', '5+2=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[2, 48], Operations: ['57-14=43', '5+43=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[2, 14, 52], Operations: ['57-5=52'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,1,0: 45:[52, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [52, 12] Generated Node #0,1,1: 45:[52, 12] Operation: 14-2=12 Exploring Operation: 2+14=16, Resulting Numbers: [52, 16] Generated Node #0,1,2: 45:[52, 16] Operation: 2+14=16 Exploring Operation: 52-2=50, Resulting Numbers: [14, 50] Generated Node #0,1,3: 45:[14, 50] Operation: 52-2=50 Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,1,4: 45:[2, 38] Operation: 52-14=38 Moving to Node #0,1,3 Current State: 45:[14, 50], Operations: ['57-5=52', '52-2=50'] Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,45 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,1,4 Current State: 45:[2, 38], Operations: ['57-5=52', '52-14=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,45 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[52, 16], Operations: ['57-5=52', '2+14=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,45 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[52, 7], Operations: ['57-5=52', '14/2=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,45 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[5, 57, 2, 14], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [2, 14, 52] Generated Node #0,1: 45:[2, 14, 52] Operation: 57-5=52 Moving to Node #0,1 Current State: 45:[2, 14, 52], Operations: ['57-5=52'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,1,0: 45:[52, 7] Operation: 14/2=7 Moving to Node #0,1,0 Current State: 45:[52, 7], Operations: ['57-5=52', '14/2=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 55, 23, 74, 33 ]
11
[ "23*33=759", "55+759=814", "814/74=11" ]
Current State: 11:[55, 23, 74, 33], Operations: [] Exploring Operation: 23*33=759, Resulting Numbers: [55, 74, 759] Generated Node #2: [55, 74, 759] from Operation: 23*33=759 Current State: 11:[55, 74, 759], Operations: ['23*33=759'] Exploring Operation: 55+759=814, Resulting Numbers: [74, 814] Generated Node #3: [74, 814] from Operation: 55+759=814 Current State: 11:[74, 814], Operations: ['23*33=759', '55+759=814'] Exploring Operation: 814/74=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[55, 23, 74, 33], Operations: [] Exploring Operation: 74-33=41, Resulting Numbers: [55, 23, 41] Generated Node #0,0: 11:[55, 23, 41] Operation: 74-33=41 Exploring Operation: 55-33=22, Resulting Numbers: [23, 74, 22] Generated Node #0,1: 11:[23, 74, 22] Operation: 55-33=22 Exploring Operation: 74-55=19, Resulting Numbers: [23, 33, 19] Generated Node #0,2: 11:[23, 33, 19] Operation: 74-55=19 Exploring Operation: 55-23=32, Resulting Numbers: [74, 33, 32] Generated Node #0,3: 11:[74, 33, 32] Operation: 55-23=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[23, 33, 19], Operations: ['74-55=19'] Exploring Operation: 23-19=4, Resulting Numbers: [33, 4] Generated Node #0,2,0: 11:[33, 4] Operation: 23-19=4 Exploring Operation: 33-19=14, Resulting Numbers: [23, 14] Generated Node #0,2,1: 11:[23, 14] Operation: 33-19=14 Exploring Operation: 23+33=56, Resulting Numbers: [19, 56] Generated Node #0,2,2: 11:[19, 56] Operation: 23+33=56 Exploring Operation: 33-23=10, Resulting Numbers: [19, 10] Generated Node #0,2,3: 11:[19, 10] Operation: 33-23=10 Moving to Node #0,2,3 Current State: 11:[19, 10], Operations: ['74-55=19', '33-23=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,11 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[23, 14], Operations: ['74-55=19', '33-19=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,11 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[33, 4], Operations: ['74-55=19', '23-19=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,11 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[19, 56], Operations: ['74-55=19', '23+33=56'] Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,11 unequal: No Solution No 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: 11:[55, 23, 41], Operations: ['74-33=41'] Exploring Operation: 55+23=78, Resulting Numbers: [41, 78] Generated Node #0,0,0: 11:[41, 78] Operation: 55+23=78 Exploring Operation: 41-23=18, Resulting Numbers: [55, 18] Generated Node #0,0,1: 11:[55, 18] Operation: 41-23=18 Exploring Operation: 55-23=32, Resulting Numbers: [41, 32] Generated Node #0,0,2: 11:[41, 32] Operation: 55-23=32 Exploring Operation: 55-41=14, Resulting Numbers: [23, 14] Generated Node #0,0,3: 11:[23, 14] Operation: 55-41=14 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 11:[23, 14], Operations: ['74-33=41', '55-41=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,11 unequal: No Solution No 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: 11:[55, 18], Operations: ['74-33=41', '41-23=18'] Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,11 unequal: No Solution No 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: 11:[41, 32], Operations: ['74-33=41', '55-23=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,11 unequal: No Solution No 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: 11:[41, 78], Operations: ['74-33=41', '55+23=78'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 41*78=3198, Resulting Numbers: [3198] 3198,11 unequal: No Solution Exploring Operation: 41+78=119, Resulting Numbers: [119] 119,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[23, 74, 22], Operations: ['55-33=22'] Exploring Operation: 23+74=97, Resulting Numbers: [22, 97] Generated Node #0,1,0: 11:[22, 97] Operation: 23+74=97 Exploring Operation: 23-22=1, Resulting Numbers: [74, 1] Generated Node #0,1,1: 11:[74, 1] Operation: 23-22=1 Exploring Operation: 74-22=52, Resulting Numbers: [23, 52] Generated Node #0,1,2: 11:[23, 52] Operation: 74-22=52 Exploring Operation: 74-23=51, Resulting Numbers: [22, 51] Generated Node #0,1,3: 11:[22, 51] Operation: 74-23=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 11:[22, 51], Operations: ['55-33=22', '74-23=51'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,11 unequal: No Solution Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,11 unequal: No Solution No 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: 11:[23, 52], Operations: ['55-33=22', '74-22=52'] Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 23*52=1196, Resulting Numbers: [1196] 1196,11 unequal: No Solution Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,11 unequal: No Solution No 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: 11:[74, 1], Operations: ['55-33=22', '23-22=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,11 unequal: No Solution No 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: 11:[22, 97], Operations: ['55-33=22', '23+74=97'] Exploring Operation: 22*97=2134, Resulting Numbers: [2134] 2134,11 unequal: No Solution Exploring Operation: 22+97=119, Resulting Numbers: [119] 119,11 unequal: No Solution Exploring Operation: 97-22=75, Resulting Numbers: [75] 75,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[74, 33, 32], Operations: ['55-23=32'] Exploring Operation: 33-32=1, Resulting Numbers: [74, 1] Generated Node #0,3,0: 11:[74, 1] Operation: 33-32=1 Exploring Operation: 74-32=42, Resulting Numbers: [33, 42] Generated Node #0,3,1: 11:[33, 42] Operation: 74-32=42 Exploring Operation: 74-33=41, Resulting Numbers: [32, 41] Generated Node #0,3,2: 11:[32, 41] Operation: 74-33=41 Exploring Operation: 74+33=107, Resulting Numbers: [32, 107] Generated Node #0,3,3: 11:[32, 107] Operation: 74+33=107 Moving to Node #0,3,2 Current State: 11:[32, 41], Operations: ['55-23=32', '74-33=41'] Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,11 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[33, 42], Operations: ['55-23=32', '74-32=42'] Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[74, 1], Operations: ['55-23=32', '33-32=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[32, 107], Operations: ['55-23=32', '74+33=107'] Exploring Operation: 32+107=139, Resulting Numbers: [139] 139,11 unequal: No Solution Exploring Operation: 107-32=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 32*107=3424, Resulting Numbers: [3424] 3424,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 72, 11, 7, 50 ]
77
[ "72-11=61", "61-50=11", "7*11=77" ]
Current State: 77:[72, 11, 7, 50], Operations: [] Exploring Operation: 72-11=61, Resulting Numbers: [7, 50, 61] Generated Node #2: [7, 50, 61] from Operation: 72-11=61 Current State: 77:[7, 50, 61], Operations: ['72-11=61'] Exploring Operation: 61-50=11, Resulting Numbers: [7, 11] Generated Node #3: [7, 11] from Operation: 61-50=11 Current State: 77:[7, 11], Operations: ['72-11=61', '61-50=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[72, 11, 7, 50], Operations: [] Exploring Operation: 11+50=61, Resulting Numbers: [72, 7, 61] Generated Node #0,0: 77:[72, 7, 61] Operation: 11+50=61 Exploring Operation: 72-50=22, Resulting Numbers: [11, 7, 22] Generated Node #0,1: 77:[11, 7, 22] Operation: 72-50=22 Exploring Operation: 7+50=57, Resulting Numbers: [72, 11, 57] Generated Node #0,2: 77:[72, 11, 57] Operation: 7+50=57 Moving to Node #0,1 Current State: 77:[11, 7, 22], Operations: ['72-50=22'] Exploring Operation: 22-11=11, Resulting Numbers: [7, 11] Generated Node #0,1,0: 77:[7, 11] Operation: 22-11=11 Exploring Operation: 22-7=15, Resulting Numbers: [11, 15] Generated Node #0,1,1: 77:[11, 15] Operation: 22-7=15 Exploring Operation: 22/11=2, Resulting Numbers: [7, 2] Generated Node #0,1,2: 77:[7, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[7, 11], Operations: ['72-50=22', '22-11=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[72, 11, 7, 50], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [11, 7, 22] Generated Node #0,1: 77:[11, 7, 22] Operation: 72-50=22 Moving to Node #0,1 Current State: 77:[11, 7, 22], Operations: ['72-50=22'] Exploring Operation: 22-11=11, Resulting Numbers: [7, 11] Generated Node #0,1,0: 77:[7, 11] Operation: 22-11=11 Moving to Node #0,1,0 Current State: 77:[7, 11], Operations: ['72-50=22', '22-11=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 70, 4, 71, 99 ]
42
[ "99-71=28", "4*28=112", "112-70=42" ]
Current State: 42:[70, 4, 71, 99], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [70, 4, 28] Generated Node #2: [70, 4, 28] from Operation: 99-71=28 Current State: 42:[70, 4, 28], Operations: ['99-71=28'] Exploring Operation: 4*28=112, Resulting Numbers: [70, 112] Generated Node #3: [70, 112] from Operation: 4*28=112 Current State: 42:[70, 112], Operations: ['99-71=28', '4*28=112'] Exploring Operation: 112-70=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[70, 4, 71, 99], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [4, 99, 1] Generated Node #0,0: 42:[4, 99, 1] Operation: 71-70=1 Exploring Operation: 70-4=66, Resulting Numbers: [71, 99, 66] Generated Node #0,1: 42:[71, 99, 66] Operation: 70-4=66 Exploring Operation: 71-4=67, Resulting Numbers: [70, 99, 67] Generated Node #0,2: 42:[70, 99, 67] Operation: 71-4=67 Exploring Operation: 99-70=29, Resulting Numbers: [4, 71, 29] Generated Node #0,3: 42:[4, 71, 29] Operation: 99-70=29 Exploring Operation: 99-71=28, Resulting Numbers: [70, 4, 28] Generated Node #0,4: 42:[70, 4, 28] Operation: 99-71=28 Moving to Node #0,4 Current State: 42:[70, 4, 28], Operations: ['99-71=28'] Exploring Operation: 70-28=42, Resulting Numbers: [4, 42] Generated Node #0,4,0: 42:[4, 42] Operation: 70-28=42 Exploring Operation: 28/4=7, Resulting Numbers: [70, 7] Generated Node #0,4,1: 42:[70, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [70, 24] Generated Node #0,4,2: 42:[70, 24] Operation: 28-4=24 Exploring Operation: 70-4=66, Resulting Numbers: [28, 66] Generated Node #0,4,3: 42:[28, 66] Operation: 70-4=66 Exploring Operation: 4+28=32, Resulting Numbers: [70, 32] Generated Node #0,4,4: 42:[70, 32] Operation: 4+28=32 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[4, 42], Operations: ['99-71=28', '70-28=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[70, 7], Operations: ['99-71=28', '28/4=7'] Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,42 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 42:[70, 24], Operations: ['99-71=28', '28-4=24'] Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,42 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 42:[28, 66], Operations: ['99-71=28', '70-4=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 42:[70, 32], Operations: ['99-71=28', '4+28=32'] Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,42 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,42 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: 42:[4, 71, 29], Operations: ['99-70=29'] Exploring Operation: 71-29=42, Resulting Numbers: [4, 42] Generated Node #0,3,0: 42:[4, 42] Operation: 71-29=42 Exploring Operation: 4+71=75, Resulting Numbers: [29, 75] Generated Node #0,3,1: 42:[29, 75] Operation: 4+71=75 Exploring Operation: 29-4=25, Resulting Numbers: [71, 25] Generated Node #0,3,2: 42:[71, 25] Operation: 29-4=25 Exploring Operation: 4+29=33, Resulting Numbers: [71, 33] Generated Node #0,3,3: 42:[71, 33] Operation: 4+29=33 Exploring Operation: 71-4=67, Resulting Numbers: [29, 67] Generated Node #0,3,4: 42:[29, 67] Operation: 71-4=67 Moving to Node #0,0 Current State: 42:[4, 99, 1], Operations: ['71-70=1'] Exploring Operation: 4*1=4, Resulting Numbers: [99, 4] Generated Node #0,0,0: 42:[99, 4] Operation: 4*1=4 Exploring Operation: 4+1=5, Resulting Numbers: [99, 5] Generated Node #0,0,1: 42:[99, 5] Operation: 4+1=5 Exploring Operation: 99-1=98, Resulting Numbers: [4, 98] Generated Node #0,0,2: 42:[4, 98] Operation: 99-1=98 Exploring Operation: 4-1=3, Resulting Numbers: [99, 3] Generated Node #0,0,3: 42:[99, 3] Operation: 4-1=3 Exploring Operation: 99-4=95, Resulting Numbers: [1, 95] Generated Node #0,0,4: 42:[1, 95] Operation: 99-4=95 Moving to Node #0,1 Current State: 42:[71, 99, 66], Operations: ['70-4=66'] Exploring Operation: 99-66=33, Resulting Numbers: [71, 33] Generated Node #0,1,0: 42:[71, 33] Operation: 99-66=33 Exploring Operation: 99-71=28, Resulting Numbers: [66, 28] Generated Node #0,1,1: 42:[66, 28] Operation: 99-71=28 Exploring Operation: 71-66=5, Resulting Numbers: [99, 5] Generated Node #0,1,2: 42:[99, 5] Operation: 71-66=5 Exploring Operation: 71+66=137, Resulting Numbers: [99, 137] Generated Node #0,1,3: 42:[99, 137] Operation: 71+66=137 Exploring Operation: 71+99=170, Resulting Numbers: [66, 170] Generated Node #0,1,4: 42:[66, 170] Operation: 71+99=170 Moving to Node #0,2 Current State: 42:[70, 99, 67], Operations: ['71-4=67'] Exploring Operation: 70+67=137, Resulting Numbers: [99, 137] Generated Node #0,2,0: 42:[99, 137] Operation: 70+67=137 Exploring Operation: 99-70=29, Resulting Numbers: [67, 29] Generated Node #0,2,1: 42:[67, 29] Operation: 99-70=29 Exploring Operation: 99-67=32, Resulting Numbers: [70, 32] Generated Node #0,2,2: 42:[70, 32] Operation: 99-67=32 Exploring Operation: 70-67=3, Resulting Numbers: [99, 3] Generated Node #0,2,3: 42:[99, 3] Operation: 70-67=3 Exploring Operation: 70+99=169, Resulting Numbers: [67, 169] Generated Node #0,2,4: 42:[67, 169] Operation: 70+99=169 Moving to Node #0,3,0 Current State: 42:[4, 42], Operations: ['99-70=29', '71-29=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[66, 28], Operations: ['70-4=66', '99-71=28'] Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,42 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,3,4 Current State: 42:[29, 67], Operations: ['99-70=29', '71-4=67'] Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,42 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[71, 25], Operations: ['99-70=29', '29-4=25'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,42 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[67, 29], Operations: ['71-4=67', '99-70=29'] Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[71, 33], Operations: ['70-4=66', '99-66=33'] Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,42 unequal: No Solution Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[71, 33], Operations: ['99-70=29', '4+29=33'] Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[70, 32], Operations: ['71-4=67', '99-67=32'] Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,42 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,42 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[29, 75], Operations: ['99-70=29', '4+71=75'] Exploring Operation: 29+75=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 29*75=2175, Resulting Numbers: [2175] 2175,42 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,42 unequal: No Solution Moving to Node #0,0,4 Current State: 42:[1, 95], Operations: ['71-70=1', '99-4=95'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 1+95=96, Resulting Numbers: [96] 96,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[4, 98], Operations: ['71-70=1', '99-1=98'] Exploring Operation: 4*98=392, Resulting Numbers: [392] 392,42 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 4+98=102, Resulting Numbers: [102] 102,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[99, 3], Operations: ['71-4=67', '70-67=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 99*3=297, Resulting Numbers: [297] 297,42 unequal: No Solution Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,42 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[99, 3], Operations: ['71-70=1', '4-1=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 99*3=297, Resulting Numbers: [297] 297,42 unequal: No Solution Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[99, 5], Operations: ['70-4=66', '71-66=5'] Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,42 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[99, 5], Operations: ['71-70=1', '4+1=5'] Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,42 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[99, 4], Operations: ['71-70=1', '4*1=4'] Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,42 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[99, 137], Operations: ['71-4=67', '70+67=137'] Exploring Operation: 99*137=13563, Resulting Numbers: [13563] 13563,42 unequal: No Solution Exploring Operation: 137-99=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 99+137=236, Resulting Numbers: [236] 236,42 unequal: No Solution Moving to Node #0,2,4 Current State: 42:[67, 169], Operations: ['71-4=67', '70+99=169'] Exploring Operation: 67*169=11323, Resulting Numbers: [11323] 11323,42 unequal: No Solution Exploring Operation: 67+169=236, Resulting Numbers: [236] 236,42 unequal: No Solution Exploring Operation: 169-67=102, Resulting Numbers: [102] 102,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[66, 170], Operations: ['70-4=66', '71+99=170'] Exploring Operation: 66*170=11220, Resulting Numbers: [11220] 11220,42 unequal: No Solution Exploring Operation: 170-66=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 66+170=236, Resulting Numbers: [236] 236,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[99, 137], Operations: ['70-4=66', '71+66=137'] Exploring Operation: 137-99=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 99+137=236, Resulting Numbers: [236] 236,42 unequal: No Solution Exploring Operation: 99*137=13563, Resulting Numbers: [13563] 13563,42 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 91, 43, 66, 32 ]
44
[ "91-43=48", "66*32=2112", "2112/48=44" ]
Current State: 44:[91, 43, 66, 32], Operations: [] Exploring Operation: 91-43=48, Resulting Numbers: [66, 32, 48] Generated Node #2: [66, 32, 48] from Operation: 91-43=48 Current State: 44:[66, 32, 48], Operations: ['91-43=48'] Exploring Operation: 66*32=2112, Resulting Numbers: [48, 2112] Generated Node #3: [48, 2112] from Operation: 66*32=2112 Current State: 44:[48, 2112], Operations: ['91-43=48', '66*32=2112'] Exploring Operation: 2112/48=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[91, 43, 66, 32], Operations: [] Exploring Operation: 91-43=48, Resulting Numbers: [66, 32, 48] Generated Node #0,0: 44:[66, 32, 48] Operation: 91-43=48 Exploring Operation: 91-66=25, Resulting Numbers: [43, 32, 25] Generated Node #0,1: 44:[43, 32, 25] Operation: 91-66=25 Moving to Node #0,1 Current State: 44:[43, 32, 25], Operations: ['91-66=25'] Exploring Operation: 43-32=11, Resulting Numbers: [25, 11] Generated Node #0,1,0: 44:[25, 11] Operation: 43-32=11 Exploring Operation: 32-25=7, Resulting Numbers: [43, 7] Generated Node #0,1,1: 44:[43, 7] Operation: 32-25=7 Moving to Node #0,0 Current State: 44:[66, 32, 48], Operations: ['91-43=48'] Exploring Operation: 66-32=34, Resulting Numbers: [48, 34] Generated Node #0,0,0: 44:[48, 34] Operation: 66-32=34 Exploring Operation: 66-48=18, Resulting Numbers: [32, 18] Generated Node #0,0,1: 44:[32, 18] Operation: 66-48=18 Moving to Node #0,1,0 Current State: 44:[25, 11], Operations: ['91-66=25', '43-32=11'] Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[43, 7], Operations: ['91-66=25', '32-25=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[32, 18], Operations: ['91-43=48', '66-48=18'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[48, 34], Operations: ['91-43=48', '66-32=34'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 70, 74, 65 ]
67
[ "65-55=10", "70/10=7", "74-7=67" ]
Current State: 67:[55, 70, 74, 65], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [70, 74, 10] Generated Node #2: [70, 74, 10] from Operation: 65-55=10 Current State: 67:[70, 74, 10], Operations: ['65-55=10'] Exploring Operation: 70/10=7, Resulting Numbers: [74, 7] Generated Node #3: [74, 7] from Operation: 70/10=7 Current State: 67:[74, 7], Operations: ['65-55=10', '70/10=7'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[55, 70, 74, 65], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [70, 65, 19] Generated Node #0,0: 67:[70, 65, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 67:[70, 65, 19], Operations: ['74-55=19'] Exploring Operation: 70-19=51, Resulting Numbers: [65, 51] Generated Node #0,0,0: 67:[65, 51] Operation: 70-19=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[65, 51], Operations: ['74-55=19', '70-19=51'] Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 82, 37, 59, 17 ]
52
[ "82+37=119", "119/17=7", "59-7=52" ]
Current State: 52:[82, 37, 59, 17], Operations: [] Exploring Operation: 82+37=119, Resulting Numbers: [59, 17, 119] Generated Node #2: [59, 17, 119] from Operation: 82+37=119 Current State: 52:[59, 17, 119], Operations: ['82+37=119'] Exploring Operation: 119/17=7, Resulting Numbers: [59, 7] Generated Node #3: [59, 7] from Operation: 119/17=7 Current State: 52:[59, 7], Operations: ['82+37=119', '119/17=7'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[82, 37, 59, 17], Operations: [] Exploring Operation: 82-37=45, Resulting Numbers: [59, 17, 45] Generated Node #0,0: 52:[59, 17, 45] Operation: 82-37=45 Exploring Operation: 82-59=23, Resulting Numbers: [37, 17, 23] Generated Node #0,1: 52:[37, 17, 23] Operation: 82-59=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[59, 17, 45], Operations: ['82-37=45'] Exploring Operation: 45-17=28, Resulting Numbers: [59, 28] Generated Node #0,0,0: 52:[59, 28] Operation: 45-17=28 Exploring Operation: 59-45=14, Resulting Numbers: [17, 14] Generated Node #0,0,1: 52:[17, 14] Operation: 59-45=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[17, 14], Operations: ['82-37=45', '59-45=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[59, 28], Operations: ['82-37=45', '45-17=28'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[37, 17, 23], Operations: ['82-59=23'] Exploring Operation: 37-23=14, Resulting Numbers: [17, 14] Generated Node #0,1,0: 52:[17, 14] Operation: 37-23=14 Exploring Operation: 37+17=54, Resulting Numbers: [23, 54] Generated Node #0,1,1: 52:[23, 54] Operation: 37+17=54 Moving to Node #0,1,0 Current State: 52:[17, 14], Operations: ['82-59=23', '37-23=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[23, 54], Operations: ['82-59=23', '37+17=54'] Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 5, 84, 10, 12 ]
36
[ "10/5=2", "84-12=72", "72/2=36" ]
Current State: 36:[5, 84, 10, 12], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [84, 12, 2] Generated Node #2: [84, 12, 2] from Operation: 10/5=2 Current State: 36:[84, 12, 2], Operations: ['10/5=2'] Exploring Operation: 84-12=72, Resulting Numbers: [2, 72] Generated Node #3: [2, 72] from Operation: 84-12=72 Current State: 36:[2, 72], Operations: ['10/5=2', '84-12=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[5, 84, 10, 12], Operations: [] Exploring Operation: 84-12=72, Resulting Numbers: [5, 10, 72] Generated Node #0,0: 36:[5, 10, 72] Operation: 84-12=72 Exploring Operation: 84/12=7, Resulting Numbers: [5, 10, 7] Generated Node #0,1: 36:[5, 10, 7] Operation: 84/12=7 Exploring Operation: 84-10=74, Resulting Numbers: [5, 12, 74] Generated Node #0,2: 36:[5, 12, 74] Operation: 84-10=74 Moving to Node #0,1 Current State: 36:[5, 10, 7], Operations: ['84/12=7'] Exploring Operation: 5+7=12, Resulting Numbers: [10, 12] Generated Node #0,1,0: 36:[10, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 36:[10, 2] Operation: 7-5=2 Exploring Operation: 10/5=2, Resulting Numbers: [7, 2] Generated Node #0,1,2: 36:[7, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[10, 12], Operations: ['84/12=7', '5+7=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[10, 2], Operations: ['84/12=7', '7-5=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[7, 2], Operations: ['84/12=7', '10/5=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,36 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: 36:[5, 10, 72], Operations: ['84-12=72'] Exploring Operation: 72-5=67, Resulting Numbers: [10, 67] Generated Node #0,0,0: 36:[10, 67] Operation: 72-5=67 Exploring Operation: 72-10=62, Resulting Numbers: [5, 62] Generated Node #0,0,1: 36:[5, 62] Operation: 72-10=62 Exploring Operation: 10/5=2, Resulting Numbers: [72, 2] Generated Node #0,0,2: 36:[72, 2] Operation: 10/5=2 Moving to Node #0,2 Current State: 36:[5, 12, 74], Operations: ['84-10=74'] Exploring Operation: 74-12=62, Resulting Numbers: [5, 62] Generated Node #0,2,0: 36:[5, 62] Operation: 74-12=62 Exploring Operation: 5+12=17, Resulting Numbers: [74, 17] Generated Node #0,2,1: 36:[74, 17] Operation: 5+12=17 Exploring Operation: 74-5=69, Resulting Numbers: [12, 69] Generated Node #0,2,2: 36:[12, 69] Operation: 74-5=69 Moving to Node #0,0,1 Current State: 36:[5, 62], Operations: ['84-12=72', '72-10=62'] Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[5, 62], Operations: ['84-10=74', '74-12=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[10, 67], Operations: ['84-12=72', '72-5=67'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,36 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[12, 69], Operations: ['84-10=74', '74-5=69'] Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,36 unequal: No Solution Exploring Operation: 12*69=828, Resulting Numbers: [828] 828,36 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[72, 2], Operations: ['84-12=72', '10/5=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[5, 84, 10, 12], Operations: [] Exploring Operation: 84-12=72, Resulting Numbers: [5, 10, 72] Generated Node #0,0: 36:[5, 10, 72] Operation: 84-12=72 Moving to Node #0,0 Current State: 36:[5, 10, 72], Operations: ['84-12=72'] Exploring Operation: 10/5=2, Resulting Numbers: [72, 2] Generated Node #0,0,2: 36:[72, 2] Operation: 10/5=2 Moving to Node #0,0,2 Current State: 36:[72, 2], Operations: ['84-12=72', '10/5=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 26, 90, 44, 20 ]
59
[ "26-20=6", "90/6=15", "44+15=59" ]
Current State: 59:[26, 90, 44, 20], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [90, 44, 6] Generated Node #2: [90, 44, 6] from Operation: 26-20=6 Current State: 59:[90, 44, 6], Operations: ['26-20=6'] Exploring Operation: 90/6=15, Resulting Numbers: [44, 15] Generated Node #3: [44, 15] from Operation: 90/6=15 Current State: 59:[44, 15], Operations: ['26-20=6', '90/6=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[26, 90, 44, 20], Operations: [] Exploring Operation: 44+20=64, Resulting Numbers: [26, 90, 64] Generated Node #0,0: 59:[26, 90, 64] Operation: 44+20=64 Exploring Operation: 90-26=64, Resulting Numbers: [44, 20, 64] Generated Node #0,1: 59:[44, 20, 64] Operation: 90-26=64 Exploring Operation: 26+20=46, Resulting Numbers: [90, 44, 46] Generated Node #0,2: 59:[90, 44, 46] Operation: 26+20=46 Exploring Operation: 90-20=70, Resulting Numbers: [26, 44, 70] Generated Node #0,3: 59:[26, 44, 70] Operation: 90-20=70 Exploring Operation: 26+44=70, Resulting Numbers: [90, 20, 70] Generated Node #0,4: 59:[90, 20, 70] Operation: 26+44=70 Moving to Node #0,1 Current State: 59:[44, 20, 64], Operations: ['90-26=64'] Exploring Operation: 44-20=24, Resulting Numbers: [64, 24] Generated Node #0,1,0: 59:[64, 24] Operation: 44-20=24 Exploring Operation: 20+64=84, Resulting Numbers: [44, 84] Generated Node #0,1,1: 59:[44, 84] Operation: 20+64=84 Exploring Operation: 64-44=20, Resulting Numbers: [20, 20] Generated Node #0,1,2: 59:[20, 20] Operation: 64-44=20 Exploring Operation: 44+20=64, Resulting Numbers: [64, 64] Generated Node #0,1,3: 59:[64, 64] Operation: 44+20=64 Exploring Operation: 64-20=44, Resulting Numbers: [44, 44] Generated Node #0,1,4: 59:[44, 44] Operation: 64-20=44 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[64, 64], Operations: ['90-26=64', '44+20=64'] Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,59 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,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,4 Current State: 59:[44, 44], Operations: ['90-26=64', '64-20=44'] Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,59 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,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:[64, 24], Operations: ['90-26=64', '44-20=24'] Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,59 unequal: No Solution Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,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:[44, 84], Operations: ['90-26=64', '20+64=84'] Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,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:[20, 20], Operations: ['90-26=64', '64-44=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,59 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,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:[26, 44, 70], Operations: ['90-20=70'] Exploring Operation: 44-26=18, Resulting Numbers: [70, 18] Generated Node #0,3,0: 59:[70, 18] Operation: 44-26=18 Exploring Operation: 70-44=26, Resulting Numbers: [26, 26] Generated Node #0,3,1: 59:[26, 26] Operation: 70-44=26 Exploring Operation: 26+70=96, Resulting Numbers: [44, 96] Generated Node #0,3,2: 59:[44, 96] Operation: 26+70=96 Exploring Operation: 26+44=70, Resulting Numbers: [70, 70] Generated Node #0,3,3: 59:[70, 70] Operation: 26+44=70 Exploring Operation: 70-26=44, Resulting Numbers: [44, 44] Generated Node #0,3,4: 59:[44, 44] Operation: 70-26=44 Moving to Node #0,2 Current State: 59:[90, 44, 46], Operations: ['26+20=46'] Exploring Operation: 46-44=2, Resulting Numbers: [90, 2] Generated Node #0,2,0: 59:[90, 2] Operation: 46-44=2 Exploring Operation: 90-44=46, Resulting Numbers: [46, 46] Generated Node #0,2,1: 59:[46, 46] Operation: 90-44=46 Exploring Operation: 90-46=44, Resulting Numbers: [44, 44] Generated Node #0,2,2: 59:[44, 44] Operation: 90-46=44 Exploring Operation: 44+46=90, Resulting Numbers: [90, 90] Generated Node #0,2,3: 59:[90, 90] Operation: 44+46=90 Exploring Operation: 90+44=134, Resulting Numbers: [46, 134] Generated Node #0,2,4: 59:[46, 134] Operation: 90+44=134 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[46, 46], Operations: ['26+20=46', '90-44=46'] Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,59 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[44, 44], Operations: ['26+20=46', '90-46=44'] Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,59 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[90, 90], Operations: ['26+20=46', '44+46=90'] Exploring Operation: 90/90=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 90+90=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 90*90=8100, Resulting Numbers: [8100] 8100,59 unequal: No Solution Exploring Operation: 90-90=0, Resulting Numbers: [0] 0,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[90, 2], Operations: ['26+20=46', '46-44=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 59:[46, 134], Operations: ['26+20=46', '90+44=134'] Exploring Operation: 134-46=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 46+134=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 46*134=6164, Resulting Numbers: [6164] 6164,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:[26, 90, 64], Operations: ['44+20=64'] Exploring Operation: 26+64=90, Resulting Numbers: [90, 90] Generated Node #0,0,0: 59:[90, 90] Operation: 26+64=90 Exploring Operation: 64-26=38, Resulting Numbers: [90, 38] Generated Node #0,0,1: 59:[90, 38] Operation: 64-26=38 Exploring Operation: 90-64=26, Resulting Numbers: [26, 26] Generated Node #0,0,2: 59:[26, 26] Operation: 90-64=26 Exploring Operation: 26+90=116, Resulting Numbers: [64, 116] Generated Node #0,0,3: 59:[64, 116] Operation: 26+90=116 Exploring Operation: 90-26=64, Resulting Numbers: [64, 64] Generated Node #0,0,4: 59:[64, 64] Operation: 90-26=64 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[64, 64], Operations: ['44+20=64', '90-26=64'] Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,59 unequal: No Solution Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,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:[90, 38], Operations: ['44+20=64', '64-26=38'] Exploring Operation: 90+38=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 90*38=3420, Resulting Numbers: [3420] 3420,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,0 Current State: 59:[90, 90], Operations: ['44+20=64', '26+64=90'] Exploring Operation: 90+90=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 90*90=8100, Resulting Numbers: [8100] 8100,59 unequal: No Solution Exploring Operation: 90/90=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 90-90=0, Resulting Numbers: [0] 0,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:[64, 116], Operations: ['44+20=64', '26+90=116'] Exploring Operation: 64+116=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 64*116=7424, Resulting Numbers: [7424] 7424,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:[26, 26], Operations: ['44+20=64', '90-64=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,59 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 59:[90, 20, 70], Operations: ['26+44=70'] Exploring Operation: 20+70=90, Resulting Numbers: [90, 90] Generated Node #0,4,0: 59:[90, 90] Operation: 20+70=90 Exploring Operation: 70-20=50, Resulting Numbers: [90, 50] Generated Node #0,4,1: 59:[90, 50] Operation: 70-20=50 Exploring Operation: 90+20=110, Resulting Numbers: [70, 110] Generated Node #0,4,2: 59:[70, 110] Operation: 90+20=110 Exploring Operation: 90-70=20, Resulting Numbers: [20, 20] Generated Node #0,4,3: 59:[20, 20] Operation: 90-70=20 Exploring Operation: 90-20=70, Resulting Numbers: [70, 70] Generated Node #0,4,4: 59:[70, 70] Operation: 90-20=70 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[70, 70], Operations: ['26+44=70', '90-20=70'] Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,59 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,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,4,1 Current State: 59:[90, 50], Operations: ['26+44=70', '70-20=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 90*50=4500, Resulting Numbers: [4500] 4500,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,4,0 Current State: 59:[90, 90], Operations: ['26+44=70', '20+70=90'] Exploring Operation: 90/90=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 90*90=8100, Resulting Numbers: [8100] 8100,59 unequal: No Solution Exploring Operation: 90-90=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 90+90=180, Resulting Numbers: [180] 180,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,4,2 Current State: 59:[70, 110], Operations: ['26+44=70', '90+20=110'] Exploring Operation: 110-70=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 70*110=7700, Resulting Numbers: [7700] 7700,59 unequal: No Solution Exploring Operation: 70+110=180, Resulting Numbers: [180] 180,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,4,3 Current State: 59:[20, 20], Operations: ['26+44=70', '90-70=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,59 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 59:[70, 70], Operations: ['90-20=70', '26+44=70'] Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[44, 44], Operations: ['90-20=70', '70-26=44'] Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,59 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[70, 18], Operations: ['90-20=70', '44-26=18'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[44, 96], Operations: ['90-20=70', '26+70=96'] Exploring Operation: 44*96=4224, Resulting Numbers: [4224] 4224,59 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 44+96=140, Resulting Numbers: [140] 140,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[26, 26], Operations: ['90-20=70', '70-44=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,59 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 16, 11, 16, 31 ]
42
[ "16+11=27", "31-16=15", "27+15=42" ]
Current State: 42:[16, 11, 16, 31], Operations: [] Exploring Operation: 16+11=27, Resulting Numbers: [31, 27] Generated Node #2: [31, 27] from Operation: 16+11=27 Current State: 42:[31, 27], Operations: ['16+11=27'] Exploring Operation: 31-16=15, Resulting Numbers: [27, 15] Generated Node #3: [27, 15] from Operation: 31-16=15 Current State: 42:[27, 15], Operations: ['16+11=27', '31-16=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[16, 11, 16, 31], Operations: [] Exploring Operation: 11+31=42, Resulting Numbers: [16, 16, 42] Generated Node #0,0: 42:[16, 16, 42] Operation: 11+31=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[16, 16, 42], Operations: ['11+31=42'] Exploring Operation: 16/16=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 42:[42, 1] Operation: 16/16=1 Moving to Node #0,0,0 Current State: 42:[42, 1], Operations: ['11+31=42', '16/16=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[16, 11, 16, 31], Operations: [] Exploring Operation: 11+31=42, Resulting Numbers: [16, 16, 42] Generated Node #0,0: 42:[16, 16, 42] Operation: 11+31=42 Moving to Node #0,0 Current State: 42:[16, 16, 42], Operations: ['11+31=42'] Exploring Operation: 16/16=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 42:[42, 1] Operation: 16/16=1 Moving to Node #0,0,0 Current State: 42:[42, 1], Operations: ['11+31=42', '16/16=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 56, 79, 2 ]
33
[ "5*2=10", "79-56=23", "10+23=33" ]
Current State: 33:[5, 56, 79, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [56, 79, 10] Generated Node #2: [56, 79, 10] from Operation: 5*2=10 Current State: 33:[56, 79, 10], Operations: ['5*2=10'] Exploring Operation: 79-56=23, Resulting Numbers: [10, 23] Generated Node #3: [10, 23] from Operation: 79-56=23 Current State: 33:[10, 23], Operations: ['5*2=10', '79-56=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[5, 56, 79, 2], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [5, 2, 23] Generated Node #0,0: 33:[5, 2, 23] Operation: 79-56=23 Moving to Node #0,0 Current State: 33:[5, 2, 23], Operations: ['79-56=23'] Exploring Operation: 5+23=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 33:[2, 28] Operation: 5+23=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[2, 28], Operations: ['79-56=23', '5+23=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,33 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
[ 38, 90, 4, 30 ]
31
[ "38-4=34", "90/30=3", "34-3=31" ]
Current State: 31:[38, 90, 4, 30], Operations: [] Exploring Operation: 38-4=34, Resulting Numbers: [90, 30, 34] Generated Node #2: [90, 30, 34] from Operation: 38-4=34 Current State: 31:[90, 30, 34], Operations: ['38-4=34'] Exploring Operation: 90/30=3, Resulting Numbers: [34, 3] Generated Node #3: [34, 3] from Operation: 90/30=3 Current State: 31:[34, 3], Operations: ['38-4=34', '90/30=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[38, 90, 4, 30], Operations: [] Exploring Operation: 38-4=34, Resulting Numbers: [90, 30, 34] Generated Node #0,0: 31:[90, 30, 34] Operation: 38-4=34 Exploring Operation: 90-38=52, Resulting Numbers: [4, 30, 52] Generated Node #0,1: 31:[4, 30, 52] Operation: 90-38=52 Exploring Operation: 90/30=3, Resulting Numbers: [38, 4, 3] Generated Node #0,2: 31:[38, 4, 3] Operation: 90/30=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[4, 30, 52], Operations: ['90-38=52'] Exploring Operation: 52-4=48, Resulting Numbers: [30, 48] Generated Node #0,1,0: 31:[30, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [30, 13] Generated Node #0,1,1: 31:[30, 13] Operation: 52/4=13 Exploring Operation: 4+30=34, Resulting Numbers: [52, 34] Generated Node #0,1,2: 31:[52, 34] Operation: 4+30=34 Moving to Node #0,1,0 Current State: 31:[30, 48], Operations: ['90-38=52', '52-4=48'] Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,31 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,31 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[30, 13], Operations: ['90-38=52', '52/4=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,31 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[52, 34], Operations: ['90-38=52', '4+30=34'] Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,31 unequal: No Solution Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[38, 4, 3], Operations: ['90/30=3'] Exploring Operation: 38-3=35, Resulting Numbers: [4, 35] Generated Node #0,2,0: 31:[4, 35] Operation: 38-3=35 Exploring Operation: 38-4=34, Resulting Numbers: [3, 34] Generated Node #0,2,1: 31:[3, 34] Operation: 38-4=34 Exploring Operation: 4*3=12, Resulting Numbers: [38, 12] Generated Node #0,2,2: 31:[38, 12] Operation: 4*3=12 Moving to Node #0,2,2 Current State: 31:[38, 12], Operations: ['90/30=3', '4*3=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[4, 35], Operations: ['90/30=3', '38-3=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[38, 90, 4, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [38, 4, 3] Generated Node #0,2: 31:[38, 4, 3] Operation: 90/30=3 Moving to Node #0,2 Current State: 31:[38, 4, 3], Operations: ['90/30=3'] Exploring Operation: 38-3=35, Resulting Numbers: [4, 35] Generated Node #0,2,0: 31:[4, 35] Operation: 38-3=35 Moving to Node #0,2,0 Current State: 31:[4, 35], Operations: ['90/30=3', '38-3=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 88, 99, 58, 67 ]
20
[ "99-88=11", "67-58=9", "11+9=20" ]
Current State: 20:[88, 99, 58, 67], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [58, 67, 11] Generated Node #2: [58, 67, 11] from Operation: 99-88=11 Current State: 20:[58, 67, 11], Operations: ['99-88=11'] Exploring Operation: 67-58=9, Resulting Numbers: [11, 9] Generated Node #3: [11, 9] from Operation: 67-58=9 Current State: 20:[11, 9], Operations: ['99-88=11', '67-58=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[88, 99, 58, 67], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [99, 58, 21] Generated Node #0,0: 20:[99, 58, 21] Operation: 88-67=21 Exploring Operation: 99-58=41, Resulting Numbers: [88, 67, 41] Generated Node #0,1: 20:[88, 67, 41] Operation: 99-58=41 Exploring Operation: 99-88=11, Resulting Numbers: [58, 67, 11] Generated Node #0,2: 20:[58, 67, 11] Operation: 99-88=11 Exploring Operation: 88-58=30, Resulting Numbers: [99, 67, 30] Generated Node #0,3: 20:[99, 67, 30] Operation: 88-58=30 Exploring Operation: 99-67=32, Resulting Numbers: [88, 58, 32] Generated Node #0,4: 20:[88, 58, 32] Operation: 99-67=32 Moving to Node #0,2 Current State: 20:[58, 67, 11], Operations: ['99-88=11'] Exploring Operation: 67-58=9, Resulting Numbers: [11, 9] Generated Node #0,2,0: 20:[11, 9] Operation: 67-58=9 Exploring Operation: 67-11=56, Resulting Numbers: [58, 56] Generated Node #0,2,1: 20:[58, 56] Operation: 67-11=56 Exploring Operation: 58-11=47, Resulting Numbers: [67, 47] Generated Node #0,2,2: 20:[67, 47] Operation: 58-11=47 Exploring Operation: 58+11=69, Resulting Numbers: [67, 69] Generated Node #0,2,3: 20:[67, 69] Operation: 58+11=69 Exploring Operation: 67+11=78, Resulting Numbers: [58, 78] Generated Node #0,2,4: 20:[58, 78] Operation: 67+11=78 Moving to Node #0,4 Current State: 20:[88, 58, 32], Operations: ['99-67=32'] Exploring Operation: 88+58=146, Resulting Numbers: [32, 146] Generated Node #0,4,0: 20:[32, 146] Operation: 88+58=146 Exploring Operation: 88-58=30, Resulting Numbers: [32, 30] Generated Node #0,4,1: 20:[32, 30] Operation: 88-58=30 Exploring Operation: 88-32=56, Resulting Numbers: [58, 56] Generated Node #0,4,2: 20:[58, 56] Operation: 88-32=56 Exploring Operation: 58-32=26, Resulting Numbers: [88, 26] Generated Node #0,4,3: 20:[88, 26] Operation: 58-32=26 Exploring Operation: 88+32=120, Resulting Numbers: [58, 120] Generated Node #0,4,4: 20:[58, 120] Operation: 88+32=120 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 20:[32, 30], Operations: ['99-67=32', '88-58=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,20 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,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,2 Current State: 20:[58, 56], Operations: ['99-67=32', '88-32=56'] Exploring Operation: 58+56=114, Resulting Numbers: [114] 114,20 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 58*56=3248, Resulting Numbers: [3248] 3248,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,3 Current State: 20:[88, 26], Operations: ['99-67=32', '58-32=26'] Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,20 unequal: No Solution Exploring Operation: 88*26=2288, Resulting Numbers: [2288] 2288,20 unequal: No Solution Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,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,0 Current State: 20:[32, 146], Operations: ['99-67=32', '88+58=146'] Exploring Operation: 146-32=114, Resulting Numbers: [114] 114,20 unequal: No Solution Exploring Operation: 32*146=4672, Resulting Numbers: [4672] 4672,20 unequal: No Solution Exploring Operation: 32+146=178, Resulting Numbers: [178] 178,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,4 Current State: 20:[58, 120], Operations: ['99-67=32', '88+32=120'] Exploring Operation: 58+120=178, Resulting Numbers: [178] 178,20 unequal: No Solution Exploring Operation: 120-58=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 58*120=6960, Resulting Numbers: [6960] 6960,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 20:[99, 58, 21], Operations: ['88-67=21'] Exploring Operation: 99+58=157, Resulting Numbers: [21, 157] Generated Node #0,0,0: 20:[21, 157] Operation: 99+58=157 Exploring Operation: 58-21=37, Resulting Numbers: [99, 37] Generated Node #0,0,1: 20:[99, 37] Operation: 58-21=37 Exploring Operation: 99-21=78, Resulting Numbers: [58, 78] Generated Node #0,0,2: 20:[58, 78] Operation: 99-21=78 Exploring Operation: 99+21=120, Resulting Numbers: [58, 120] Generated Node #0,0,3: 20:[58, 120] Operation: 99+21=120 Exploring Operation: 99-58=41, Resulting Numbers: [21, 41] Generated Node #0,0,4: 20:[21, 41] Operation: 99-58=41 Moving to Node #0,1 Current State: 20:[88, 67, 41], Operations: ['99-58=41'] Exploring Operation: 88-41=47, Resulting Numbers: [67, 47] Generated Node #0,1,0: 20:[67, 47] Operation: 88-41=47 Exploring Operation: 88+67=155, Resulting Numbers: [41, 155] Generated Node #0,1,1: 20:[41, 155] Operation: 88+67=155 Exploring Operation: 67-41=26, Resulting Numbers: [88, 26] Generated Node #0,1,2: 20:[88, 26] Operation: 67-41=26 Exploring Operation: 88-67=21, Resulting Numbers: [41, 21] Generated Node #0,1,3: 20:[41, 21] Operation: 88-67=21 Exploring Operation: 88+41=129, Resulting Numbers: [67, 129] Generated Node #0,1,4: 20:[67, 129] Operation: 88+41=129 Moving to Node #0,3 Current State: 20:[99, 67, 30], Operations: ['88-58=30'] Exploring Operation: 67-30=37, Resulting Numbers: [99, 37] Generated Node #0,3,0: 20:[99, 37] Operation: 67-30=37 Exploring Operation: 99-30=69, Resulting Numbers: [67, 69] Generated Node #0,3,1: 20:[67, 69] Operation: 99-30=69 Exploring Operation: 99+30=129, Resulting Numbers: [67, 129] Generated Node #0,3,2: 20:[67, 129] Operation: 99+30=129 Exploring Operation: 99-67=32, Resulting Numbers: [30, 32] Generated Node #0,3,3: 20:[30, 32] Operation: 99-67=32 Exploring Operation: 99+67=166, Resulting Numbers: [30, 166] Generated Node #0,3,4: 20:[30, 166] Operation: 99+67=166 Moving to Node #0,2,0 Current State: 20:[11, 9], Operations: ['99-88=11', '67-58=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[88, 99, 58, 67], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [58, 67, 11] Generated Node #0,2: 20:[58, 67, 11] Operation: 99-88=11 Moving to Node #0,2 Current State: 20:[58, 67, 11], Operations: ['99-88=11'] Exploring Operation: 67-58=9, Resulting Numbers: [11, 9] Generated Node #0,2,0: 20:[11, 9] Operation: 67-58=9 Moving to Node #0,2,0 Current State: 20:[11, 9], Operations: ['99-88=11', '67-58=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 75, 23, 21, 70 ]
49
[ "75+23=98", "70-21=49", "98-49=49" ]
Current State: 49:[75, 23, 21, 70], Operations: [] Exploring Operation: 75+23=98, Resulting Numbers: [21, 70, 98] Generated Node #2: [21, 70, 98] from Operation: 75+23=98 Current State: 49:[21, 70, 98], Operations: ['75+23=98'] Exploring Operation: 70-21=49, Resulting Numbers: [98, 49] Generated Node #3: [98, 49] from Operation: 70-21=49 Current State: 49:[98, 49], Operations: ['75+23=98', '70-21=49'] Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[75, 23, 21, 70], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [23, 21, 5] Generated Node #0,0: 49:[23, 21, 5] Operation: 75-70=5 Exploring Operation: 75-23=52, Resulting Numbers: [21, 70, 52] Generated Node #0,1: 49:[21, 70, 52] Operation: 75-23=52 Exploring Operation: 70-23=47, Resulting Numbers: [75, 21, 47] Generated Node #0,2: 49:[75, 21, 47] Operation: 70-23=47 Exploring Operation: 75-21=54, Resulting Numbers: [23, 70, 54] Generated Node #0,3: 49:[23, 70, 54] Operation: 75-21=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[23, 21, 5], Operations: ['75-70=5'] Exploring Operation: 21-5=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 49:[23, 16] Operation: 21-5=16 Exploring Operation: 23+21=44, Resulting Numbers: [5, 44] Generated Node #0,0,1: 49:[5, 44] Operation: 23+21=44 Exploring Operation: 23-5=18, Resulting Numbers: [21, 18] Generated Node #0,0,2: 49:[21, 18] Operation: 23-5=18 Exploring Operation: 23-21=2, Resulting Numbers: [5, 2] Generated Node #0,0,3: 49:[5, 2] Operation: 23-21=2 Moving to Node #0,0,1 Current State: 49:[5, 44], Operations: ['75-70=5', '23+21=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[75, 23, 21, 70], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [23, 21, 5] Generated Node #0,0: 49:[23, 21, 5] Operation: 75-70=5 Moving to Node #0,0 Current State: 49:[23, 21, 5], Operations: ['75-70=5'] Exploring Operation: 23+21=44, Resulting Numbers: [5, 44] Generated Node #0,0,1: 49:[5, 44] Operation: 23+21=44 Moving to Node #0,0,1 Current State: 49:[5, 44], Operations: ['75-70=5', '23+21=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 78, 31, 29, 26 ]
63
[ "78/26=3", "31+29=60", "3+60=63" ]
Current State: 63:[78, 31, 29, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [31, 29, 3] Generated Node #2: [31, 29, 3] from Operation: 78/26=3 Current State: 63:[31, 29, 3], Operations: ['78/26=3'] Exploring Operation: 31+29=60, Resulting Numbers: [3, 60] Generated Node #3: [3, 60] from Operation: 31+29=60 Current State: 63:[3, 60], Operations: ['78/26=3', '31+29=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[78, 31, 29, 26], Operations: [] Exploring Operation: 31+29=60, Resulting Numbers: [78, 26, 60] Generated Node #0,0: 63:[78, 26, 60] Operation: 31+29=60 Exploring Operation: 31-26=5, Resulting Numbers: [78, 29, 5] Generated Node #0,1: 63:[78, 29, 5] Operation: 31-26=5 Exploring Operation: 78/26=3, Resulting Numbers: [31, 29, 3] Generated Node #0,2: 63:[31, 29, 3] Operation: 78/26=3 Exploring Operation: 31-29=2, Resulting Numbers: [78, 26, 2] Generated Node #0,3: 63:[78, 26, 2] Operation: 31-29=2 Exploring Operation: 29-26=3, Resulting Numbers: [78, 31, 3] Generated Node #0,4: 63:[78, 31, 3] Operation: 29-26=3 Moving to Node #0,2 Current State: 63:[31, 29, 3], Operations: ['78/26=3'] Exploring Operation: 31+29=60, Resulting Numbers: [3, 60] Generated Node #0,2,0: 63:[3, 60] Operation: 31+29=60 Exploring Operation: 29-3=26, Resulting Numbers: [31, 26] Generated Node #0,2,1: 63:[31, 26] Operation: 29-3=26 Exploring Operation: 31+3=34, Resulting Numbers: [29, 34] Generated Node #0,2,2: 63:[29, 34] Operation: 31+3=34 Exploring Operation: 31-3=28, Resulting Numbers: [29, 28] Generated Node #0,2,3: 63:[29, 28] Operation: 31-3=28 Exploring Operation: 31-29=2, Resulting Numbers: [3, 2] Generated Node #0,2,4: 63:[3, 2] Operation: 31-29=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 63:[3, 2], Operations: ['78/26=3', '31-29=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[3, 60], Operations: ['78/26=3', '31+29=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[78, 31, 29, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [31, 29, 3] Generated Node #0,2: 63:[31, 29, 3] Operation: 78/26=3 Moving to Node #0,2 Current State: 63:[31, 29, 3], Operations: ['78/26=3'] Exploring Operation: 31+29=60, Resulting Numbers: [3, 60] Generated Node #0,2,0: 63:[3, 60] Operation: 31+29=60 Moving to Node #0,2,0 Current State: 63:[3, 60], Operations: ['78/26=3', '31+29=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 44, 2, 23, 16 ]
75
[ "44+23=67", "16/2=8", "67+8=75" ]
Current State: 75:[44, 2, 23, 16], Operations: [] Exploring Operation: 44+23=67, Resulting Numbers: [2, 16, 67] Generated Node #2: [2, 16, 67] from Operation: 44+23=67 Current State: 75:[2, 16, 67], Operations: ['44+23=67'] Exploring Operation: 16/2=8, Resulting Numbers: [67, 8] Generated Node #3: [67, 8] from Operation: 16/2=8 Current State: 75:[67, 8], Operations: ['44+23=67', '16/2=8'] Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[44, 2, 23, 16], Operations: [] Exploring Operation: 44-16=28, Resulting Numbers: [2, 23, 28] Generated Node #0,0: 75:[2, 23, 28] Operation: 44-16=28 Exploring Operation: 44/2=22, Resulting Numbers: [23, 16, 22] Generated Node #0,1: 75:[23, 16, 22] Operation: 44/2=22 Exploring Operation: 44+23=67, Resulting Numbers: [2, 16, 67] Generated Node #0,2: 75:[2, 16, 67] Operation: 44+23=67 Exploring Operation: 44-23=21, Resulting Numbers: [2, 16, 21] Generated Node #0,3: 75:[2, 16, 21] Operation: 44-23=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 23, 28], Operations: ['44-16=28'] Exploring Operation: 2+23=25, Resulting Numbers: [28, 25] Generated Node #0,0,0: 75:[28, 25] Operation: 2+23=25 Exploring Operation: 28-2=26, Resulting Numbers: [23, 26] Generated Node #0,0,1: 75:[23, 26] Operation: 28-2=26 Exploring Operation: 28/2=14, Resulting Numbers: [23, 14] Generated Node #0,0,2: 75:[23, 14] Operation: 28/2=14 Exploring Operation: 28-23=5, Resulting Numbers: [2, 5] Generated Node #0,0,3: 75:[2, 5] Operation: 28-23=5 Moving to Node #0,0,3 Current State: 75:[2, 5], Operations: ['44-16=28', '28-23=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[23, 26], Operations: ['44-16=28', '28-2=26'] Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[28, 25], Operations: ['44-16=28', '2+23=25'] Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,75 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[23, 14], Operations: ['44-16=28', '28/2=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[23, 16, 22], Operations: ['44/2=22'] Exploring Operation: 23-22=1, Resulting Numbers: [16, 1] Generated Node #0,1,0: 75:[16, 1] Operation: 23-22=1 Exploring Operation: 22-16=6, Resulting Numbers: [23, 6] Generated Node #0,1,1: 75:[23, 6] Operation: 22-16=6 Exploring Operation: 23-16=7, Resulting Numbers: [22, 7] Generated Node #0,1,2: 75:[22, 7] Operation: 23-16=7 Exploring Operation: 16+22=38, Resulting Numbers: [23, 38] Generated Node #0,1,3: 75:[23, 38] Operation: 16+22=38 Moving to Node #0,1,0 Current State: 75:[16, 1], Operations: ['44/2=22', '23-22=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[23, 6], Operations: ['44/2=22', '22-16=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,75 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[22, 7], Operations: ['44/2=22', '23-16=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[23, 38], Operations: ['44/2=22', '16+22=38'] Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,75 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[2, 16, 21], Operations: ['44-23=21'] Exploring Operation: 21-2=19, Resulting Numbers: [16, 19] Generated Node #0,3,0: 75:[16, 19] Operation: 21-2=19 Exploring Operation: 21-16=5, Resulting Numbers: [2, 5] Generated Node #0,3,1: 75:[2, 5] Operation: 21-16=5 Exploring Operation: 16-2=14, Resulting Numbers: [21, 14] Generated Node #0,3,2: 75:[21, 14] Operation: 16-2=14 Exploring Operation: 2+21=23, Resulting Numbers: [16, 23] Generated Node #0,3,3: 75:[16, 23] Operation: 2+21=23 Moving to Node #0,3,1 Current State: 75:[2, 5], Operations: ['44-23=21', '21-16=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[16, 23], Operations: ['44-23=21', '2+21=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,75 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[21, 14], Operations: ['44-23=21', '16-2=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,75 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[16, 19], Operations: ['44-23=21', '21-2=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,75 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[2, 16, 67], Operations: ['44+23=67'] Exploring Operation: 2+67=69, Resulting Numbers: [16, 69] Generated Node #0,2,0: 75:[16, 69] Operation: 2+67=69 Exploring Operation: 2+16=18, Resulting Numbers: [67, 18] Generated Node #0,2,1: 75:[67, 18] Operation: 2+16=18 Exploring Operation: 16-2=14, Resulting Numbers: [67, 14] Generated Node #0,2,2: 75:[67, 14] Operation: 16-2=14 Exploring Operation: 16+67=83, Resulting Numbers: [2, 83] Generated Node #0,2,3: 75:[2, 83] Operation: 16+67=83 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[16, 69], Operations: ['44+23=67', '2+67=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,75 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[67, 14], Operations: ['44+23=67', '16-2=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,75 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[2, 83], Operations: ['44+23=67', '16+67=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,75 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[67, 18], Operations: ['44+23=67', '2+16=18'] Exploring Operation: 67*18=1206, Resulting Numbers: [1206] 1206,75 unequal: No Solution Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,75 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 11, 39, 14, 47 ]
36
[ "47-14=33", "33/11=3", "39-3=36" ]
Current State: 36:[11, 39, 14, 47], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [11, 39, 33] Generated Node #2: [11, 39, 33] from Operation: 47-14=33 Current State: 36:[11, 39, 33], Operations: ['47-14=33'] Exploring Operation: 33/11=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 33/11=3 Current State: 36:[39, 3], Operations: ['47-14=33', '33/11=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[11, 39, 14, 47], Operations: [] Exploring Operation: 47-39=8, Resulting Numbers: [11, 14, 8] Generated Node #0,0: 36:[11, 14, 8] Operation: 47-39=8 Moving to Node #0,0 Current State: 36:[11, 14, 8], Operations: ['47-39=8'] Exploring Operation: 14-11=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 36:[8, 3] Operation: 14-11=3 Moving to Node #0,0,0 Current State: 36:[8, 3], Operations: ['47-39=8', '14-11=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 25, 68, 3, 9 ]
21
[ "25*9=225", "68*3=204", "225-204=21" ]
Current State: 21:[25, 68, 3, 9], Operations: [] Exploring Operation: 25*9=225, Resulting Numbers: [68, 3, 225] Generated Node #2: [68, 3, 225] from Operation: 25*9=225 Current State: 21:[68, 3, 225], Operations: ['25*9=225'] Exploring Operation: 68*3=204, Resulting Numbers: [225, 204] Generated Node #3: [225, 204] from Operation: 68*3=204 Current State: 21:[225, 204], Operations: ['25*9=225', '68*3=204'] Exploring Operation: 225-204=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[25, 68, 3, 9], Operations: [] Exploring Operation: 68-25=43, Resulting Numbers: [3, 9, 43] Generated Node #0,0: 21:[3, 9, 43] Operation: 68-25=43 Moving to Node #0,0 Current State: 21:[3, 9, 43], Operations: ['68-25=43'] Exploring Operation: 43-9=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 21:[3, 34] Operation: 43-9=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[3, 34], Operations: ['68-25=43', '43-9=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,21 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