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
[ 13, 99, 88, 24 ]
48
[ "13+99=112", "88-24=64", "112-64=48" ]
Current State: 48:[13, 99, 88, 24], Operations: [] Exploring Operation: 13+99=112, Resulting Numbers: [88, 24, 112] Generated Node #2: [88, 24, 112] from Operation: 13+99=112 Current State: 48:[88, 24, 112], Operations: ['13+99=112'] Exploring Operation: 88-24=64, Resulting Numbers: [112, 64] Generated Node #3: [112, 64] from Operation: 88-24=64 Current State: 48:[112, 64], Operations: ['13+99=112', '88-24=64'] Exploring Operation: 112-64=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 99, 88, 24], Operations: [] Exploring Operation: 99-24=75, Resulting Numbers: [13, 88, 75] Generated Node #0,0: 48:[13, 88, 75] Operation: 99-24=75 Exploring Operation: 99-88=11, Resulting Numbers: [13, 24, 11] Generated Node #0,1: 48:[13, 24, 11] Operation: 99-88=11 Moving to Node #0,1 Current State: 48:[13, 24, 11], Operations: ['99-88=11'] Exploring Operation: 13-11=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 48:[24, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [24, 24] Generated Node #0,1,1: 48:[24, 24] Operation: 13+11=24 Moving to Node #0,0 Current State: 48:[13, 88, 75], Operations: ['99-24=75'] Exploring Operation: 88-13=75, Resulting Numbers: [75, 75] Generated Node #0,0,0: 48:[75, 75] Operation: 88-13=75 Exploring Operation: 88-75=13, Resulting Numbers: [13, 13] Generated Node #0,0,1: 48:[13, 13] Operation: 88-75=13 Moving to Node #0,1,0 Current State: 48:[24, 2], Operations: ['99-88=11', '13-11=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[13, 99, 88, 24], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [13, 24, 11] Generated Node #0,1: 48:[13, 24, 11] Operation: 99-88=11 Moving to Node #0,1 Current State: 48:[13, 24, 11], Operations: ['99-88=11'] Exploring Operation: 13-11=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 48:[24, 2] Operation: 13-11=2 Moving to Node #0,1,0 Current State: 48:[24, 2], Operations: ['99-88=11', '13-11=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 54, 23, 23, 7 ]
56
[ "54-23=31", "31-23=8", "7*8=56" ]
Current State: 56:[54, 23, 23, 7], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [7, 31] Generated Node #2: [7, 31] from Operation: 54-23=31 Current State: 56:[7, 31], Operations: ['54-23=31'] Exploring Operation: 31-23=8, Resulting Numbers: [7, 8] Generated Node #3: [7, 8] from Operation: 31-23=8 Current State: 56:[7, 8], Operations: ['54-23=31', '31-23=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[54, 23, 23, 7], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [23, 7, 31] Generated Node #0,0: 56:[23, 7, 31] Operation: 54-23=31 Exploring Operation: 54-23=31, Resulting Numbers: [23, 7, 31] Generated Node #0,1: 56:[23, 7, 31] Operation: 54-23=31 Exploring Operation: 23/23=1, Resulting Numbers: [54, 7, 1] Generated Node #0,2: 56:[54, 7, 1] Operation: 23/23=1 Exploring Operation: 23-23=0, Resulting Numbers: [54, 7, 0] Generated Node #0,3: 56:[54, 7, 0] Operation: 23-23=0 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[54, 7, 1], Operations: ['23/23=1'] Exploring Operation: 54/1=54, Resulting Numbers: [7, 54] Generated Node #0,2,0: 56:[7, 54] Operation: 54/1=54 Exploring Operation: 54+1=55, Resulting Numbers: [7, 55] Generated Node #0,2,1: 56:[7, 55] Operation: 54+1=55 Exploring Operation: 7+1=8, Resulting Numbers: [54, 8] Generated Node #0,2,2: 56:[54, 8] Operation: 7+1=8 Exploring Operation: 54*1=54, Resulting Numbers: [7, 54] Generated Node #0,2,3: 56:[7, 54] Operation: 54*1=54 Moving to Node #0,2,1 Current State: 56:[7, 55], Operations: ['23/23=1', '54+1=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[54, 8], Operations: ['23/23=1', '7+1=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[7, 54], Operations: ['23/23=1', '54/1=54'] Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,56 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[7, 54], Operations: ['23/23=1', '54*1=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[54, 7, 0], Operations: ['23-23=0'] Exploring Operation: 54+0=54, Resulting Numbers: [7, 54] Generated Node #0,3,0: 56:[7, 54] Operation: 54+0=54 Exploring Operation: 54-0=54, Resulting Numbers: [7, 54] Generated Node #0,3,1: 56:[7, 54] Operation: 54-0=54 Exploring Operation: 54*0=0, Resulting Numbers: [7, 0] Generated Node #0,3,2: 56:[7, 0] Operation: 54*0=0 Exploring Operation: 7+0=7, Resulting Numbers: [54, 7] Generated Node #0,3,3: 56:[54, 7] Operation: 7+0=7 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[7, 54], Operations: ['23-23=0', '54+0=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,56 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[7, 54], Operations: ['23-23=0', '54-0=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,56 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[7, 0], Operations: ['23-23=0', '54*0=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[54, 7], Operations: ['23-23=0', '7+0=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[23, 7, 31], Operations: ['54-23=31'] Exploring Operation: 23-7=16, Resulting Numbers: [31, 16] Generated Node #0,0,0: 56:[31, 16] Operation: 23-7=16 Exploring Operation: 23+31=54, Resulting Numbers: [7, 54] Generated Node #0,0,1: 56:[7, 54] Operation: 23+31=54 Exploring Operation: 23+7=30, Resulting Numbers: [31, 30] Generated Node #0,0,2: 56:[31, 30] Operation: 23+7=30 Exploring Operation: 31-23=8, Resulting Numbers: [7, 8] Generated Node #0,0,3: 56:[7, 8] Operation: 31-23=8 Moving to Node #0,0,3 Current State: 56:[7, 8], Operations: ['54-23=31', '31-23=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[54, 23, 23, 7], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [23, 7, 31] Generated Node #0,0: 56:[23, 7, 31] Operation: 54-23=31 Moving to Node #0,0 Current State: 56:[23, 7, 31], Operations: ['54-23=31'] Exploring Operation: 31-23=8, Resulting Numbers: [7, 8] Generated Node #0,0,3: 56:[7, 8] Operation: 31-23=8 Moving to Node #0,0,3 Current State: 56:[7, 8], Operations: ['54-23=31', '31-23=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
sum_heuristic
[ 72, 38, 50, 2 ]
85
[ "72+38=110", "50/2=25", "110-25=85" ]
Current State: 85:[72, 38, 50, 2], Operations: [] Exploring Operation: 72+38=110, Resulting Numbers: [50, 2, 110] Generated Node #2: [50, 2, 110] from Operation: 72+38=110 Current State: 85:[50, 2, 110], Operations: ['72+38=110'] Exploring Operation: 50/2=25, Resulting Numbers: [110, 25] Generated Node #3: [110, 25] from Operation: 50/2=25 Current State: 85:[110, 25], Operations: ['72+38=110', '50/2=25'] Exploring Operation: 110-25=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[72, 38, 50, 2], Operations: [] Exploring Operation: 38+50=88, Resulting Numbers: [72, 2, 88] Generated Node #0,0: 85:[72, 2, 88] Operation: 38+50=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[72, 2, 88], Operations: ['38+50=88'] Exploring Operation: 88-72=16, Resulting Numbers: [2, 16] Generated Node #0,0,0: 85:[2, 16] Operation: 88-72=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[2, 16], Operations: ['38+50=88', '88-72=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,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 No solution found.
0
hs_1
sum_heuristic
[ 8, 4, 35, 92 ]
22
[ "8/4=2", "35*2=70", "92-70=22" ]
Current State: 22:[8, 4, 35, 92], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [35, 92, 2] Generated Node #2: [35, 92, 2] from Operation: 8/4=2 Current State: 22:[35, 92, 2], Operations: ['8/4=2'] Exploring Operation: 35*2=70, Resulting Numbers: [92, 70] Generated Node #3: [92, 70] from Operation: 35*2=70 Current State: 22:[92, 70], Operations: ['8/4=2', '35*2=70'] Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 4, 35, 92], Operations: [] Exploring Operation: 35-8=27, Resulting Numbers: [4, 92, 27] Generated Node #0,0: 22:[4, 92, 27] Operation: 35-8=27 Exploring Operation: 92-35=57, Resulting Numbers: [8, 4, 57] Generated Node #0,1: 22:[8, 4, 57] Operation: 92-35=57 Exploring Operation: 92/4=23, Resulting Numbers: [8, 35, 23] Generated Node #0,2: 22:[8, 35, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[8, 35, 23], Operations: ['92/4=23'] Exploring Operation: 23-8=15, Resulting Numbers: [35, 15] Generated Node #0,2,0: 22:[35, 15] Operation: 23-8=15 Exploring Operation: 35-23=12, Resulting Numbers: [8, 12] Generated Node #0,2,1: 22:[8, 12] Operation: 35-23=12 Exploring Operation: 35-8=27, Resulting Numbers: [23, 27] Generated Node #0,2,2: 22:[23, 27] Operation: 35-8=27 Moving to Node #0,2,1 Current State: 22:[8, 12], Operations: ['92/4=23', '35-23=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[23, 27], Operations: ['92/4=23', '35-8=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,22 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[35, 15], Operations: ['92/4=23', '23-8=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,22 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[8, 4, 57], Operations: ['92-35=57'] Exploring Operation: 57-8=49, Resulting Numbers: [4, 49] Generated Node #0,1,0: 22:[4, 49] Operation: 57-8=49 Exploring Operation: 57-4=53, Resulting Numbers: [8, 53] Generated Node #0,1,1: 22:[8, 53] Operation: 57-4=53 Exploring Operation: 8/4=2, Resulting Numbers: [57, 2] Generated Node #0,1,2: 22:[57, 2] Operation: 8/4=2 Moving to Node #0,1,0 Current State: 22:[4, 49], Operations: ['92-35=57', '57-8=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[8, 53], Operations: ['92-35=57', '57-4=53'] Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,22 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[57, 2], Operations: ['92-35=57', '8/4=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,22 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[4, 92, 27], Operations: ['35-8=27'] Exploring Operation: 92-4=88, Resulting Numbers: [27, 88] Generated Node #0,0,0: 22:[27, 88] Operation: 92-4=88 Exploring Operation: 92-27=65, Resulting Numbers: [4, 65] Generated Node #0,0,1: 22:[4, 65] Operation: 92-27=65 Exploring Operation: 92/4=23, Resulting Numbers: [27, 23] Generated Node #0,0,2: 22:[27, 23] Operation: 92/4=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[27, 23], Operations: ['35-8=27', '92/4=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,22 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[4, 65], Operations: ['35-8=27', '92-27=65'] Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,22 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[27, 88], Operations: ['35-8=27', '92-4=88'] Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,22 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 78, 69, 86, 2 ]
85
[ "86-78=8", "2*8=16", "69+16=85" ]
Current State: 85:[78, 69, 86, 2], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [69, 2, 8] Generated Node #2: [69, 2, 8] from Operation: 86-78=8 Current State: 85:[69, 2, 8], Operations: ['86-78=8'] Exploring Operation: 2*8=16, Resulting Numbers: [69, 16] Generated Node #3: [69, 16] from Operation: 2*8=16 Current State: 85:[69, 16], Operations: ['86-78=8', '2*8=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[78, 69, 86, 2], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [69, 2, 8] Generated Node #0,0: 85:[69, 2, 8] Operation: 86-78=8 Exploring Operation: 86-69=17, Resulting Numbers: [78, 2, 17] Generated Node #0,1: 85:[78, 2, 17] Operation: 86-69=17 Exploring Operation: 78-69=9, Resulting Numbers: [86, 2, 9] Generated Node #0,2: 85:[86, 2, 9] Operation: 78-69=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[86, 2, 9], Operations: ['78-69=9'] Exploring Operation: 2*9=18, Resulting Numbers: [86, 18] Generated Node #0,2,0: 85:[86, 18] Operation: 2*9=18 Exploring Operation: 9-2=7, Resulting Numbers: [86, 7] Generated Node #0,2,1: 85:[86, 7] Operation: 9-2=7 Exploring Operation: 86-2=84, Resulting Numbers: [9, 84] Generated Node #0,2,2: 85:[9, 84] Operation: 86-2=84 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[86, 18], Operations: ['78-69=9', '2*9=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,85 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,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,2,1 Current State: 85:[86, 7], Operations: ['78-69=9', '9-2=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 86*7=602, Resulting Numbers: [602] 602,85 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,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,2,2 Current State: 85:[9, 84], Operations: ['78-69=9', '86-2=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 9*84=756, Resulting Numbers: [756] 756,85 unequal: No Solution Exploring Operation: 9+84=93, Resulting Numbers: [93] 93,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:[78, 2, 17], Operations: ['86-69=17'] Exploring Operation: 78+2=80, Resulting Numbers: [17, 80] Generated Node #0,1,0: 85:[17, 80] Operation: 78+2=80 Exploring Operation: 78-2=76, Resulting Numbers: [17, 76] Generated Node #0,1,1: 85:[17, 76] Operation: 78-2=76 Exploring Operation: 2+17=19, Resulting Numbers: [78, 19] Generated Node #0,1,2: 85:[78, 19] Operation: 2+17=19 Moving to Node #0,1,0 Current State: 85:[17, 80], Operations: ['86-69=17', '78+2=80'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[17, 76], Operations: ['86-69=17', '78-2=76'] Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[78, 19], Operations: ['86-69=17', '2+17=19'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 78*19=1482, Resulting Numbers: [1482] 1482,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:[69, 2, 8], Operations: ['86-78=8'] Exploring Operation: 69+2=71, Resulting Numbers: [8, 71] Generated Node #0,0,0: 85:[8, 71] Operation: 69+2=71 Exploring Operation: 69+8=77, Resulting Numbers: [2, 77] Generated Node #0,0,1: 85:[2, 77] Operation: 69+8=77 Exploring Operation: 2*8=16, Resulting Numbers: [69, 16] Generated Node #0,0,2: 85:[69, 16] Operation: 2*8=16 Moving to Node #0,0,1 Current State: 85:[2, 77], Operations: ['86-78=8', '69+8=77'] Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,85 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[8, 71], Operations: ['86-78=8', '69+2=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,85 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[69, 16], Operations: ['86-78=8', '2*8=16'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,85 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[78, 69, 86, 2], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [69, 2, 8] Generated Node #0,0: 85:[69, 2, 8] Operation: 86-78=8 Moving to Node #0,0 Current State: 85:[69, 2, 8], Operations: ['86-78=8'] Exploring Operation: 2*8=16, Resulting Numbers: [69, 16] Generated Node #0,0,2: 85:[69, 16] Operation: 2*8=16 Moving to Node #0,0,2 Current State: 85:[69, 16], Operations: ['86-78=8', '2*8=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
sum_heuristic
[ 45, 38, 26, 58 ]
39
[ "45-38=7", "58-26=32", "7+32=39" ]
Current State: 39:[45, 38, 26, 58], Operations: [] Exploring Operation: 45-38=7, Resulting Numbers: [26, 58, 7] Generated Node #2: [26, 58, 7] from Operation: 45-38=7 Current State: 39:[26, 58, 7], Operations: ['45-38=7'] Exploring Operation: 58-26=32, Resulting Numbers: [7, 32] Generated Node #3: [7, 32] from Operation: 58-26=32 Current State: 39:[7, 32], Operations: ['45-38=7', '58-26=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[45, 38, 26, 58], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [45, 26, 20] Generated Node #0,0: 39:[45, 26, 20] Operation: 58-38=20 Exploring Operation: 45-26=19, Resulting Numbers: [38, 58, 19] Generated Node #0,1: 39:[38, 58, 19] Operation: 45-26=19 Exploring Operation: 38-26=12, Resulting Numbers: [45, 58, 12] Generated Node #0,2: 39:[45, 58, 12] Operation: 38-26=12 Exploring Operation: 58-26=32, Resulting Numbers: [45, 38, 32] Generated Node #0,3: 39:[45, 38, 32] Operation: 58-26=32 Exploring Operation: 58-45=13, Resulting Numbers: [38, 26, 13] Generated Node #0,4: 39:[38, 26, 13] Operation: 58-45=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[45, 38, 32], Operations: ['58-26=32'] Exploring Operation: 38-32=6, Resulting Numbers: [45, 6] Generated Node #0,3,0: 39:[45, 6] Operation: 38-32=6 Exploring Operation: 45-32=13, Resulting Numbers: [38, 13] Generated Node #0,3,1: 39:[38, 13] Operation: 45-32=13 Exploring Operation: 45-38=7, Resulting Numbers: [32, 7] Generated Node #0,3,2: 39:[32, 7] Operation: 45-38=7 Exploring Operation: 38+32=70, Resulting Numbers: [45, 70] Generated Node #0,3,3: 39:[45, 70] Operation: 38+32=70 Exploring Operation: 45+32=77, Resulting Numbers: [38, 77] Generated Node #0,3,4: 39:[38, 77] Operation: 45+32=77 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[38, 13], Operations: ['58-26=32', '45-32=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,39 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 39:[45, 6], Operations: ['58-26=32', '38-32=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,39 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[45, 38, 26, 58], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [45, 38, 32] Generated Node #0,3: 39:[45, 38, 32] Operation: 58-26=32 Moving to Node #0,3 Current State: 39:[45, 38, 32], Operations: ['58-26=32'] Exploring Operation: 38-32=6, Resulting Numbers: [45, 6] Generated Node #0,3,0: 39:[45, 6] Operation: 38-32=6 Moving to Node #0,3,0 Current State: 39:[45, 6], Operations: ['58-26=32', '38-32=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 99, 13, 20, 76 ]
39
[ "99-20=79", "79-76=3", "13*3=39" ]
Current State: 39:[99, 13, 20, 76], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [13, 76, 79] Generated Node #2: [13, 76, 79] from Operation: 99-20=79 Current State: 39:[13, 76, 79], Operations: ['99-20=79'] Exploring Operation: 79-76=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 79-76=3 Current State: 39:[13, 3], Operations: ['99-20=79', '79-76=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[99, 13, 20, 76], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [13, 20, 23] Generated Node #0,0: 39:[13, 20, 23] Operation: 99-76=23 Exploring Operation: 99-20=79, Resulting Numbers: [13, 76, 79] Generated Node #0,1: 39:[13, 76, 79] Operation: 99-20=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[13, 20, 23], Operations: ['99-76=23'] Exploring Operation: 23-20=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 23-20=3 Exploring Operation: 20+23=43, Resulting Numbers: [13, 43] Generated Node #0,0,1: 39:[13, 43] Operation: 20+23=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['99-76=23', '23-20=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[99, 13, 20, 76], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [13, 20, 23] Generated Node #0,0: 39:[13, 20, 23] Operation: 99-76=23 Moving to Node #0,0 Current State: 39:[13, 20, 23], Operations: ['99-76=23'] Exploring Operation: 23-20=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 23-20=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['99-76=23', '23-20=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 19, 3, 77, 99 ]
75
[ "77-19=58", "3*58=174", "174-99=75" ]
Current State: 75:[19, 3, 77, 99], Operations: [] Exploring Operation: 77-19=58, Resulting Numbers: [3, 99, 58] Generated Node #2: [3, 99, 58] from Operation: 77-19=58 Current State: 75:[3, 99, 58], Operations: ['77-19=58'] Exploring Operation: 3*58=174, Resulting Numbers: [99, 174] Generated Node #3: [99, 174] from Operation: 3*58=174 Current State: 75:[99, 174], Operations: ['77-19=58', '3*58=174'] Exploring Operation: 174-99=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[19, 3, 77, 99], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [19, 3, 22] Generated Node #0,0: 75:[19, 3, 22] Operation: 99-77=22 Exploring Operation: 99-19=80, Resulting Numbers: [3, 77, 80] Generated Node #0,1: 75:[3, 77, 80] Operation: 99-19=80 Exploring Operation: 19-3=16, Resulting Numbers: [77, 99, 16] Generated Node #0,2: 75:[77, 99, 16] Operation: 19-3=16 Exploring Operation: 99/3=33, Resulting Numbers: [19, 77, 33] Generated Node #0,3: 75:[19, 77, 33] Operation: 99/3=33 Exploring Operation: 99-3=96, Resulting Numbers: [19, 77, 96] Generated Node #0,4: 75:[19, 77, 96] Operation: 99-3=96 Moving to Node #0,0 Current State: 75:[19, 3, 22], Operations: ['99-77=22'] Exploring Operation: 22-19=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 75:[3, 3] Operation: 22-19=3 Exploring Operation: 19-3=16, Resulting Numbers: [22, 16] Generated Node #0,0,1: 75:[22, 16] Operation: 19-3=16 Exploring Operation: 19+3=22, Resulting Numbers: [22, 22] Generated Node #0,0,2: 75:[22, 22] Operation: 19+3=22 Exploring Operation: 3+22=25, Resulting Numbers: [19, 25] Generated Node #0,0,3: 75:[19, 25] Operation: 3+22=25 Exploring Operation: 22-3=19, Resulting Numbers: [19, 19] Generated Node #0,0,4: 75:[19, 19] Operation: 22-3=19 Moving to Node #0,1 Current State: 75:[3, 77, 80], Operations: ['99-19=80'] Exploring Operation: 80-77=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 75:[3, 3] Operation: 80-77=3 Exploring Operation: 77-3=74, Resulting Numbers: [80, 74] Generated Node #0,1,1: 75:[80, 74] Operation: 77-3=74 Exploring Operation: 3+80=83, Resulting Numbers: [77, 83] Generated Node #0,1,2: 75:[77, 83] Operation: 3+80=83 Exploring Operation: 3+77=80, Resulting Numbers: [80, 80] Generated Node #0,1,3: 75:[80, 80] Operation: 3+77=80 Exploring Operation: 80-3=77, Resulting Numbers: [77, 77] Generated Node #0,1,4: 75:[77, 77] Operation: 80-3=77 Moving to Node #0,3 Current State: 75:[19, 77, 33], Operations: ['99/3=33'] Exploring Operation: 77-33=44, Resulting Numbers: [19, 44] Generated Node #0,3,0: 75:[19, 44] Operation: 77-33=44 Exploring Operation: 19+33=52, Resulting Numbers: [77, 52] Generated Node #0,3,1: 75:[77, 52] Operation: 19+33=52 Exploring Operation: 33-19=14, Resulting Numbers: [77, 14] Generated Node #0,3,2: 75:[77, 14] Operation: 33-19=14 Exploring Operation: 77-19=58, Resulting Numbers: [33, 58] Generated Node #0,3,3: 75:[33, 58] Operation: 77-19=58 Exploring Operation: 19+77=96, Resulting Numbers: [33, 96] Generated Node #0,3,4: 75:[33, 96] Operation: 19+77=96 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[77, 14], Operations: ['99/3=33', '33-19=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,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,0 Current State: 75:[19, 44], Operations: ['99/3=33', '77-33=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,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,1 Current State: 75:[77, 52], Operations: ['99/3=33', '19+33=52'] Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,75 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,75 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,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,3 Current State: 75:[33, 58], Operations: ['99/3=33', '77-19=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,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,4 Current State: 75:[33, 96], Operations: ['99/3=33', '19+77=96'] Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 33*96=3168, Resulting Numbers: [3168] 3168,75 unequal: No Solution Exploring Operation: 33+96=129, Resulting Numbers: [129] 129,75 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: 75:[77, 99, 16], Operations: ['19-3=16'] Exploring Operation: 99-77=22, Resulting Numbers: [16, 22] Generated Node #0,2,0: 75:[16, 22] Operation: 99-77=22 Exploring Operation: 99-16=83, Resulting Numbers: [77, 83] Generated Node #0,2,1: 75:[77, 83] Operation: 99-16=83 Exploring Operation: 99+16=115, Resulting Numbers: [77, 115] Generated Node #0,2,2: 75:[77, 115] Operation: 99+16=115 Exploring Operation: 77+16=93, Resulting Numbers: [99, 93] Generated Node #0,2,3: 75:[99, 93] Operation: 77+16=93 Exploring Operation: 77-16=61, Resulting Numbers: [99, 61] Generated Node #0,2,4: 75:[99, 61] Operation: 77-16=61 Moving to Node #0,4 Current State: 75:[19, 77, 96], Operations: ['99-3=96'] Exploring Operation: 77-19=58, Resulting Numbers: [96, 58] Generated Node #0,4,0: 75:[96, 58] Operation: 77-19=58 Exploring Operation: 96-77=19, Resulting Numbers: [19, 19] Generated Node #0,4,1: 75:[19, 19] Operation: 96-77=19 Exploring Operation: 19+77=96, Resulting Numbers: [96, 96] Generated Node #0,4,2: 75:[96, 96] Operation: 19+77=96 Exploring Operation: 19+96=115, Resulting Numbers: [77, 115] Generated Node #0,4,3: 75:[77, 115] Operation: 19+96=115 Exploring Operation: 96-19=77, Resulting Numbers: [77, 77] Generated Node #0,4,4: 75:[77, 77] Operation: 96-19=77 Moving to Node #0,0,0 Current State: 75:[3, 3], Operations: ['99-77=22', '22-19=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[3, 3], Operations: ['99-19=80', '80-77=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,75 unequal: No Solution Moving to Node #0,1,4 Current State: 75:[77, 77], Operations: ['99-19=80', '80-3=77'] Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,75 unequal: No Solution Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[19, 25], Operations: ['99-77=22', '3+22=25'] Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,75 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[22, 16], Operations: ['99-77=22', '19-3=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,75 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[16, 22], Operations: ['19-3=16', '99-77=22'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[77, 77], Operations: ['99-3=96', '96-19=77'] Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,75 unequal: No Solution Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[22, 22], Operations: ['99-77=22', '19+3=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,75 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,75 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[80, 74], Operations: ['99-19=80', '77-3=74'] Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,75 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,75 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,75 unequal: No Solution Moving to Node #0,0,4 Current State: 75:[19, 19], Operations: ['99-77=22', '22-3=19'] Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,75 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,4,1 Current State: 75:[19, 19], Operations: ['99-3=96', '96-77=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,75 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[77, 83], Operations: ['19-3=16', '99-16=83'] Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,75 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[80, 80], Operations: ['99-19=80', '3+77=80'] Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,75 unequal: No Solution Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[77, 83], Operations: ['99-19=80', '3+80=83'] Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,75 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[99, 61], Operations: ['19-3=16', '77-16=61'] Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,75 unequal: No Solution Moving to Node #0,4,0 Current State: 75:[96, 58], Operations: ['99-3=96', '77-19=58'] Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,75 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,75 unequal: No Solution Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[96, 96], Operations: ['99-3=96', '19+77=96'] Exploring Operation: 96+96=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 96*96=9216, Resulting Numbers: [9216] 9216,75 unequal: No Solution Exploring Operation: 96-96=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 96/96=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[99, 93], Operations: ['19-3=16', '77+16=93'] Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 99*93=9207, Resulting Numbers: [9207] 9207,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[77, 115], Operations: ['19-3=16', '99+16=115'] Exploring Operation: 115-77=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 77+115=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 77*115=8855, Resulting Numbers: [8855] 8855,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[77, 115], Operations: ['99-3=96', '19+96=115'] Exploring Operation: 77*115=8855, Resulting Numbers: [8855] 8855,75 unequal: No Solution Exploring Operation: 115-77=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 77+115=192, Resulting Numbers: [192] 192,75 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 75, 43, 55, 13 ]
100
[ "75-43=32", "55+13=68", "32+68=100" ]
Current State: 100:[75, 43, 55, 13], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [55, 13, 32] Generated Node #2: [55, 13, 32] from Operation: 75-43=32 Current State: 100:[55, 13, 32], Operations: ['75-43=32'] Exploring Operation: 55+13=68, Resulting Numbers: [32, 68] Generated Node #3: [32, 68] from Operation: 55+13=68 Current State: 100:[32, 68], Operations: ['75-43=32', '55+13=68'] Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[75, 43, 55, 13], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [43, 13, 20] Generated Node #0,0: 100:[43, 13, 20] Operation: 75-55=20 Exploring Operation: 75-43=32, Resulting Numbers: [55, 13, 32] Generated Node #0,1: 100:[55, 13, 32] Operation: 75-43=32 Exploring Operation: 75+13=88, Resulting Numbers: [43, 55, 88] Generated Node #0,2: 100:[43, 55, 88] Operation: 75+13=88 Moving to Node #0,0 Current State: 100:[43, 13, 20], Operations: ['75-55=20'] Exploring Operation: 43-13=30, Resulting Numbers: [20, 30] Generated Node #0,0,0: 100:[20, 30] Operation: 43-13=30 Exploring Operation: 43-20=23, Resulting Numbers: [13, 23] Generated Node #0,0,1: 100:[13, 23] Operation: 43-20=23 Exploring Operation: 43+13=56, Resulting Numbers: [20, 56] Generated Node #0,0,2: 100:[20, 56] Operation: 43+13=56 Moving to Node #0,1 Current State: 100:[55, 13, 32], Operations: ['75-43=32'] Exploring Operation: 13+32=45, Resulting Numbers: [55, 45] Generated Node #0,1,0: 100:[55, 45] Operation: 13+32=45 Exploring Operation: 32-13=19, Resulting Numbers: [55, 19] Generated Node #0,1,1: 100:[55, 19] Operation: 32-13=19 Exploring Operation: 55-32=23, Resulting Numbers: [13, 23] Generated Node #0,1,2: 100:[13, 23] Operation: 55-32=23 Moving to Node #0,2 Current State: 100:[43, 55, 88], Operations: ['75+13=88'] Exploring Operation: 88-43=45, Resulting Numbers: [55, 45] Generated Node #0,2,0: 100:[55, 45] Operation: 88-43=45 Exploring Operation: 43+55=98, Resulting Numbers: [88, 98] Generated Node #0,2,1: 100:[88, 98] Operation: 43+55=98 Exploring Operation: 55-43=12, Resulting Numbers: [88, 12] Generated Node #0,2,2: 100:[88, 12] Operation: 55-43=12 Moving to Node #0,0,0 Current State: 100:[20, 30], Operations: ['75-55=20', '43-13=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,100 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[13, 23], Operations: ['75-55=20', '43-20=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,100 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[13, 23], Operations: ['75-43=32', '55-32=23'] Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,100 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[20, 56], Operations: ['75-55=20', '43+13=56'] Exploring Operation: 20+56=76, Resulting Numbers: [76] 76,100 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 20*56=1120, Resulting Numbers: [1120] 1120,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[55, 19], Operations: ['75-43=32', '32-13=19'] Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,100 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,100 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[55, 45], Operations: ['75-43=32', '13+32=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[75, 43, 55, 13], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [55, 13, 32] Generated Node #0,1: 100:[55, 13, 32] Operation: 75-43=32 Moving to Node #0,1 Current State: 100:[55, 13, 32], Operations: ['75-43=32'] Exploring Operation: 13+32=45, Resulting Numbers: [55, 45] Generated Node #0,1,0: 100:[55, 45] Operation: 13+32=45 Moving to Node #0,1,0 Current State: 100:[55, 45], Operations: ['75-43=32', '13+32=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.972222
hs_3
mult_heuristic
[ 6, 45, 77, 48 ]
86
[ "45-6=39", "77+48=125", "125-39=86" ]
Current State: 86:[6, 45, 77, 48], Operations: [] Exploring Operation: 45-6=39, Resulting Numbers: [77, 48, 39] Generated Node #2: [77, 48, 39] from Operation: 45-6=39 Current State: 86:[77, 48, 39], Operations: ['45-6=39'] Exploring Operation: 77+48=125, Resulting Numbers: [39, 125] Generated Node #3: [39, 125] from Operation: 77+48=125 Current State: 86:[39, 125], Operations: ['45-6=39', '77+48=125'] Exploring Operation: 125-39=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[6, 45, 77, 48], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [45, 77, 42] Generated Node #0,0: 86:[45, 77, 42] Operation: 48-6=42 Exploring Operation: 6+77=83, Resulting Numbers: [45, 48, 83] Generated Node #0,1: 86:[45, 48, 83] Operation: 6+77=83 Exploring Operation: 48-45=3, Resulting Numbers: [6, 77, 3] Generated Node #0,2: 86:[6, 77, 3] Operation: 48-45=3 Moving to Node #0,1 Current State: 86:[45, 48, 83], Operations: ['6+77=83'] Exploring Operation: 83-45=38, Resulting Numbers: [48, 38] Generated Node #0,1,0: 86:[48, 38] Operation: 83-45=38 Exploring Operation: 48-45=3, Resulting Numbers: [83, 3] Generated Node #0,1,1: 86:[83, 3] Operation: 48-45=3 Exploring Operation: 45+48=93, Resulting Numbers: [83, 93] Generated Node #0,1,2: 86:[83, 93] Operation: 45+48=93 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[83, 3], Operations: ['6+77=83', '48-45=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[6, 45, 77, 48], Operations: [] Exploring Operation: 6+77=83, Resulting Numbers: [45, 48, 83] Generated Node #0,1: 86:[45, 48, 83] Operation: 6+77=83 Moving to Node #0,1 Current State: 86:[45, 48, 83], Operations: ['6+77=83'] Exploring Operation: 48-45=3, Resulting Numbers: [83, 3] Generated Node #0,1,1: 86:[83, 3] Operation: 48-45=3 Moving to Node #0,1,1 Current State: 86:[83, 3], Operations: ['6+77=83', '48-45=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 90, 2, 73, 46 ]
40
[ "90-73=17", "46/2=23", "17+23=40" ]
Current State: 40:[90, 2, 73, 46], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [2, 46, 17] Generated Node #2: [2, 46, 17] from Operation: 90-73=17 Current State: 40:[2, 46, 17], Operations: ['90-73=17'] Exploring Operation: 46/2=23, Resulting Numbers: [17, 23] Generated Node #3: [17, 23] from Operation: 46/2=23 Current State: 40:[17, 23], Operations: ['90-73=17', '46/2=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[90, 2, 73, 46], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [2, 46, 17] Generated Node #0,0: 40:[2, 46, 17] Operation: 90-73=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[2, 46, 17], Operations: ['90-73=17'] Exploring Operation: 46/2=23, Resulting Numbers: [17, 23] Generated Node #0,0,0: 40:[17, 23] Operation: 46/2=23 Moving to Node #0,0,0 Current State: 40:[17, 23], Operations: ['90-73=17', '46/2=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[90, 2, 73, 46], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [2, 46, 17] Generated Node #0,0: 40:[2, 46, 17] Operation: 90-73=17 Moving to Node #0,0 Current State: 40:[2, 46, 17], Operations: ['90-73=17'] Exploring Operation: 46/2=23, Resulting Numbers: [17, 23] Generated Node #0,0,0: 40:[17, 23] Operation: 46/2=23 Moving to Node #0,0,0 Current State: 40:[17, 23], Operations: ['90-73=17', '46/2=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 36, 4, 32, 33 ]
34
[ "36-4=32", "32/32=1", "33+1=34" ]
Current State: 34:[36, 4, 32, 33], Operations: [] Exploring Operation: 36-4=32, Resulting Numbers: [32, 33, 32] Generated Node #2: [32, 33, 32] from Operation: 36-4=32 Current State: 34:[32, 33, 32], Operations: ['36-4=32'] Exploring Operation: 32/32=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 32/32=1 Current State: 34:[33, 1], Operations: ['36-4=32', '32/32=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[36, 4, 32, 33], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [4, 32, 3] Generated Node #0,0: 34:[4, 32, 3] Operation: 36-33=3 Exploring Operation: 36-32=4, Resulting Numbers: [4, 33, 4] Generated Node #0,1: 34:[4, 33, 4] Operation: 36-32=4 Exploring Operation: 36-4=32, Resulting Numbers: [32, 33, 32] Generated Node #0,2: 34:[32, 33, 32] Operation: 36-4=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[4, 32, 3], Operations: ['36-33=3'] Exploring Operation: 4+32=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 34:[3, 36] Operation: 4+32=36 Exploring Operation: 4-3=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 34:[32, 1] Operation: 4-3=1 Exploring Operation: 32+3=35, Resulting Numbers: [4, 35] Generated Node #0,0,2: 34:[4, 35] Operation: 32+3=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[3, 36], Operations: ['36-33=3', '4+32=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[32, 1], Operations: ['36-33=3', '4-3=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,34 unequal: No Solution No 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: 34:[4, 35], Operations: ['36-33=3', '32+3=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,34 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,34 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: 34:[4, 33, 4], Operations: ['36-32=4'] Exploring Operation: 4-4=0, Resulting Numbers: [33, 0] Generated Node #0,1,0: 34:[33, 0] Operation: 4-4=0 Exploring Operation: 4/4=1, Resulting Numbers: [33, 1] Generated Node #0,1,1: 34:[33, 1] Operation: 4/4=1 Exploring Operation: 4*4=16, Resulting Numbers: [33, 16] Generated Node #0,1,2: 34:[33, 16] Operation: 4*4=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[33, 1], Operations: ['36-32=4', '4/4=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[36, 4, 32, 33], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [4, 33, 4] Generated Node #0,1: 34:[4, 33, 4] Operation: 36-32=4 Moving to Node #0,1 Current State: 34:[4, 33, 4], Operations: ['36-32=4'] Exploring Operation: 4/4=1, Resulting Numbers: [33, 1] Generated Node #0,1,1: 34:[33, 1] Operation: 4/4=1 Moving to Node #0,1,1 Current State: 34:[33, 1], Operations: ['36-32=4', '4/4=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 87, 80, 20, 97 ]
43
[ "87-80=7", "20*7=140", "140-97=43" ]
Current State: 43:[87, 80, 20, 97], Operations: [] Exploring Operation: 87-80=7, Resulting Numbers: [20, 97, 7] Generated Node #2: [20, 97, 7] from Operation: 87-80=7 Current State: 43:[20, 97, 7], Operations: ['87-80=7'] Exploring Operation: 20*7=140, Resulting Numbers: [97, 140] Generated Node #3: [97, 140] from Operation: 20*7=140 Current State: 43:[97, 140], Operations: ['87-80=7', '20*7=140'] Exploring Operation: 140-97=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[87, 80, 20, 97], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [80, 20, 10] Generated Node #0,0: 43:[80, 20, 10] Operation: 97-87=10 Moving to Node #0,0 Current State: 43:[80, 20, 10], Operations: ['97-87=10'] Exploring Operation: 80-20=60, Resulting Numbers: [10, 60] Generated Node #0,0,0: 43:[10, 60] Operation: 80-20=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[10, 60], Operations: ['97-87=10', '80-20=60'] Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,43 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
[ 73, 18, 24, 32 ]
71
[ "32-24=8", "18*8=144", "144-73=71" ]
Current State: 71:[73, 18, 24, 32], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [73, 18, 8] Generated Node #2: [73, 18, 8] from Operation: 32-24=8 Current State: 71:[73, 18, 8], Operations: ['32-24=8'] Exploring Operation: 18*8=144, Resulting Numbers: [73, 144] Generated Node #3: [73, 144] from Operation: 18*8=144 Current State: 71:[73, 144], Operations: ['32-24=8', '18*8=144'] Exploring Operation: 144-73=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[73, 18, 24, 32], Operations: [] Exploring Operation: 18+24=42, Resulting Numbers: [73, 32, 42] Generated Node #0,0: 71:[73, 32, 42] Operation: 18+24=42 Moving to Node #0,0 Current State: 71:[73, 32, 42], Operations: ['18+24=42'] Exploring Operation: 32+42=74, Resulting Numbers: [73, 74] Generated Node #0,0,0: 71:[73, 74] Operation: 32+42=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[73, 74], Operations: ['18+24=42', '32+42=74'] Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 67, 5, 5 ]
73
[ "31+67=98", "5*5=25", "98-25=73" ]
Current State: 73:[31, 67, 5, 5], Operations: [] Exploring Operation: 31+67=98, Resulting Numbers: [5, 5, 98] Generated Node #2: [5, 5, 98] from Operation: 31+67=98 Current State: 73:[5, 5, 98], Operations: ['31+67=98'] Exploring Operation: 5*5=25, Resulting Numbers: [98, 25] Generated Node #3: [98, 25] from Operation: 5*5=25 Current State: 73:[98, 25], Operations: ['31+67=98', '5*5=25'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[31, 67, 5, 5], Operations: [] Exploring Operation: 31+5=36, Resulting Numbers: [67, 5, 36] Generated Node #0,0: 73:[67, 5, 36] Operation: 31+5=36 Exploring Operation: 31+5=36, Resulting Numbers: [67, 5, 36] Generated Node #0,1: 73:[67, 5, 36] Operation: 31+5=36 Exploring Operation: 5*5=25, Resulting Numbers: [31, 67, 25] Generated Node #0,2: 73:[31, 67, 25] Operation: 5*5=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[31, 67, 25], Operations: ['5*5=25'] Exploring Operation: 31+67=98, Resulting Numbers: [25, 98] Generated Node #0,2,0: 73:[25, 98] Operation: 31+67=98 Exploring Operation: 31+25=56, Resulting Numbers: [67, 56] Generated Node #0,2,1: 73:[67, 56] Operation: 31+25=56 Exploring Operation: 67+25=92, Resulting Numbers: [31, 92] Generated Node #0,2,2: 73:[31, 92] Operation: 67+25=92 Moving to Node #0,2,1 Current State: 73:[67, 56], Operations: ['5*5=25', '31+25=56'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,73 unequal: No Solution Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[31, 92], Operations: ['5*5=25', '67+25=92'] Exploring Operation: 31*92=2852, Resulting Numbers: [2852] 2852,73 unequal: No Solution Exploring Operation: 31+92=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[25, 98], Operations: ['5*5=25', '31+67=98'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[31, 67, 5, 5], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [31, 67, 25] Generated Node #0,2: 73:[31, 67, 25] Operation: 5*5=25 Moving to Node #0,2 Current State: 73:[31, 67, 25], Operations: ['5*5=25'] Exploring Operation: 31+67=98, Resulting Numbers: [25, 98] Generated Node #0,2,0: 73:[25, 98] Operation: 31+67=98 Moving to Node #0,2,0 Current State: 73:[25, 98], Operations: ['5*5=25', '31+67=98'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 26, 58, 43, 1 ]
40
[ "26+58=84", "43+1=44", "84-44=40" ]
Current State: 40:[26, 58, 43, 1], Operations: [] Exploring Operation: 26+58=84, Resulting Numbers: [43, 1, 84] Generated Node #2: [43, 1, 84] from Operation: 26+58=84 Current State: 40:[43, 1, 84], Operations: ['26+58=84'] Exploring Operation: 43+1=44, Resulting Numbers: [84, 44] Generated Node #3: [84, 44] from Operation: 43+1=44 Current State: 40:[84, 44], Operations: ['26+58=84', '43+1=44'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[26, 58, 43, 1], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [43, 1, 32] Generated Node #0,0: 40:[43, 1, 32] Operation: 58-26=32 Moving to Node #0,0 Current State: 40:[43, 1, 32], Operations: ['58-26=32'] Exploring Operation: 43-32=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 40:[1, 11] Operation: 43-32=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[1, 11], Operations: ['58-26=32', '43-32=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 15, 42, 45, 8 ]
21
[ "15-8=7", "45-42=3", "7*3=21" ]
Current State: 21:[15, 42, 45, 8], Operations: [] Exploring Operation: 15-8=7, Resulting Numbers: [42, 45, 7] Generated Node #2: [42, 45, 7] from Operation: 15-8=7 Current State: 21:[42, 45, 7], Operations: ['15-8=7'] Exploring Operation: 45-42=3, Resulting Numbers: [7, 3] Generated Node #3: [7, 3] from Operation: 45-42=3 Current State: 21:[7, 3], Operations: ['15-8=7', '45-42=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[15, 42, 45, 8], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [15, 8, 3] Generated Node #0,0: 21:[15, 8, 3] Operation: 45-42=3 Exploring Operation: 45/15=3, Resulting Numbers: [42, 8, 3] Generated Node #0,1: 21:[42, 8, 3] Operation: 45/15=3 Moving to Node #0,0 Current State: 21:[15, 8, 3], Operations: ['45-42=3'] Exploring Operation: 15+8=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 21:[3, 23] Operation: 15+8=23 Exploring Operation: 15-8=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 21:[3, 7] Operation: 15-8=7 Moving to Node #0,1 Current State: 21:[42, 8, 3], Operations: ['45/15=3'] Exploring Operation: 42/3=14, Resulting Numbers: [8, 14] Generated Node #0,1,0: 21:[8, 14] Operation: 42/3=14 Exploring Operation: 42-8=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 21:[3, 34] Operation: 42-8=34 Moving to Node #0,0,1 Current State: 21:[3, 7], Operations: ['45-42=3', '15-8=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[15, 42, 45, 8], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [15, 8, 3] Generated Node #0,0: 21:[15, 8, 3] Operation: 45-42=3 Moving to Node #0,0 Current State: 21:[15, 8, 3], Operations: ['45-42=3'] Exploring Operation: 15-8=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 21:[3, 7] Operation: 15-8=7 Moving to Node #0,0,1 Current State: 21:[3, 7], Operations: ['45-42=3', '15-8=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 98, 34, 70, 38 ]
96
[ "98-34=64", "70-38=32", "64+32=96" ]
Current State: 96:[98, 34, 70, 38], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [70, 38, 64] Generated Node #2: [70, 38, 64] from Operation: 98-34=64 Current State: 96:[70, 38, 64], Operations: ['98-34=64'] Exploring Operation: 70-38=32, Resulting Numbers: [64, 32] Generated Node #3: [64, 32] from Operation: 70-38=32 Current State: 96:[64, 32], Operations: ['98-34=64', '70-38=32'] Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[98, 34, 70, 38], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [98, 34, 32] Generated Node #0,0: 96:[98, 34, 32] Operation: 70-38=32 Moving to Node #0,0 Current State: 96:[98, 34, 32], Operations: ['70-38=32'] Exploring Operation: 34-32=2, Resulting Numbers: [98, 2] Generated Node #0,0,0: 96:[98, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 96:[98, 2], Operations: ['70-38=32', '34-32=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[98, 34, 70, 38], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [98, 34, 32] Generated Node #0,0: 96:[98, 34, 32] Operation: 70-38=32 Moving to Node #0,0 Current State: 96:[98, 34, 32], Operations: ['70-38=32'] Exploring Operation: 34-32=2, Resulting Numbers: [98, 2] Generated Node #0,0,0: 96:[98, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 96:[98, 2], Operations: ['70-38=32', '34-32=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 17, 88, 44, 4 ]
94
[ "17+88=105", "44/4=11", "105-11=94" ]
Current State: 94:[17, 88, 44, 4], Operations: [] Exploring Operation: 17+88=105, Resulting Numbers: [44, 4, 105] Generated Node #2: [44, 4, 105] from Operation: 17+88=105 Current State: 94:[44, 4, 105], Operations: ['17+88=105'] Exploring Operation: 44/4=11, Resulting Numbers: [105, 11] Generated Node #3: [105, 11] from Operation: 44/4=11 Current State: 94:[105, 11], Operations: ['17+88=105', '44/4=11'] Exploring Operation: 105-11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[17, 88, 44, 4], Operations: [] Exploring Operation: 17+88=105, Resulting Numbers: [44, 4, 105] Generated Node #0,0: 94:[44, 4, 105] Operation: 17+88=105 Moving to Node #0,0 Current State: 94:[44, 4, 105], Operations: ['17+88=105'] Exploring Operation: 105-4=101, Resulting Numbers: [44, 101] Generated Node #0,0,0: 94:[44, 101] Operation: 105-4=101 Moving to Node #0,0,0 Current State: 94:[44, 101], Operations: ['17+88=105', '105-4=101'] Exploring Operation: 101-44=57, Resulting Numbers: [57] 57,94 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 62, 68, 87 ]
97
[ "62-4=58", "68+87=155", "155-58=97" ]
Current State: 97:[4, 62, 68, 87], Operations: [] Exploring Operation: 62-4=58, Resulting Numbers: [68, 87, 58] Generated Node #2: [68, 87, 58] from Operation: 62-4=58 Current State: 97:[68, 87, 58], Operations: ['62-4=58'] Exploring Operation: 68+87=155, Resulting Numbers: [58, 155] Generated Node #3: [58, 155] from Operation: 68+87=155 Current State: 97:[58, 155], Operations: ['62-4=58', '68+87=155'] Exploring Operation: 155-58=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[4, 62, 68, 87], Operations: [] Exploring Operation: 4+62=66, Resulting Numbers: [68, 87, 66] Generated Node #0,0: 97:[68, 87, 66] Operation: 4+62=66 Exploring Operation: 62-4=58, Resulting Numbers: [68, 87, 58] Generated Node #0,1: 97:[68, 87, 58] Operation: 62-4=58 Exploring Operation: 4+68=72, Resulting Numbers: [62, 87, 72] Generated Node #0,2: 97:[62, 87, 72] Operation: 4+68=72 Exploring Operation: 4+87=91, Resulting Numbers: [62, 68, 91] Generated Node #0,3: 97:[62, 68, 91] Operation: 4+87=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[68, 87, 66], Operations: ['4+62=66'] Exploring Operation: 87+66=153, Resulting Numbers: [68, 153] Generated Node #0,0,0: 97:[68, 153] Operation: 87+66=153 Exploring Operation: 68+66=134, Resulting Numbers: [87, 134] Generated Node #0,0,1: 97:[87, 134] Operation: 68+66=134 Exploring Operation: 68+87=155, Resulting Numbers: [66, 155] Generated Node #0,0,2: 97:[66, 155] Operation: 68+87=155 Exploring Operation: 68-66=2, Resulting Numbers: [87, 2] Generated Node #0,0,3: 97:[87, 2] Operation: 68-66=2 Moving to Node #0,0,1 Current State: 97:[87, 134], Operations: ['4+62=66', '68+66=134'] Exploring Operation: 87*134=11658, Resulting Numbers: [11658] 11658,97 unequal: No Solution Exploring Operation: 134-87=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 87+134=221, Resulting Numbers: [221] 221,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[68, 153], Operations: ['4+62=66', '87+66=153'] Exploring Operation: 68+153=221, Resulting Numbers: [221] 221,97 unequal: No Solution Exploring Operation: 153-68=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 68*153=10404, Resulting Numbers: [10404] 10404,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[66, 155], Operations: ['4+62=66', '68+87=155'] Exploring Operation: 155-66=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 66+155=221, Resulting Numbers: [221] 221,97 unequal: No Solution Exploring Operation: 66*155=10230, Resulting Numbers: [10230] 10230,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[87, 2], Operations: ['4+62=66', '68-66=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[62, 87, 72], Operations: ['4+68=72'] Exploring Operation: 87-62=25, Resulting Numbers: [72, 25] Generated Node #0,2,0: 97:[72, 25] Operation: 87-62=25 Exploring Operation: 62+87=149, Resulting Numbers: [72, 149] Generated Node #0,2,1: 97:[72, 149] Operation: 62+87=149 Exploring Operation: 72-62=10, Resulting Numbers: [87, 10] Generated Node #0,2,2: 97:[87, 10] Operation: 72-62=10 Exploring Operation: 62+72=134, Resulting Numbers: [87, 134] Generated Node #0,2,3: 97:[87, 134] Operation: 62+72=134 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[87, 134], Operations: ['4+68=72', '62+72=134'] Exploring Operation: 87+134=221, Resulting Numbers: [221] 221,97 unequal: No Solution Exploring Operation: 87*134=11658, Resulting Numbers: [11658] 11658,97 unequal: No Solution Exploring Operation: 134-87=47, Resulting Numbers: [47] 47,97 unequal: No Solution No 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: 97:[72, 149], Operations: ['4+68=72', '62+87=149'] Exploring Operation: 72+149=221, Resulting Numbers: [221] 221,97 unequal: No Solution Exploring Operation: 72*149=10728, Resulting Numbers: [10728] 10728,97 unequal: No Solution Exploring Operation: 149-72=77, Resulting Numbers: [77] 77,97 unequal: No Solution No 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: 97:[72, 25], Operations: ['4+68=72', '87-62=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[4, 62, 68, 87], Operations: [] Exploring Operation: 4+68=72, Resulting Numbers: [62, 87, 72] Generated Node #0,2: 97:[62, 87, 72] Operation: 4+68=72 Moving to Node #0,2 Current State: 97:[62, 87, 72], Operations: ['4+68=72'] Exploring Operation: 87-62=25, Resulting Numbers: [72, 25] Generated Node #0,2,0: 97:[72, 25] Operation: 87-62=25 Moving to Node #0,2,0 Current State: 97:[72, 25], Operations: ['4+68=72', '87-62=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 10, 26, 9, 44 ]
40
[ "10+26=36", "36/9=4", "44-4=40" ]
Current State: 40:[10, 26, 9, 44], Operations: [] Exploring Operation: 10+26=36, Resulting Numbers: [9, 44, 36] Generated Node #2: [9, 44, 36] from Operation: 10+26=36 Current State: 40:[9, 44, 36], Operations: ['10+26=36'] Exploring Operation: 36/9=4, Resulting Numbers: [44, 4] Generated Node #3: [44, 4] from Operation: 36/9=4 Current State: 40:[44, 4], Operations: ['10+26=36', '36/9=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[10, 26, 9, 44], Operations: [] Exploring Operation: 26-9=17, Resulting Numbers: [10, 44, 17] Generated Node #0,0: 40:[10, 44, 17] Operation: 26-9=17 Exploring Operation: 26+9=35, Resulting Numbers: [10, 44, 35] Generated Node #0,1: 40:[10, 44, 35] Operation: 26+9=35 Exploring Operation: 44-26=18, Resulting Numbers: [10, 9, 18] Generated Node #0,2: 40:[10, 9, 18] Operation: 44-26=18 Exploring Operation: 26-10=16, Resulting Numbers: [9, 44, 16] Generated Node #0,3: 40:[9, 44, 16] Operation: 26-10=16 Exploring Operation: 10+26=36, Resulting Numbers: [9, 44, 36] Generated Node #0,4: 40:[9, 44, 36] Operation: 10+26=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[10, 9, 18], Operations: ['44-26=18'] Exploring Operation: 18/9=2, Resulting Numbers: [10, 2] Generated Node #0,2,0: 40:[10, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [10, 9] Generated Node #0,2,1: 40:[10, 9] Operation: 18-9=9 Exploring Operation: 10+9=19, Resulting Numbers: [18, 19] Generated Node #0,2,2: 40:[18, 19] Operation: 10+9=19 Exploring Operation: 10-9=1, Resulting Numbers: [18, 1] Generated Node #0,2,3: 40:[18, 1] Operation: 10-9=1 Exploring Operation: 18-10=8, Resulting Numbers: [9, 8] Generated Node #0,2,4: 40:[9, 8] Operation: 18-10=8 Moving to Node #0,2,0 Current State: 40:[10, 2], Operations: ['44-26=18', '18/9=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[9, 8], Operations: ['44-26=18', '18-10=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[10, 9], Operations: ['44-26=18', '18-9=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[18, 19], Operations: ['44-26=18', '10+9=19'] Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[18, 1], Operations: ['44-26=18', '10-9=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,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,0 Current State: 40:[10, 44, 17], Operations: ['26-9=17'] Exploring Operation: 44-17=27, Resulting Numbers: [10, 27] Generated Node #0,0,0: 40:[10, 27] Operation: 44-17=27 Exploring Operation: 17-10=7, Resulting Numbers: [44, 7] Generated Node #0,0,1: 40:[44, 7] Operation: 17-10=7 Exploring Operation: 44-10=34, Resulting Numbers: [17, 34] Generated Node #0,0,2: 40:[17, 34] Operation: 44-10=34 Exploring Operation: 10+17=27, Resulting Numbers: [44, 27] Generated Node #0,0,3: 40:[44, 27] Operation: 10+17=27 Exploring Operation: 10+44=54, Resulting Numbers: [17, 54] Generated Node #0,0,4: 40:[17, 54] Operation: 10+44=54 Moving to Node #0,0,1 Current State: 40:[44, 7], Operations: ['26-9=17', '17-10=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,40 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[10, 27], Operations: ['26-9=17', '44-17=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[17, 34], Operations: ['26-9=17', '44-10=34'] Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,40 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[44, 27], Operations: ['26-9=17', '10+17=27'] Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,40 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[17, 54], Operations: ['26-9=17', '10+44=54'] Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,40 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,40 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[10, 44, 35], Operations: ['26+9=35'] Exploring Operation: 44-10=34, Resulting Numbers: [35, 34] Generated Node #0,1,0: 40:[35, 34] Operation: 44-10=34 Exploring Operation: 35-10=25, Resulting Numbers: [44, 25] Generated Node #0,1,1: 40:[44, 25] Operation: 35-10=25 Exploring Operation: 10+35=45, Resulting Numbers: [44, 45] Generated Node #0,1,2: 40:[44, 45] Operation: 10+35=45 Exploring Operation: 44-35=9, Resulting Numbers: [10, 9] Generated Node #0,1,3: 40:[10, 9] Operation: 44-35=9 Exploring Operation: 10+44=54, Resulting Numbers: [35, 54] Generated Node #0,1,4: 40:[35, 54] Operation: 10+44=54 Moving to Node #0,1,3 Current State: 40:[10, 9], Operations: ['26+9=35', '44-35=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[44, 45], Operations: ['26+9=35', '10+35=45'] Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,40 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,40 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[44, 25], Operations: ['26+9=35', '35-10=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,40 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[35, 34], Operations: ['26+9=35', '44-10=34'] Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,40 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[35, 54], Operations: ['26+9=35', '10+44=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,40 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[9, 44, 16], Operations: ['26-10=16'] Exploring Operation: 44-16=28, Resulting Numbers: [9, 28] Generated Node #0,3,0: 40:[9, 28] Operation: 44-16=28 Exploring Operation: 9+44=53, Resulting Numbers: [16, 53] Generated Node #0,3,1: 40:[16, 53] Operation: 9+44=53 Exploring Operation: 16-9=7, Resulting Numbers: [44, 7] Generated Node #0,3,2: 40:[44, 7] Operation: 16-9=7 Exploring Operation: 44-9=35, Resulting Numbers: [16, 35] Generated Node #0,3,3: 40:[16, 35] Operation: 44-9=35 Exploring Operation: 9+16=25, Resulting Numbers: [44, 25] Generated Node #0,3,4: 40:[44, 25] Operation: 9+16=25 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 40:[44, 7], Operations: ['26-10=16', '16-9=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[9, 28], Operations: ['26-10=16', '44-16=28'] Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[16, 35], Operations: ['26-10=16', '44-9=35'] Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 40:[44, 25], Operations: ['26-10=16', '9+16=25'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[16, 53], Operations: ['26-10=16', '9+44=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,40 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[9, 44, 36], Operations: ['10+26=36'] Exploring Operation: 44-9=35, Resulting Numbers: [36, 35] Generated Node #0,4,0: 40:[36, 35] Operation: 44-9=35 Exploring Operation: 36-9=27, Resulting Numbers: [44, 27] Generated Node #0,4,1: 40:[44, 27] Operation: 36-9=27 Exploring Operation: 9+36=45, Resulting Numbers: [44, 45] Generated Node #0,4,2: 40:[44, 45] Operation: 9+36=45 Exploring Operation: 36/9=4, Resulting Numbers: [44, 4] Generated Node #0,4,3: 40:[44, 4] Operation: 36/9=4 Exploring Operation: 44-36=8, Resulting Numbers: [9, 8] Generated Node #0,4,4: 40:[9, 8] Operation: 44-36=8 Moving to Node #0,4,4 Current State: 40:[9, 8], Operations: ['10+26=36', '44-36=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[44, 4], Operations: ['10+26=36', '36/9=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,40 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[10, 26, 9, 44], Operations: [] Exploring Operation: 10+26=36, Resulting Numbers: [9, 44, 36] Generated Node #0,4: 40:[9, 44, 36] Operation: 10+26=36 Moving to Node #0,4 Current State: 40:[9, 44, 36], Operations: ['10+26=36'] Exploring Operation: 36/9=4, Resulting Numbers: [44, 4] Generated Node #0,4,3: 40:[44, 4] Operation: 36/9=4 Moving to Node #0,4,3 Current State: 40:[44, 4], Operations: ['10+26=36', '36/9=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.91059
hs_5
sum_heuristic
[ 30, 88, 3, 67 ]
23
[ "67-30=37", "3*37=111", "111-88=23" ]
Current State: 23:[30, 88, 3, 67], Operations: [] Exploring Operation: 67-30=37, Resulting Numbers: [88, 3, 37] Generated Node #2: [88, 3, 37] from Operation: 67-30=37 Current State: 23:[88, 3, 37], Operations: ['67-30=37'] Exploring Operation: 3*37=111, Resulting Numbers: [88, 111] Generated Node #3: [88, 111] from Operation: 3*37=111 Current State: 23:[88, 111], Operations: ['67-30=37', '3*37=111'] Exploring Operation: 111-88=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[30, 88, 3, 67], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [30, 3, 21] Generated Node #0,0: 23:[30, 3, 21] Operation: 88-67=21 Exploring Operation: 88-30=58, Resulting Numbers: [3, 67, 58] Generated Node #0,1: 23:[3, 67, 58] Operation: 88-30=58 Exploring Operation: 67-30=37, Resulting Numbers: [88, 3, 37] Generated Node #0,2: 23:[88, 3, 37] Operation: 67-30=37 Moving to Node #0,0 Current State: 23:[30, 3, 21], Operations: ['88-67=21'] Exploring Operation: 30-3=27, Resulting Numbers: [21, 27] Generated Node #0,0,0: 23:[21, 27] Operation: 30-3=27 Exploring Operation: 3+21=24, Resulting Numbers: [30, 24] Generated Node #0,0,1: 23:[30, 24] Operation: 3+21=24 Exploring Operation: 30+3=33, Resulting Numbers: [21, 33] Generated Node #0,0,2: 23:[21, 33] Operation: 30+3=33 Moving to Node #0,1 Current State: 23:[3, 67, 58], Operations: ['88-30=58'] Exploring Operation: 67-3=64, Resulting Numbers: [58, 64] Generated Node #0,1,0: 23:[58, 64] Operation: 67-3=64 Exploring Operation: 58-3=55, Resulting Numbers: [67, 55] Generated Node #0,1,1: 23:[67, 55] Operation: 58-3=55 Exploring Operation: 67-58=9, Resulting Numbers: [3, 9] Generated Node #0,1,2: 23:[3, 9] Operation: 67-58=9 Moving to Node #0,2 Current State: 23:[88, 3, 37], Operations: ['67-30=37'] Exploring Operation: 88-37=51, Resulting Numbers: [3, 51] Generated Node #0,2,0: 23:[3, 51] Operation: 88-37=51 Exploring Operation: 88-3=85, Resulting Numbers: [37, 85] Generated Node #0,2,1: 23:[37, 85] Operation: 88-3=85 Exploring Operation: 37-3=34, Resulting Numbers: [88, 34] Generated Node #0,2,2: 23:[88, 34] Operation: 37-3=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[3, 51], Operations: ['67-30=37', '88-37=51'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[37, 85], Operations: ['67-30=37', '88-3=85'] Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,23 unequal: No Solution Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,23 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[88, 34], Operations: ['67-30=37', '37-3=34'] Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,23 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,23 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: 23:[21, 27], Operations: ['88-67=21', '30-3=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[30, 24], Operations: ['88-67=21', '3+21=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[21, 33], Operations: ['88-67=21', '30+3=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,23 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[3, 9], Operations: ['88-30=58', '67-58=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[67, 55], Operations: ['88-30=58', '58-3=55'] Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 67*55=3685, Resulting Numbers: [3685] 3685,23 unequal: No Solution Exploring Operation: 67+55=122, Resulting Numbers: [122] 122,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[58, 64], Operations: ['88-30=58', '67-3=64'] Exploring Operation: 58*64=3712, Resulting Numbers: [3712] 3712,23 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 75, 96, 94, 6 ]
72
[ "75*96=7200", "94+6=100", "7200/100=72" ]
Current State: 72:[75, 96, 94, 6], Operations: [] Exploring Operation: 75*96=7200, Resulting Numbers: [94, 6, 7200] Generated Node #2: [94, 6, 7200] from Operation: 75*96=7200 Current State: 72:[94, 6, 7200], Operations: ['75*96=7200'] Exploring Operation: 94+6=100, Resulting Numbers: [7200, 100] Generated Node #3: [7200, 100] from Operation: 94+6=100 Current State: 72:[7200, 100], Operations: ['75*96=7200', '94+6=100'] Exploring Operation: 7200/100=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[75, 96, 94, 6], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [94, 6, 21] Generated Node #0,0: 72:[94, 6, 21] Operation: 96-75=21 Exploring Operation: 96-94=2, Resulting Numbers: [75, 6, 2] Generated Node #0,1: 72:[75, 6, 2] Operation: 96-94=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[75, 6, 2], Operations: ['96-94=2'] Exploring Operation: 75-2=73, Resulting Numbers: [6, 73] Generated Node #0,1,0: 72:[6, 73] Operation: 75-2=73 Exploring Operation: 75-6=69, Resulting Numbers: [2, 69] Generated Node #0,1,1: 72:[2, 69] Operation: 75-6=69 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[6, 73], Operations: ['96-94=2', '75-2=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[2, 69], Operations: ['96-94=2', '75-6=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[94, 6, 21], Operations: ['96-75=21'] Exploring Operation: 94-21=73, Resulting Numbers: [6, 73] Generated Node #0,0,0: 72:[6, 73] Operation: 94-21=73 Exploring Operation: 94-6=88, Resulting Numbers: [21, 88] Generated Node #0,0,1: 72:[21, 88] Operation: 94-6=88 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[6, 73], Operations: ['96-75=21', '94-21=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[21, 88], Operations: ['96-75=21', '94-6=88'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 3, 84, 25, 60 ]
38
[ "84*25=2100", "2100/60=35", "3+35=38" ]
Current State: 38:[3, 84, 25, 60], Operations: [] Exploring Operation: 84*25=2100, Resulting Numbers: [3, 60, 2100] Generated Node #2: [3, 60, 2100] from Operation: 84*25=2100 Current State: 38:[3, 60, 2100], Operations: ['84*25=2100'] Exploring Operation: 2100/60=35, Resulting Numbers: [3, 35] Generated Node #3: [3, 35] from Operation: 2100/60=35 Current State: 38:[3, 35], Operations: ['84*25=2100', '2100/60=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[3, 84, 25, 60], Operations: [] Exploring Operation: 84/3=28, Resulting Numbers: [25, 60, 28] Generated Node #0,0: 38:[25, 60, 28] Operation: 84/3=28 Exploring Operation: 84-60=24, Resulting Numbers: [3, 25, 24] Generated Node #0,1: 38:[3, 25, 24] Operation: 84-60=24 Moving to Node #0,1 Current State: 38:[3, 25, 24], Operations: ['84-60=24'] Exploring Operation: 25-3=22, Resulting Numbers: [24, 22] Generated Node #0,1,0: 38:[24, 22] Operation: 25-3=22 Exploring Operation: 25-24=1, Resulting Numbers: [3, 1] Generated Node #0,1,1: 38:[3, 1] Operation: 25-24=1 Moving to Node #0,0 Current State: 38:[25, 60, 28], Operations: ['84/3=28'] Exploring Operation: 60-25=35, Resulting Numbers: [28, 35] Generated Node #0,0,0: 38:[28, 35] Operation: 60-25=35 Exploring Operation: 60-28=32, Resulting Numbers: [25, 32] Generated Node #0,0,1: 38:[25, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[28, 35], Operations: ['84/3=28', '60-25=35'] Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[25, 32], Operations: ['84/3=28', '60-28=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 38:[3, 1], Operations: ['84-60=24', '25-24=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[24, 22], Operations: ['84-60=24', '25-3=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,38 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 85, 46, 78, 17 ]
56
[ "85-46=39", "78+17=95", "95-39=56" ]
Current State: 56:[85, 46, 78, 17], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [78, 17, 39] Generated Node #2: [78, 17, 39] from Operation: 85-46=39 Current State: 56:[78, 17, 39], Operations: ['85-46=39'] Exploring Operation: 78+17=95, Resulting Numbers: [39, 95] Generated Node #3: [39, 95] from Operation: 78+17=95 Current State: 56:[39, 95], Operations: ['85-46=39', '78+17=95'] Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[85, 46, 78, 17], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [46, 17, 7] Generated Node #0,0: 56:[46, 17, 7] Operation: 85-78=7 Exploring Operation: 85/17=5, Resulting Numbers: [46, 78, 5] Generated Node #0,1: 56:[46, 78, 5] Operation: 85/17=5 Moving to Node #0,0 Current State: 56:[46, 17, 7], Operations: ['85-78=7'] Exploring Operation: 46+7=53, Resulting Numbers: [17, 53] Generated Node #0,0,0: 56:[17, 53] Operation: 46+7=53 Exploring Operation: 46-17=29, Resulting Numbers: [7, 29] Generated Node #0,0,1: 56:[7, 29] Operation: 46-17=29 Moving to Node #0,1 Current State: 56:[46, 78, 5], Operations: ['85/17=5'] Exploring Operation: 46+5=51, Resulting Numbers: [78, 51] Generated Node #0,1,0: 56:[78, 51] Operation: 46+5=51 Exploring Operation: 78-46=32, Resulting Numbers: [5, 32] Generated Node #0,1,1: 56:[5, 32] Operation: 78-46=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[5, 32], Operations: ['85/17=5', '78-46=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[78, 51], Operations: ['85/17=5', '46+5=51'] Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,56 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,56 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: 56:[7, 29], Operations: ['85-78=7', '46-17=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[17, 53], Operations: ['85-78=7', '46+7=53'] Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,56 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 21, 44, 98, 34 ]
63
[ "98+34=132", "21*132=2772", "2772/44=63" ]
Current State: 63:[21, 44, 98, 34], Operations: [] Exploring Operation: 98+34=132, Resulting Numbers: [21, 44, 132] Generated Node #2: [21, 44, 132] from Operation: 98+34=132 Current State: 63:[21, 44, 132], Operations: ['98+34=132'] Exploring Operation: 21*132=2772, Resulting Numbers: [44, 2772] Generated Node #3: [44, 2772] from Operation: 21*132=2772 Current State: 63:[44, 2772], Operations: ['98+34=132', '21*132=2772'] Exploring Operation: 2772/44=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 44, 98, 34], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [21, 34, 54] Generated Node #0,0: 63:[21, 34, 54] Operation: 98-44=54 Exploring Operation: 44-34=10, Resulting Numbers: [21, 98, 10] Generated Node #0,1: 63:[21, 98, 10] Operation: 44-34=10 Exploring Operation: 98-34=64, Resulting Numbers: [21, 44, 64] Generated Node #0,2: 63:[21, 44, 64] Operation: 98-34=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[21, 44, 64], Operations: ['98-34=64'] Exploring Operation: 21+44=65, Resulting Numbers: [64, 65] Generated Node #0,2,0: 63:[64, 65] Operation: 21+44=65 Exploring Operation: 64-44=20, Resulting Numbers: [21, 20] Generated Node #0,2,1: 63:[21, 20] Operation: 64-44=20 Exploring Operation: 44-21=23, Resulting Numbers: [64, 23] Generated Node #0,2,2: 63:[64, 23] Operation: 44-21=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[21, 20], Operations: ['98-34=64', '64-44=20'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,63 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[64, 65], Operations: ['98-34=64', '21+44=65'] Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,63 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,63 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[64, 23], Operations: ['98-34=64', '44-21=23'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,63 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[21, 34, 54], Operations: ['98-44=54'] Exploring Operation: 54-34=20, Resulting Numbers: [21, 20] Generated Node #0,0,0: 63:[21, 20] Operation: 54-34=20 Exploring Operation: 21+34=55, Resulting Numbers: [54, 55] Generated Node #0,0,1: 63:[54, 55] Operation: 21+34=55 Exploring Operation: 34-21=13, Resulting Numbers: [54, 13] Generated Node #0,0,2: 63:[54, 13] Operation: 34-21=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[21, 20], Operations: ['98-44=54', '54-34=20'] Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,63 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[54, 13], Operations: ['98-44=54', '34-21=13'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,63 unequal: No Solution Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,63 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[54, 55], Operations: ['98-44=54', '21+34=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,63 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[21, 98, 10], Operations: ['44-34=10'] Exploring Operation: 21-10=11, Resulting Numbers: [98, 11] Generated Node #0,1,0: 63:[98, 11] Operation: 21-10=11 Exploring Operation: 98-10=88, Resulting Numbers: [21, 88] Generated Node #0,1,1: 63:[21, 88] Operation: 98-10=88 Exploring Operation: 98-21=77, Resulting Numbers: [10, 77] Generated Node #0,1,2: 63:[10, 77] Operation: 98-21=77 Moving to Node #0,1,2 Current State: 63:[10, 77], Operations: ['44-34=10', '98-21=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,63 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[21, 88], Operations: ['44-34=10', '98-10=88'] Exploring Operation: 21*88=1848, Resulting Numbers: [1848] 1848,63 unequal: No Solution Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,63 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[98, 11], Operations: ['44-34=10', '21-10=11'] Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,63 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,63 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
[ 21, 60, 94, 4 ]
88
[ "94-21=73", "60/4=15", "73+15=88" ]
Current State: 88:[21, 60, 94, 4], Operations: [] Exploring Operation: 94-21=73, Resulting Numbers: [60, 4, 73] Generated Node #2: [60, 4, 73] from Operation: 94-21=73 Current State: 88:[60, 4, 73], Operations: ['94-21=73'] Exploring Operation: 60/4=15, Resulting Numbers: [73, 15] Generated Node #3: [73, 15] from Operation: 60/4=15 Current State: 88:[73, 15], Operations: ['94-21=73', '60/4=15'] Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[21, 60, 94, 4], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [94, 4, 39] Generated Node #0,0: 88:[94, 4, 39] Operation: 60-21=39 Exploring Operation: 60/4=15, Resulting Numbers: [21, 94, 15] Generated Node #0,1: 88:[21, 94, 15] Operation: 60/4=15 Exploring Operation: 21+60=81, Resulting Numbers: [94, 4, 81] Generated Node #0,2: 88:[94, 4, 81] Operation: 21+60=81 Exploring Operation: 94-60=34, Resulting Numbers: [21, 4, 34] Generated Node #0,3: 88:[21, 4, 34] Operation: 94-60=34 Moving to Node #0,0 Current State: 88:[94, 4, 39], Operations: ['60-21=39'] Exploring Operation: 4+39=43, Resulting Numbers: [94, 43] Generated Node #0,0,0: 88:[94, 43] Operation: 4+39=43 Exploring Operation: 94+4=98, Resulting Numbers: [39, 98] Generated Node #0,0,1: 88:[39, 98] Operation: 94+4=98 Exploring Operation: 94-39=55, Resulting Numbers: [4, 55] Generated Node #0,0,2: 88:[4, 55] Operation: 94-39=55 Exploring Operation: 94-4=90, Resulting Numbers: [39, 90] Generated Node #0,0,3: 88:[39, 90] Operation: 94-4=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[94, 43], Operations: ['60-21=39', '4+39=43'] Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,88 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[39, 90], Operations: ['60-21=39', '94-4=90'] Exploring Operation: 39*90=3510, Resulting Numbers: [3510] 3510,88 unequal: No Solution Exploring Operation: 39+90=129, Resulting Numbers: [129] 129,88 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[4, 55], Operations: ['60-21=39', '94-39=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[39, 98], Operations: ['60-21=39', '94+4=98'] Exploring Operation: 39+98=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 39*98=3822, Resulting Numbers: [3822] 3822,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 88:[21, 4, 34], Operations: ['94-60=34'] Exploring Operation: 21+34=55, Resulting Numbers: [4, 55] Generated Node #0,3,0: 88:[4, 55] Operation: 21+34=55 Exploring Operation: 34-4=30, Resulting Numbers: [21, 30] Generated Node #0,3,1: 88:[21, 30] Operation: 34-4=30 Exploring Operation: 34-21=13, Resulting Numbers: [4, 13] Generated Node #0,3,2: 88:[4, 13] Operation: 34-21=13 Exploring Operation: 4+34=38, Resulting Numbers: [21, 38] Generated Node #0,3,3: 88:[21, 38] Operation: 4+34=38 Moving to Node #0,1 Current State: 88:[21, 94, 15], Operations: ['60/4=15'] Exploring Operation: 94-21=73, Resulting Numbers: [15, 73] Generated Node #0,1,0: 88:[15, 73] Operation: 94-21=73 Exploring Operation: 21+15=36, Resulting Numbers: [94, 36] Generated Node #0,1,1: 88:[94, 36] Operation: 21+15=36 Exploring Operation: 94-15=79, Resulting Numbers: [21, 79] Generated Node #0,1,2: 88:[21, 79] Operation: 94-15=79 Exploring Operation: 21-15=6, Resulting Numbers: [94, 6] Generated Node #0,1,3: 88:[94, 6] Operation: 21-15=6 Moving to Node #0,2 Current State: 88:[94, 4, 81], Operations: ['21+60=81'] Exploring Operation: 94+4=98, Resulting Numbers: [81, 98] Generated Node #0,2,0: 88:[81, 98] Operation: 94+4=98 Exploring Operation: 94-4=90, Resulting Numbers: [81, 90] Generated Node #0,2,1: 88:[81, 90] Operation: 94-4=90 Exploring Operation: 4+81=85, Resulting Numbers: [94, 85] Generated Node #0,2,2: 88:[94, 85] Operation: 4+81=85 Exploring Operation: 94-81=13, Resulting Numbers: [4, 13] Generated Node #0,2,3: 88:[4, 13] Operation: 94-81=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[4, 13], Operations: ['21+60=81', '94-81=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[81, 90], Operations: ['21+60=81', '94-4=90'] Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 81+90=171, Resulting Numbers: [171] 171,88 unequal: No Solution Exploring Operation: 81*90=7290, Resulting Numbers: [7290] 7290,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[94, 85], Operations: ['21+60=81', '4+81=85'] Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,88 unequal: No Solution Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,88 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[81, 98], Operations: ['21+60=81', '94+4=98'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,88 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 88:[4, 13], Operations: ['94-60=34', '34-21=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[21, 38], Operations: ['94-60=34', '4+34=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[94, 6], Operations: ['60/4=15', '21-15=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[21, 60, 94, 4], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [21, 94, 15] Generated Node #0,1: 88:[21, 94, 15] Operation: 60/4=15 Moving to Node #0,1 Current State: 88:[21, 94, 15], Operations: ['60/4=15'] Exploring Operation: 21-15=6, Resulting Numbers: [94, 6] Generated Node #0,1,3: 88:[94, 6] Operation: 21-15=6 Moving to Node #0,1,3 Current State: 88:[94, 6], Operations: ['60/4=15', '21-15=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.952257
hs_4
mult_heuristic
[ 55, 31, 17, 74 ]
33
[ "55-31=24", "74-17=57", "57-24=33" ]
Current State: 33:[55, 31, 17, 74], Operations: [] Exploring Operation: 55-31=24, Resulting Numbers: [17, 74, 24] Generated Node #2: [17, 74, 24] from Operation: 55-31=24 Current State: 33:[17, 74, 24], Operations: ['55-31=24'] Exploring Operation: 74-17=57, Resulting Numbers: [24, 57] Generated Node #3: [24, 57] from Operation: 74-17=57 Current State: 33:[24, 57], Operations: ['55-31=24', '74-17=57'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[55, 31, 17, 74], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [31, 17, 19] Generated Node #0,0: 33:[31, 17, 19] Operation: 74-55=19 Exploring Operation: 55-31=24, Resulting Numbers: [17, 74, 24] Generated Node #0,1: 33:[17, 74, 24] Operation: 55-31=24 Exploring Operation: 55-17=38, Resulting Numbers: [31, 74, 38] Generated Node #0,2: 33:[31, 74, 38] Operation: 55-17=38 Exploring Operation: 74-31=43, Resulting Numbers: [55, 17, 43] Generated Node #0,3: 33:[55, 17, 43] Operation: 74-31=43 Exploring Operation: 74-17=57, Resulting Numbers: [55, 31, 57] Generated Node #0,4: 33:[55, 31, 57] Operation: 74-17=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[31, 17, 19], Operations: ['74-55=19'] Exploring Operation: 31-19=12, Resulting Numbers: [17, 12] Generated Node #0,0,0: 33:[17, 12] Operation: 31-19=12 Exploring Operation: 19-17=2, Resulting Numbers: [31, 2] Generated Node #0,0,1: 33:[31, 2] Operation: 19-17=2 Exploring Operation: 31+17=48, Resulting Numbers: [19, 48] Generated Node #0,0,2: 33:[19, 48] Operation: 31+17=48 Exploring Operation: 17+19=36, Resulting Numbers: [31, 36] Generated Node #0,0,3: 33:[31, 36] Operation: 17+19=36 Exploring Operation: 31-17=14, Resulting Numbers: [19, 14] Generated Node #0,0,4: 33:[19, 14] Operation: 31-17=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[31, 2], Operations: ['74-55=19', '19-17=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[55, 31, 17, 74], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [31, 17, 19] Generated Node #0,0: 33:[31, 17, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 33:[31, 17, 19], Operations: ['74-55=19'] Exploring Operation: 19-17=2, Resulting Numbers: [31, 2] Generated Node #0,0,1: 33:[31, 2] Operation: 19-17=2 Moving to Node #0,0,1 Current State: 33:[31, 2], Operations: ['74-55=19', '19-17=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 87, 77, 6, 48 ]
80
[ "87-77=10", "48/6=8", "10*8=80" ]
Current State: 80:[87, 77, 6, 48], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [6, 48, 10] Generated Node #2: [6, 48, 10] from Operation: 87-77=10 Current State: 80:[6, 48, 10], Operations: ['87-77=10'] Exploring Operation: 48/6=8, Resulting Numbers: [10, 8] Generated Node #3: [10, 8] from Operation: 48/6=8 Current State: 80:[10, 8], Operations: ['87-77=10', '48/6=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[87, 77, 6, 48], Operations: [] Exploring Operation: 87-6=81, Resulting Numbers: [77, 48, 81] Generated Node #0,0: 80:[77, 48, 81] Operation: 87-6=81 Exploring Operation: 87-48=39, Resulting Numbers: [77, 6, 39] Generated Node #0,1: 80:[77, 6, 39] Operation: 87-48=39 Exploring Operation: 48/6=8, Resulting Numbers: [87, 77, 8] Generated Node #0,2: 80:[87, 77, 8] Operation: 48/6=8 Exploring Operation: 87-77=10, Resulting Numbers: [6, 48, 10] Generated Node #0,3: 80:[6, 48, 10] Operation: 87-77=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[77, 6, 39], Operations: ['87-48=39'] Exploring Operation: 6+39=45, Resulting Numbers: [77, 45] Generated Node #0,1,0: 80:[77, 45] Operation: 6+39=45 Exploring Operation: 77+6=83, Resulting Numbers: [39, 83] Generated Node #0,1,1: 80:[39, 83] Operation: 77+6=83 Exploring Operation: 77-39=38, Resulting Numbers: [6, 38] Generated Node #0,1,2: 80:[6, 38] Operation: 77-39=38 Exploring Operation: 77-6=71, Resulting Numbers: [39, 71] Generated Node #0,1,3: 80:[39, 71] Operation: 77-6=71 Moving to Node #0,1,2 Current State: 80:[6, 38], Operations: ['87-48=39', '77-39=38'] Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,80 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[39, 83], Operations: ['87-48=39', '77+6=83'] Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,80 unequal: No Solution Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,80 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[77, 45], Operations: ['87-48=39', '6+39=45'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,80 unequal: No Solution Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[39, 71], Operations: ['87-48=39', '77-6=71'] Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 39+71=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 39*71=2769, Resulting Numbers: [2769] 2769,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[6, 48, 10], Operations: ['87-77=10'] Exploring Operation: 48-10=38, Resulting Numbers: [6, 38] Generated Node #0,3,0: 80:[6, 38] Operation: 48-10=38 Exploring Operation: 48-6=42, Resulting Numbers: [10, 42] Generated Node #0,3,1: 80:[10, 42] Operation: 48-6=42 Exploring Operation: 48/6=8, Resulting Numbers: [10, 8] Generated Node #0,3,2: 80:[10, 8] Operation: 48/6=8 Exploring Operation: 6+10=16, Resulting Numbers: [48, 16] Generated Node #0,3,3: 80:[48, 16] Operation: 6+10=16 Moving to Node #0,3,2 Current State: 80:[10, 8], Operations: ['87-77=10', '48/6=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[87, 77, 6, 48], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [6, 48, 10] Generated Node #0,3: 80:[6, 48, 10] Operation: 87-77=10 Moving to Node #0,3 Current State: 80:[6, 48, 10], Operations: ['87-77=10'] Exploring Operation: 48/6=8, Resulting Numbers: [10, 8] Generated Node #0,3,2: 80:[10, 8] Operation: 48/6=8 Moving to Node #0,3,2 Current State: 80:[10, 8], Operations: ['87-77=10', '48/6=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 62, 4, 85, 27 ]
46
[ "62+4=66", "85+27=112", "112-66=46" ]
Current State: 46:[62, 4, 85, 27], Operations: [] Exploring Operation: 62+4=66, Resulting Numbers: [85, 27, 66] Generated Node #2: [85, 27, 66] from Operation: 62+4=66 Current State: 46:[85, 27, 66], Operations: ['62+4=66'] Exploring Operation: 85+27=112, Resulting Numbers: [66, 112] Generated Node #3: [66, 112] from Operation: 85+27=112 Current State: 46:[66, 112], Operations: ['62+4=66', '85+27=112'] Exploring Operation: 112-66=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[62, 4, 85, 27], Operations: [] Exploring Operation: 62-4=58, Resulting Numbers: [85, 27, 58] Generated Node #0,0: 46:[85, 27, 58] Operation: 62-4=58 Exploring Operation: 85-62=23, Resulting Numbers: [4, 27, 23] Generated Node #0,1: 46:[4, 27, 23] Operation: 85-62=23 Exploring Operation: 85-27=58, Resulting Numbers: [62, 4, 58] Generated Node #0,2: 46:[62, 4, 58] Operation: 85-27=58 Exploring Operation: 62-27=35, Resulting Numbers: [4, 85, 35] Generated Node #0,3: 46:[4, 85, 35] Operation: 62-27=35 Moving to Node #0,1 Current State: 46:[4, 27, 23], Operations: ['85-62=23'] Exploring Operation: 27+23=50, Resulting Numbers: [4, 50] Generated Node #0,1,0: 46:[4, 50] Operation: 27+23=50 Exploring Operation: 4+27=31, Resulting Numbers: [23, 31] Generated Node #0,1,1: 46:[23, 31] Operation: 4+27=31 Exploring Operation: 27-23=4, Resulting Numbers: [4, 4] Generated Node #0,1,2: 46:[4, 4] Operation: 27-23=4 Exploring Operation: 27-4=23, Resulting Numbers: [23, 23] Generated Node #0,1,3: 46:[23, 23] Operation: 27-4=23 Moving to Node #0,2 Current State: 46:[62, 4, 58], Operations: ['85-27=58'] Exploring Operation: 62+4=66, Resulting Numbers: [58, 66] Generated Node #0,2,0: 46:[58, 66] Operation: 62+4=66 Exploring Operation: 62-58=4, Resulting Numbers: [4, 4] Generated Node #0,2,1: 46:[4, 4] Operation: 62-58=4 Exploring Operation: 58-4=54, Resulting Numbers: [62, 54] Generated Node #0,2,2: 46:[62, 54] Operation: 58-4=54 Exploring Operation: 62-4=58, Resulting Numbers: [58, 58] Generated Node #0,2,3: 46:[58, 58] Operation: 62-4=58 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[4, 4], Operations: ['85-27=58', '62-58=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,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:[62, 54], Operations: ['85-27=58', '58-4=54'] Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,46 unequal: No Solution Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,46 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,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:[58, 58], Operations: ['85-27=58', '62-4=58'] Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,46 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,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:[58, 66], Operations: ['85-27=58', '62+4=66'] Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,46 unequal: No Solution Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,46 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: 46:[4, 85, 35], Operations: ['62-27=35'] Exploring Operation: 35-4=31, Resulting Numbers: [85, 31] Generated Node #0,3,0: 46:[85, 31] Operation: 35-4=31 Exploring Operation: 4+35=39, Resulting Numbers: [85, 39] Generated Node #0,3,1: 46:[85, 39] Operation: 4+35=39 Exploring Operation: 85-35=50, Resulting Numbers: [4, 50] Generated Node #0,3,2: 46:[4, 50] Operation: 85-35=50 Exploring Operation: 85-4=81, Resulting Numbers: [35, 81] Generated Node #0,3,3: 46:[35, 81] Operation: 85-4=81 Moving to Node #0,0 Current State: 46:[85, 27, 58], Operations: ['62-4=58'] Exploring Operation: 85-58=27, Resulting Numbers: [27, 27] Generated Node #0,0,0: 46:[27, 27] Operation: 85-58=27 Exploring Operation: 85-27=58, Resulting Numbers: [58, 58] Generated Node #0,0,1: 46:[58, 58] Operation: 85-27=58 Exploring Operation: 85+27=112, Resulting Numbers: [58, 112] Generated Node #0,0,2: 46:[58, 112] Operation: 85+27=112 Exploring Operation: 58-27=31, Resulting Numbers: [85, 31] Generated Node #0,0,3: 46:[85, 31] Operation: 58-27=31 Moving to Node #0,1,3 Current State: 46:[23, 23], Operations: ['85-62=23', '27-4=23'] Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,46 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[62, 4, 85, 27], Operations: [] Exploring Operation: 85-62=23, Resulting Numbers: [4, 27, 23] Generated Node #0,1: 46:[4, 27, 23] Operation: 85-62=23 Moving to Node #0,1 Current State: 46:[4, 27, 23], Operations: ['85-62=23'] Exploring Operation: 27-4=23, Resulting Numbers: [23, 23] Generated Node #0,1,3: 46:[23, 23] Operation: 27-4=23 Moving to Node #0,1,3 Current State: 46:[23, 23], Operations: ['85-62=23', '27-4=23'] Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 62, 64, 85, 29 ]
58
[ "64-62=2", "85-29=56", "2+56=58" ]
Current State: 58:[62, 64, 85, 29], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [85, 29, 2] Generated Node #2: [85, 29, 2] from Operation: 64-62=2 Current State: 58:[85, 29, 2], Operations: ['64-62=2'] Exploring Operation: 85-29=56, Resulting Numbers: [2, 56] Generated Node #3: [2, 56] from Operation: 85-29=56 Current State: 58:[2, 56], Operations: ['64-62=2', '85-29=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[62, 64, 85, 29], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [62, 64, 56] Generated Node #0,0: 58:[62, 64, 56] Operation: 85-29=56 Exploring Operation: 85-62=23, Resulting Numbers: [64, 29, 23] Generated Node #0,1: 58:[64, 29, 23] Operation: 85-62=23 Exploring Operation: 62-29=33, Resulting Numbers: [64, 85, 33] Generated Node #0,2: 58:[64, 85, 33] Operation: 62-29=33 Exploring Operation: 64-62=2, Resulting Numbers: [85, 29, 2] Generated Node #0,3: 58:[85, 29, 2] Operation: 64-62=2 Exploring Operation: 85-64=21, Resulting Numbers: [62, 29, 21] Generated Node #0,4: 58:[62, 29, 21] Operation: 85-64=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[62, 64, 56], Operations: ['85-29=56'] Exploring Operation: 64+56=120, Resulting Numbers: [62, 120] Generated Node #0,0,0: 58:[62, 120] Operation: 64+56=120 Exploring Operation: 64-62=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 58:[56, 2] Operation: 64-62=2 Exploring Operation: 64-56=8, Resulting Numbers: [62, 8] Generated Node #0,0,2: 58:[62, 8] Operation: 64-56=8 Exploring Operation: 62+56=118, Resulting Numbers: [64, 118] Generated Node #0,0,3: 58:[64, 118] Operation: 62+56=118 Exploring Operation: 62-56=6, Resulting Numbers: [64, 6] Generated Node #0,0,4: 58:[64, 6] Operation: 62-56=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[56, 2], Operations: ['85-29=56', '64-62=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[62, 64, 85, 29], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [62, 64, 56] Generated Node #0,0: 58:[62, 64, 56] Operation: 85-29=56 Moving to Node #0,0 Current State: 58:[62, 64, 56], Operations: ['85-29=56'] Exploring Operation: 64-62=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 58:[56, 2] Operation: 64-62=2 Moving to Node #0,0,1 Current State: 58:[56, 2], Operations: ['85-29=56', '64-62=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 58, 12, 19, 15 ]
12
[ "58-12=46", "19+15=34", "46-34=12" ]
Current State: 12:[58, 12, 19, 15], Operations: [] Exploring Operation: 58-12=46, Resulting Numbers: [19, 15, 46] Generated Node #2: [19, 15, 46] from Operation: 58-12=46 Current State: 12:[19, 15, 46], Operations: ['58-12=46'] Exploring Operation: 19+15=34, Resulting Numbers: [46, 34] Generated Node #3: [46, 34] from Operation: 19+15=34 Current State: 12:[46, 34], Operations: ['58-12=46', '19+15=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[58, 12, 19, 15], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [12, 15, 39] Generated Node #0,0: 12:[12, 15, 39] Operation: 58-19=39 Exploring Operation: 58-12=46, Resulting Numbers: [19, 15, 46] Generated Node #0,1: 12:[19, 15, 46] Operation: 58-12=46 Exploring Operation: 19-15=4, Resulting Numbers: [58, 12, 4] Generated Node #0,2: 12:[58, 12, 4] Operation: 19-15=4 Exploring Operation: 19-12=7, Resulting Numbers: [58, 15, 7] Generated Node #0,3: 12:[58, 15, 7] Operation: 19-12=7 Exploring Operation: 58-15=43, Resulting Numbers: [12, 19, 43] Generated Node #0,4: 12:[12, 19, 43] Operation: 58-15=43 Moving to Node #0,0 Current State: 12:[12, 15, 39], Operations: ['58-19=39'] Exploring Operation: 12+15=27, Resulting Numbers: [39, 27] Generated Node #0,0,0: 12:[39, 27] Operation: 12+15=27 Exploring Operation: 39-15=24, Resulting Numbers: [12, 24] Generated Node #0,0,1: 12:[12, 24] Operation: 39-15=24 Exploring Operation: 39-12=27, Resulting Numbers: [15, 27] Generated Node #0,0,2: 12:[15, 27] Operation: 39-12=27 Exploring Operation: 15-12=3, Resulting Numbers: [39, 3] Generated Node #0,0,3: 12:[39, 3] Operation: 15-12=3 Exploring Operation: 12+39=51, Resulting Numbers: [15, 51] Generated Node #0,0,4: 12:[15, 51] Operation: 12+39=51 Moving to Node #0,4 Current State: 12:[12, 19, 43], Operations: ['58-15=43'] Exploring Operation: 19-12=7, Resulting Numbers: [43, 7] Generated Node #0,4,0: 12:[43, 7] Operation: 19-12=7 Exploring Operation: 12+19=31, Resulting Numbers: [43, 31] Generated Node #0,4,1: 12:[43, 31] Operation: 12+19=31 Exploring Operation: 12+43=55, Resulting Numbers: [19, 55] Generated Node #0,4,2: 12:[19, 55] Operation: 12+43=55 Exploring Operation: 43-12=31, Resulting Numbers: [19, 31] Generated Node #0,4,3: 12:[19, 31] Operation: 43-12=31 Exploring Operation: 43-19=24, Resulting Numbers: [12, 24] Generated Node #0,4,4: 12:[12, 24] Operation: 43-19=24 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 12:[12, 24], Operations: ['58-15=43', '43-19=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[58, 12, 19, 15], Operations: [] Exploring Operation: 58-15=43, Resulting Numbers: [12, 19, 43] Generated Node #0,4: 12:[12, 19, 43] Operation: 58-15=43 Moving to Node #0,4 Current State: 12:[12, 19, 43], Operations: ['58-15=43'] Exploring Operation: 43-19=24, Resulting Numbers: [12, 24] Generated Node #0,4,4: 12:[12, 24] Operation: 43-19=24 Moving to Node #0,4,4 Current State: 12:[12, 24], Operations: ['58-15=43', '43-19=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 80, 43, 2, 37 ]
34
[ "80/2=40", "43-37=6", "40-6=34" ]
Current State: 34:[80, 43, 2, 37], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [43, 37, 40] Generated Node #2: [43, 37, 40] from Operation: 80/2=40 Current State: 34:[43, 37, 40], Operations: ['80/2=40'] Exploring Operation: 43-37=6, Resulting Numbers: [40, 6] Generated Node #3: [40, 6] from Operation: 43-37=6 Current State: 34:[40, 6], Operations: ['80/2=40', '43-37=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[80, 43, 2, 37], Operations: [] Exploring Operation: 80-43=37, Resulting Numbers: [2, 37, 37] Generated Node #0,0: 34:[2, 37, 37] Operation: 80-43=37 Moving to Node #0,0 Current State: 34:[2, 37, 37], Operations: ['80-43=37'] Exploring Operation: 37/37=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 34:[2, 1] Operation: 37/37=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[2, 1], Operations: ['80-43=37', '37/37=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 25, 38, 54, 66 ]
42
[ "25*66=1650", "1650-54=1596", "1596/38=42" ]
Current State: 42:[25, 38, 54, 66], Operations: [] Exploring Operation: 25*66=1650, Resulting Numbers: [38, 54, 1650] Generated Node #2: [38, 54, 1650] from Operation: 25*66=1650 Current State: 42:[38, 54, 1650], Operations: ['25*66=1650'] Exploring Operation: 1650-54=1596, Resulting Numbers: [38, 1596] Generated Node #3: [38, 1596] from Operation: 1650-54=1596 Current State: 42:[38, 1596], Operations: ['25*66=1650', '1650-54=1596'] Exploring Operation: 1596/38=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[25, 38, 54, 66], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [25, 38, 12] Generated Node #0,0: 42:[25, 38, 12] Operation: 66-54=12 Exploring Operation: 66-25=41, Resulting Numbers: [38, 54, 41] Generated Node #0,1: 42:[38, 54, 41] Operation: 66-25=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[25, 38, 12], Operations: ['66-54=12'] Exploring Operation: 25-12=13, Resulting Numbers: [38, 13] Generated Node #0,0,0: 42:[38, 13] Operation: 25-12=13 Exploring Operation: 38-25=13, Resulting Numbers: [12, 13] Generated Node #0,0,1: 42:[12, 13] Operation: 38-25=13 Moving to Node #0,0,1 Current State: 42:[12, 13], Operations: ['66-54=12', '38-25=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[38, 13], Operations: ['66-54=12', '25-12=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,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 Current State: 42:[38, 54, 41], Operations: ['66-25=41'] Exploring Operation: 54-38=16, Resulting Numbers: [41, 16] Generated Node #0,1,0: 42:[41, 16] Operation: 54-38=16 Exploring Operation: 54-41=13, Resulting Numbers: [38, 13] Generated Node #0,1,1: 42:[38, 13] Operation: 54-41=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[41, 16], Operations: ['66-25=41', '54-38=16'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[38, 13], Operations: ['66-25=41', '54-41=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 42, 2, 25, 3 ]
35
[ "42-2=40", "25*3=75", "75-40=35" ]
Current State: 35:[42, 2, 25, 3], Operations: [] Exploring Operation: 42-2=40, Resulting Numbers: [25, 3, 40] Generated Node #2: [25, 3, 40] from Operation: 42-2=40 Current State: 35:[25, 3, 40], Operations: ['42-2=40'] Exploring Operation: 25*3=75, Resulting Numbers: [40, 75] Generated Node #3: [40, 75] from Operation: 25*3=75 Current State: 35:[40, 75], Operations: ['42-2=40', '25*3=75'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[42, 2, 25, 3], Operations: [] Exploring Operation: 42-25=17, Resulting Numbers: [2, 3, 17] Generated Node #0,0: 35:[2, 3, 17] Operation: 42-25=17 Moving to Node #0,0 Current State: 35:[2, 3, 17], Operations: ['42-25=17'] Exploring Operation: 2*17=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 35:[3, 34] Operation: 2*17=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[3, 34], Operations: ['42-25=17', '2*17=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 61, 36, 39 ]
57
[ "39-36=3", "12/3=4", "61-4=57" ]
Current State: 57:[12, 61, 36, 39], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [12, 61, 3] Generated Node #2: [12, 61, 3] from Operation: 39-36=3 Current State: 57:[12, 61, 3], Operations: ['39-36=3'] Exploring Operation: 12/3=4, Resulting Numbers: [61, 4] Generated Node #3: [61, 4] from Operation: 12/3=4 Current State: 57:[61, 4], Operations: ['39-36=3', '12/3=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[12, 61, 36, 39], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [12, 61, 3] Generated Node #0,0: 57:[12, 61, 3] Operation: 39-36=3 Moving to Node #0,0 Current State: 57:[12, 61, 3], Operations: ['39-36=3'] Exploring Operation: 12/3=4, Resulting Numbers: [61, 4] Generated Node #0,0,0: 57:[61, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 57:[61, 4], Operations: ['39-36=3', '12/3=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[12, 61, 36, 39], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [12, 61, 3] Generated Node #0,0: 57:[12, 61, 3] Operation: 39-36=3 Moving to Node #0,0 Current State: 57:[12, 61, 3], Operations: ['39-36=3'] Exploring Operation: 12/3=4, Resulting Numbers: [61, 4] Generated Node #0,0,0: 57:[61, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 57:[61, 4], Operations: ['39-36=3', '12/3=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 50, 75, 22, 85 ]
88
[ "75-50=25", "85-22=63", "25+63=88" ]
Current State: 88:[50, 75, 22, 85], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [22, 85, 25] Generated Node #2: [22, 85, 25] from Operation: 75-50=25 Current State: 88:[22, 85, 25], Operations: ['75-50=25'] Exploring Operation: 85-22=63, Resulting Numbers: [25, 63] Generated Node #3: [25, 63] from Operation: 85-22=63 Current State: 88:[25, 63], Operations: ['75-50=25', '85-22=63'] Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[50, 75, 22, 85], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [22, 85, 25] Generated Node #0,0: 88:[22, 85, 25] Operation: 75-50=25 Exploring Operation: 85-75=10, Resulting Numbers: [50, 22, 10] Generated Node #0,1: 88:[50, 22, 10] Operation: 85-75=10 Exploring Operation: 75-22=53, Resulting Numbers: [50, 85, 53] Generated Node #0,2: 88:[50, 85, 53] Operation: 75-22=53 Exploring Operation: 50-22=28, Resulting Numbers: [75, 85, 28] Generated Node #0,3: 88:[75, 85, 28] Operation: 50-22=28 Exploring Operation: 75+22=97, Resulting Numbers: [50, 85, 97] Generated Node #0,4: 88:[50, 85, 97] Operation: 75+22=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[22, 85, 25], Operations: ['75-50=25'] Exploring Operation: 25-22=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 88:[85, 3] Operation: 25-22=3 Exploring Operation: 22+25=47, Resulting Numbers: [85, 47] Generated Node #0,0,1: 88:[85, 47] Operation: 22+25=47 Exploring Operation: 85-25=60, Resulting Numbers: [22, 60] Generated Node #0,0,2: 88:[22, 60] Operation: 85-25=60 Exploring Operation: 22+85=107, Resulting Numbers: [25, 107] Generated Node #0,0,3: 88:[25, 107] Operation: 22+85=107 Exploring Operation: 85-22=63, Resulting Numbers: [25, 63] Generated Node #0,0,4: 88:[25, 63] Operation: 85-22=63 Moving to Node #0,0,0 Current State: 88:[85, 3], Operations: ['75-50=25', '25-22=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[50, 75, 22, 85], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [22, 85, 25] Generated Node #0,0: 88:[22, 85, 25] Operation: 75-50=25 Moving to Node #0,0 Current State: 88:[22, 85, 25], Operations: ['75-50=25'] Exploring Operation: 25-22=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 88:[85, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 88:[85, 3], Operations: ['75-50=25', '25-22=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 47, 63, 13, 61 ]
36
[ "47+63=110", "13+61=74", "110-74=36" ]
Current State: 36:[47, 63, 13, 61], Operations: [] Exploring Operation: 47+63=110, Resulting Numbers: [13, 61, 110] Generated Node #2: [13, 61, 110] from Operation: 47+63=110 Current State: 36:[13, 61, 110], Operations: ['47+63=110'] Exploring Operation: 13+61=74, Resulting Numbers: [110, 74] Generated Node #3: [110, 74] from Operation: 13+61=74 Current State: 36:[110, 74], Operations: ['47+63=110', '13+61=74'] Exploring Operation: 110-74=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[47, 63, 13, 61], Operations: [] Exploring Operation: 63-13=50, Resulting Numbers: [47, 61, 50] Generated Node #0,0: 36:[47, 61, 50] Operation: 63-13=50 Exploring Operation: 63-61=2, Resulting Numbers: [47, 13, 2] Generated Node #0,1: 36:[47, 13, 2] Operation: 63-61=2 Exploring Operation: 61-47=14, Resulting Numbers: [63, 13, 14] Generated Node #0,2: 36:[63, 13, 14] Operation: 61-47=14 Exploring Operation: 63-47=16, Resulting Numbers: [13, 61, 16] Generated Node #0,3: 36:[13, 61, 16] Operation: 63-47=16 Exploring Operation: 61-13=48, Resulting Numbers: [47, 63, 48] Generated Node #0,4: 36:[47, 63, 48] Operation: 61-13=48 Moving to Node #0,1 Current State: 36:[47, 13, 2], Operations: ['63-61=2'] Exploring Operation: 47-2=45, Resulting Numbers: [13, 45] Generated Node #0,1,0: 36:[13, 45] Operation: 47-2=45 Exploring Operation: 47-13=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 36:[2, 34] Operation: 47-13=34 Exploring Operation: 47+2=49, Resulting Numbers: [13, 49] Generated Node #0,1,2: 36:[13, 49] Operation: 47+2=49 Exploring Operation: 13+2=15, Resulting Numbers: [47, 15] Generated Node #0,1,3: 36:[47, 15] Operation: 13+2=15 Exploring Operation: 13-2=11, Resulting Numbers: [47, 11] Generated Node #0,1,4: 36:[47, 11] Operation: 13-2=11 Moving to Node #0,3 Current State: 36:[13, 61, 16], Operations: ['63-47=16'] Exploring Operation: 13+16=29, Resulting Numbers: [61, 29] Generated Node #0,3,0: 36:[61, 29] Operation: 13+16=29 Exploring Operation: 61-16=45, Resulting Numbers: [13, 45] Generated Node #0,3,1: 36:[13, 45] Operation: 61-16=45 Exploring Operation: 13+61=74, Resulting Numbers: [16, 74] Generated Node #0,3,2: 36:[16, 74] Operation: 13+61=74 Exploring Operation: 16-13=3, Resulting Numbers: [61, 3] Generated Node #0,3,3: 36:[61, 3] Operation: 16-13=3 Exploring Operation: 61-13=48, Resulting Numbers: [16, 48] Generated Node #0,3,4: 36:[16, 48] Operation: 61-13=48 Moving to Node #0,2 Current State: 36:[63, 13, 14], Operations: ['61-47=14'] Exploring Operation: 13+14=27, Resulting Numbers: [63, 27] Generated Node #0,2,0: 36:[63, 27] Operation: 13+14=27 Exploring Operation: 63-13=50, Resulting Numbers: [14, 50] Generated Node #0,2,1: 36:[14, 50] Operation: 63-13=50 Exploring Operation: 14-13=1, Resulting Numbers: [63, 1] Generated Node #0,2,2: 36:[63, 1] Operation: 14-13=1 Exploring Operation: 63+13=76, Resulting Numbers: [14, 76] Generated Node #0,2,3: 36:[14, 76] Operation: 63+13=76 Exploring Operation: 63-14=49, Resulting Numbers: [13, 49] Generated Node #0,2,4: 36:[13, 49] Operation: 63-14=49 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[13, 49], Operations: ['61-47=14', '63-14=49'] Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,36 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[47, 63, 13, 61], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [63, 13, 14] Generated Node #0,2: 36:[63, 13, 14] Operation: 61-47=14 Moving to Node #0,2 Current State: 36:[63, 13, 14], Operations: ['61-47=14'] Exploring Operation: 63-14=49, Resulting Numbers: [13, 49] Generated Node #0,2,4: 36:[13, 49] Operation: 63-14=49 Moving to Node #0,2,4 Current State: 36:[13, 49], Operations: ['61-47=14', '63-14=49'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 78, 76, 33, 71 ]
19
[ "78-76=2", "71-33=38", "38/2=19" ]
Current State: 19:[78, 76, 33, 71], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [33, 71, 2] Generated Node #2: [33, 71, 2] from Operation: 78-76=2 Current State: 19:[33, 71, 2], Operations: ['78-76=2'] Exploring Operation: 71-33=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 71-33=38 Current State: 19:[2, 38], Operations: ['78-76=2', '71-33=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[78, 76, 33, 71], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [33, 71, 2] Generated Node #0,0: 19:[33, 71, 2] Operation: 78-76=2 Exploring Operation: 78-71=7, Resulting Numbers: [76, 33, 7] Generated Node #0,1: 19:[76, 33, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[33, 71, 2], Operations: ['78-76=2'] Exploring Operation: 33-2=31, Resulting Numbers: [71, 31] Generated Node #0,0,0: 19:[71, 31] Operation: 33-2=31 Exploring Operation: 71-33=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 19:[2, 38] Operation: 71-33=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[2, 38], Operations: ['78-76=2', '71-33=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[78, 76, 33, 71], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [33, 71, 2] Generated Node #0,0: 19:[33, 71, 2] Operation: 78-76=2 Moving to Node #0,0 Current State: 19:[33, 71, 2], Operations: ['78-76=2'] Exploring Operation: 71-33=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 19:[2, 38] Operation: 71-33=38 Moving to Node #0,0,1 Current State: 19:[2, 38], Operations: ['78-76=2', '71-33=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 90, 88, 14, 52 ]
45
[ "90-88=2", "14/2=7", "52-7=45" ]
Current State: 45:[90, 88, 14, 52], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [14, 52, 2] Generated Node #2: [14, 52, 2] from Operation: 90-88=2 Current State: 45:[14, 52, 2], Operations: ['90-88=2'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #3: [52, 7] from Operation: 14/2=7 Current State: 45:[52, 7], Operations: ['90-88=2', '14/2=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[90, 88, 14, 52], Operations: [] Exploring Operation: 88-14=74, Resulting Numbers: [90, 52, 74] Generated Node #0,0: 45:[90, 52, 74] Operation: 88-14=74 Exploring Operation: 90-14=76, Resulting Numbers: [88, 52, 76] Generated Node #0,1: 45:[88, 52, 76] Operation: 90-14=76 Exploring Operation: 90-52=38, Resulting Numbers: [88, 14, 38] Generated Node #0,2: 45:[88, 14, 38] Operation: 90-52=38 Exploring Operation: 88-52=36, Resulting Numbers: [90, 14, 36] Generated Node #0,3: 45:[90, 14, 36] Operation: 88-52=36 Exploring Operation: 90-88=2, Resulting Numbers: [14, 52, 2] Generated Node #0,4: 45:[14, 52, 2] Operation: 90-88=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[14, 52, 2], Operations: ['90-88=2'] Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,4,0: 45:[2, 38] Operation: 52-14=38 Exploring Operation: 52-2=50, Resulting Numbers: [14, 50] Generated Node #0,4,1: 45:[14, 50] Operation: 52-2=50 Exploring Operation: 14+2=16, Resulting Numbers: [52, 16] Generated Node #0,4,2: 45:[52, 16] Operation: 14+2=16 Exploring Operation: 14-2=12, Resulting Numbers: [52, 12] Generated Node #0,4,3: 45:[52, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,4,4: 45:[52, 7] Operation: 14/2=7 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 45:[14, 50], Operations: ['90-88=2', '52-2=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,45 unequal: No Solution 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 No 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: 45:[2, 38], Operations: ['90-88=2', '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: 2+38=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,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,4,2 Current State: 45:[52, 16], Operations: ['90-88=2', '14+2=16'] Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,45 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,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,4,4 Current State: 45:[52, 7], Operations: ['90-88=2', '14/2=7'] Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,45 unequal: No Solution Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[90, 88, 14, 52], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [14, 52, 2] Generated Node #0,4: 45:[14, 52, 2] Operation: 90-88=2 Moving to Node #0,4 Current State: 45:[14, 52, 2], Operations: ['90-88=2'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,4,4: 45:[52, 7] Operation: 14/2=7 Moving to Node #0,4,4 Current State: 45:[52, 7], Operations: ['90-88=2', '14/2=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 9, 98, 32, 4 ]
71
[ "9+98=107", "32+4=36", "107-36=71" ]
Current State: 71:[9, 98, 32, 4], Operations: [] Exploring Operation: 9+98=107, Resulting Numbers: [32, 4, 107] Generated Node #2: [32, 4, 107] from Operation: 9+98=107 Current State: 71:[32, 4, 107], Operations: ['9+98=107'] Exploring Operation: 32+4=36, Resulting Numbers: [107, 36] Generated Node #3: [107, 36] from Operation: 32+4=36 Current State: 71:[107, 36], Operations: ['9+98=107', '32+4=36'] Exploring Operation: 107-36=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[9, 98, 32, 4], Operations: [] Exploring Operation: 98-9=89, Resulting Numbers: [32, 4, 89] Generated Node #0,0: 71:[32, 4, 89] Operation: 98-9=89 Exploring Operation: 98-4=94, Resulting Numbers: [9, 32, 94] Generated Node #0,1: 71:[9, 32, 94] Operation: 98-4=94 Exploring Operation: 9*4=36, Resulting Numbers: [98, 32, 36] Generated Node #0,2: 71:[98, 32, 36] Operation: 9*4=36 Exploring Operation: 9+32=41, Resulting Numbers: [98, 4, 41] Generated Node #0,3: 71:[98, 4, 41] Operation: 9+32=41 Exploring Operation: 9+4=13, Resulting Numbers: [98, 32, 13] Generated Node #0,4: 71:[98, 32, 13] Operation: 9+4=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[98, 32, 36], Operations: ['9*4=36'] Exploring Operation: 98-36=62, Resulting Numbers: [32, 62] Generated Node #0,2,0: 71:[32, 62] Operation: 98-36=62 Exploring Operation: 36-32=4, Resulting Numbers: [98, 4] Generated Node #0,2,1: 71:[98, 4] Operation: 36-32=4 Exploring Operation: 32+36=68, Resulting Numbers: [98, 68] Generated Node #0,2,2: 71:[98, 68] Operation: 32+36=68 Exploring Operation: 98+32=130, Resulting Numbers: [36, 130] Generated Node #0,2,3: 71:[36, 130] Operation: 98+32=130 Exploring Operation: 98-32=66, Resulting Numbers: [36, 66] Generated Node #0,2,4: 71:[36, 66] Operation: 98-32=66 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[98, 68], Operations: ['9*4=36', '32+36=68'] Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,71 unequal: No Solution Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,71 unequal: No Solution Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[36, 66], Operations: ['9*4=36', '98-32=66'] Exploring Operation: 36*66=2376, Resulting Numbers: [2376] 2376,71 unequal: No Solution Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[32, 62], Operations: ['9*4=36', '98-36=62'] Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,71 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[98, 4], Operations: ['9*4=36', '36-32=4'] Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,71 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[36, 130], Operations: ['9*4=36', '98+32=130'] Exploring Operation: 36*130=4680, Resulting Numbers: [4680] 4680,71 unequal: No Solution Exploring Operation: 130-36=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 36+130=166, Resulting Numbers: [166] 166,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[32, 4, 89], Operations: ['98-9=89'] Exploring Operation: 32*4=128, Resulting Numbers: [89, 128] Generated Node #0,0,0: 71:[89, 128] Operation: 32*4=128 Exploring Operation: 32+4=36, Resulting Numbers: [89, 36] Generated Node #0,0,1: 71:[89, 36] Operation: 32+4=36 Exploring Operation: 89-4=85, Resulting Numbers: [32, 85] Generated Node #0,0,2: 71:[32, 85] Operation: 89-4=85 Exploring Operation: 4+89=93, Resulting Numbers: [32, 93] Generated Node #0,0,3: 71:[32, 93] Operation: 4+89=93 Exploring Operation: 32-4=28, Resulting Numbers: [89, 28] Generated Node #0,0,4: 71:[89, 28] Operation: 32-4=28 Moving to Node #0,0,1 Current State: 71:[89, 36], Operations: ['98-9=89', '32+4=36'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,71 unequal: No Solution Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[32, 85], Operations: ['98-9=89', '89-4=85'] Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[32, 93], Operations: ['98-9=89', '4+89=93'] Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,71 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[89, 28], Operations: ['98-9=89', '32-4=28'] Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[89, 128], Operations: ['98-9=89', '32*4=128'] Exploring Operation: 128-89=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 89+128=217, Resulting Numbers: [217] 217,71 unequal: No Solution Exploring Operation: 89*128=11392, Resulting Numbers: [11392] 11392,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[9, 32, 94], Operations: ['98-4=94'] Exploring Operation: 32-9=23, Resulting Numbers: [94, 23] Generated Node #0,1,0: 71:[94, 23] Operation: 32-9=23 Exploring Operation: 94-9=85, Resulting Numbers: [32, 85] Generated Node #0,1,1: 71:[32, 85] Operation: 94-9=85 Exploring Operation: 9+32=41, Resulting Numbers: [94, 41] Generated Node #0,1,2: 71:[94, 41] Operation: 9+32=41 Exploring Operation: 9+94=103, Resulting Numbers: [32, 103] Generated Node #0,1,3: 71:[32, 103] Operation: 9+94=103 Exploring Operation: 94-32=62, Resulting Numbers: [9, 62] Generated Node #0,1,4: 71:[9, 62] Operation: 94-32=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[32, 85], Operations: ['98-4=94', '94-9=85'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[94, 41], Operations: ['98-4=94', '9+32=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,71 unequal: No Solution Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[94, 23], Operations: ['98-4=94', '32-9=23'] Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,71 unequal: No Solution Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[9, 98, 32, 4], Operations: [] Exploring Operation: 98-4=94, Resulting Numbers: [9, 32, 94] Generated Node #0,1: 71:[9, 32, 94] Operation: 98-4=94 Moving to Node #0,1 Current State: 71:[9, 32, 94], Operations: ['98-4=94'] Exploring Operation: 32-9=23, Resulting Numbers: [94, 23] Generated Node #0,1,0: 71:[94, 23] Operation: 32-9=23 Moving to Node #0,1,0 Current State: 71:[94, 23], Operations: ['98-4=94', '32-9=23'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 35, 75, 94, 19 ]
34
[ "94-75=19", "19/19=1", "35-1=34" ]
Current State: 34:[35, 75, 94, 19], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [35, 19, 19] Generated Node #2: [35, 19, 19] from Operation: 94-75=19 Current State: 34:[35, 19, 19], Operations: ['94-75=19'] Exploring Operation: 19/19=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 19/19=1 Current State: 34:[35, 1], Operations: ['94-75=19', '19/19=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[35, 75, 94, 19], Operations: [] Exploring Operation: 75-35=40, Resulting Numbers: [94, 19, 40] Generated Node #0,0: 34:[94, 19, 40] Operation: 75-35=40 Exploring Operation: 94-75=19, Resulting Numbers: [35, 19, 19] Generated Node #0,1: 34:[35, 19, 19] Operation: 94-75=19 Moving to Node #0,1 Current State: 34:[35, 19, 19], Operations: ['94-75=19'] Exploring Operation: 19/19=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 34:[35, 1] Operation: 19/19=1 Exploring Operation: 35-19=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 34:[19, 16] Operation: 35-19=16 Moving to Node #0,0 Current State: 34:[94, 19, 40], Operations: ['75-35=40'] Exploring Operation: 94-19=75, Resulting Numbers: [40, 75] Generated Node #0,0,0: 34:[40, 75] Operation: 94-19=75 Exploring Operation: 94-40=54, Resulting Numbers: [19, 54] Generated Node #0,0,1: 34:[19, 54] Operation: 94-40=54 Moving to Node #0,1,0 Current State: 34:[35, 1], Operations: ['94-75=19', '19/19=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[35, 75, 94, 19], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [35, 19, 19] Generated Node #0,1: 34:[35, 19, 19] Operation: 94-75=19 Moving to Node #0,1 Current State: 34:[35, 19, 19], Operations: ['94-75=19'] Exploring Operation: 19/19=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 34:[35, 1] Operation: 19/19=1 Moving to Node #0,1,0 Current State: 34:[35, 1], Operations: ['94-75=19', '19/19=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 96, 85, 61, 22 ]
11
[ "96+85=181", "61+181=242", "242/22=11" ]
Current State: 11:[96, 85, 61, 22], Operations: [] Exploring Operation: 96+85=181, Resulting Numbers: [61, 22, 181] Generated Node #2: [61, 22, 181] from Operation: 96+85=181 Current State: 11:[61, 22, 181], Operations: ['96+85=181'] Exploring Operation: 61+181=242, Resulting Numbers: [22, 242] Generated Node #3: [22, 242] from Operation: 61+181=242 Current State: 11:[22, 242], Operations: ['96+85=181', '61+181=242'] Exploring Operation: 242/22=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[96, 85, 61, 22], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [61, 22, 11] Generated Node #0,0: 11:[61, 22, 11] Operation: 96-85=11 Exploring Operation: 96-22=74, Resulting Numbers: [85, 61, 74] Generated Node #0,1: 11:[85, 61, 74] Operation: 96-22=74 Exploring Operation: 96-61=35, Resulting Numbers: [85, 22, 35] Generated Node #0,2: 11:[85, 22, 35] Operation: 96-61=35 Exploring Operation: 85-22=63, Resulting Numbers: [96, 61, 63] Generated Node #0,3: 11:[96, 61, 63] Operation: 85-22=63 Exploring Operation: 85-61=24, Resulting Numbers: [96, 22, 24] Generated Node #0,4: 11:[96, 22, 24] Operation: 85-61=24 Moving to Node #0,0 Current State: 11:[61, 22, 11], Operations: ['96-85=11'] Exploring Operation: 61-22=39, Resulting Numbers: [11, 39] Generated Node #0,0,0: 11:[11, 39] Operation: 61-22=39 Exploring Operation: 61+22=83, Resulting Numbers: [11, 83] Generated Node #0,0,1: 11:[11, 83] Operation: 61+22=83 Exploring Operation: 61-11=50, Resulting Numbers: [22, 50] Generated Node #0,0,2: 11:[22, 50] Operation: 61-11=50 Exploring Operation: 22-11=11, Resulting Numbers: [61, 11] Generated Node #0,0,3: 11:[61, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [61, 2] Generated Node #0,0,4: 11:[61, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[11, 39], Operations: ['96-85=11', '61-22=39'] Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,11 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,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,2 Current State: 11:[22, 50], Operations: ['96-85=11', '61-11=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,11 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,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,3 Current State: 11:[61, 11], Operations: ['96-85=11', '22-11=11'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,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,4 Current State: 11:[61, 2], Operations: ['96-85=11', '22/11=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,11 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,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,1 Current State: 11:[11, 83], Operations: ['96-85=11', '61+22=83'] Exploring Operation: 11+83=94, Resulting Numbers: [94] 94,11 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 11*83=913, Resulting Numbers: [913] 913,11 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: 11:[96, 22, 24], Operations: ['85-61=24'] Exploring Operation: 96-24=72, Resulting Numbers: [22, 72] Generated Node #0,4,0: 11:[22, 72] Operation: 96-24=72 Exploring Operation: 96/24=4, Resulting Numbers: [22, 4] Generated Node #0,4,1: 11:[22, 4] Operation: 96/24=4 Exploring Operation: 96-22=74, Resulting Numbers: [24, 74] Generated Node #0,4,2: 11:[24, 74] Operation: 96-22=74 Exploring Operation: 96+22=118, Resulting Numbers: [24, 118] Generated Node #0,4,3: 11:[24, 118] Operation: 96+22=118 Exploring Operation: 24-22=2, Resulting Numbers: [96, 2] Generated Node #0,4,4: 11:[96, 2] Operation: 24-22=2 Moving to Node #0,2 Current State: 11:[85, 22, 35], Operations: ['96-61=35'] Exploring Operation: 85-22=63, Resulting Numbers: [35, 63] Generated Node #0,2,0: 11:[35, 63] Operation: 85-22=63 Exploring Operation: 85+22=107, Resulting Numbers: [35, 107] Generated Node #0,2,1: 11:[35, 107] Operation: 85+22=107 Exploring Operation: 85-35=50, Resulting Numbers: [22, 50] Generated Node #0,2,2: 11:[22, 50] Operation: 85-35=50 Exploring Operation: 85+35=120, Resulting Numbers: [22, 120] Generated Node #0,2,3: 11:[22, 120] Operation: 85+35=120 Exploring Operation: 35-22=13, Resulting Numbers: [85, 13] Generated Node #0,2,4: 11:[85, 13] Operation: 35-22=13 Moving to Node #0,1 Current State: 11:[85, 61, 74], Operations: ['96-22=74'] Exploring Operation: 85-61=24, Resulting Numbers: [74, 24] Generated Node #0,1,0: 11:[74, 24] Operation: 85-61=24 Exploring Operation: 85+74=159, Resulting Numbers: [61, 159] Generated Node #0,1,1: 11:[61, 159] Operation: 85+74=159 Exploring Operation: 85+61=146, Resulting Numbers: [74, 146] Generated Node #0,1,2: 11:[74, 146] Operation: 85+61=146 Exploring Operation: 74-61=13, Resulting Numbers: [85, 13] Generated Node #0,1,3: 11:[85, 13] Operation: 74-61=13 Exploring Operation: 85-74=11, Resulting Numbers: [61, 11] Generated Node #0,1,4: 11:[61, 11] Operation: 85-74=11 Moving to Node #0,3 Current State: 11:[96, 61, 63], Operations: ['85-22=63'] Exploring Operation: 96-63=33, Resulting Numbers: [61, 33] Generated Node #0,3,0: 11:[61, 33] Operation: 96-63=33 Exploring Operation: 96+61=157, Resulting Numbers: [63, 157] Generated Node #0,3,1: 11:[63, 157] Operation: 96+61=157 Exploring Operation: 96-61=35, Resulting Numbers: [63, 35] Generated Node #0,3,2: 11:[63, 35] Operation: 96-61=35 Exploring Operation: 96+63=159, Resulting Numbers: [61, 159] Generated Node #0,3,3: 11:[61, 159] Operation: 96+63=159 Exploring Operation: 63-61=2, Resulting Numbers: [96, 2] Generated Node #0,3,4: 11:[96, 2] Operation: 63-61=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[61, 33], Operations: ['85-22=63', '96-63=33'] Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,11 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,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,3,2 Current State: 11:[63, 35], Operations: ['85-22=63', '96-61=35'] Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 63*35=2205, Resulting Numbers: [2205] 2205,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,3,4 Current State: 11:[96, 2], Operations: ['85-22=63', '63-61=2'] Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,11 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,11 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,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,3,1 Current State: 11:[63, 157], Operations: ['85-22=63', '96+61=157'] Exploring Operation: 63+157=220, Resulting Numbers: [220] 220,11 unequal: No Solution Exploring Operation: 63*157=9891, Resulting Numbers: [9891] 9891,11 unequal: No Solution Exploring Operation: 157-63=94, Resulting Numbers: [94] 94,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,3,3 Current State: 11:[61, 159], Operations: ['85-22=63', '96+63=159'] Exploring Operation: 61+159=220, Resulting Numbers: [220] 220,11 unequal: No Solution Exploring Operation: 159-61=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 61*159=9699, Resulting Numbers: [9699] 9699,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 11:[22, 4], Operations: ['85-61=24', '96/24=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[22, 50], Operations: ['96-61=35', '85-35=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,11 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[61, 11], Operations: ['96-22=74', '85-74=11'] Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,11 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[22, 72], Operations: ['85-61=24', '96-24=72'] Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,11 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[35, 63], Operations: ['96-61=35', '85-22=63'] Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,11 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,11 unequal: No Solution Moving to Node #0,4,2 Current State: 11:[24, 74], Operations: ['85-61=24', '96-22=74'] Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,11 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[74, 24], Operations: ['96-22=74', '85-61=24'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,11 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,11 unequal: No Solution Moving to Node #0,2,4 Current State: 11:[85, 13], Operations: ['96-61=35', '35-22=13'] Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,11 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[85, 13], Operations: ['96-22=74', '74-61=13'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[96, 2], Operations: ['85-61=24', '24-22=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,11 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,11 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[22, 120], Operations: ['96-61=35', '85+35=120'] Exploring Operation: 22+120=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 22*120=2640, Resulting Numbers: [2640] 2640,11 unequal: No Solution Exploring Operation: 120-22=98, Resulting Numbers: [98] 98,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[24, 118], Operations: ['85-61=24', '96+22=118'] Exploring Operation: 24*118=2832, Resulting Numbers: [2832] 2832,11 unequal: No Solution Exploring Operation: 24+118=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 118-24=94, Resulting Numbers: [94] 94,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[35, 107], Operations: ['96-61=35', '85+22=107'] Exploring Operation: 35+107=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 35*107=3745, Resulting Numbers: [3745] 3745,11 unequal: No Solution Exploring Operation: 107-35=72, Resulting Numbers: [72] 72,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[61, 159], Operations: ['96-22=74', '85+74=159'] Exploring Operation: 159-61=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 61+159=220, Resulting Numbers: [220] 220,11 unequal: No Solution Exploring Operation: 61*159=9699, Resulting Numbers: [9699] 9699,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[74, 146], Operations: ['96-22=74', '85+61=146'] Exploring Operation: 74+146=220, Resulting Numbers: [220] 220,11 unequal: No Solution Exploring Operation: 74*146=10804, Resulting Numbers: [10804] 10804,11 unequal: No Solution Exploring Operation: 146-74=72, Resulting Numbers: [72] 72,11 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 40, 35, 12, 33 ]
40
[ "40-35=5", "12+33=45", "45-5=40" ]
Current State: 40:[40, 35, 12, 33], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [12, 33, 5] Generated Node #2: [12, 33, 5] from Operation: 40-35=5 Current State: 40:[12, 33, 5], Operations: ['40-35=5'] Exploring Operation: 12+33=45, Resulting Numbers: [5, 45] Generated Node #3: [5, 45] from Operation: 12+33=45 Current State: 40:[5, 45], Operations: ['40-35=5', '12+33=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[40, 35, 12, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [40, 12, 2] Generated Node #0,0: 40:[40, 12, 2] Operation: 35-33=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[40, 12, 2], Operations: ['35-33=2'] Exploring Operation: 12-2=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 40:[40, 10] Operation: 12-2=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[40, 10], Operations: ['35-33=2', '12-2=10'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 64, 35, 6, 48 ]
24
[ "64+6=70", "35*48=1680", "1680/70=24" ]
Current State: 24:[64, 35, 6, 48], Operations: [] Exploring Operation: 64+6=70, Resulting Numbers: [35, 48, 70] Generated Node #2: [35, 48, 70] from Operation: 64+6=70 Current State: 24:[35, 48, 70], Operations: ['64+6=70'] Exploring Operation: 35*48=1680, Resulting Numbers: [70, 1680] Generated Node #3: [70, 1680] from Operation: 35*48=1680 Current State: 24:[70, 1680], Operations: ['64+6=70', '35*48=1680'] Exploring Operation: 1680/70=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[64, 35, 6, 48], Operations: [] Exploring Operation: 64-35=29, Resulting Numbers: [6, 48, 29] Generated Node #0,0: 24:[6, 48, 29] Operation: 64-35=29 Exploring Operation: 64-48=16, Resulting Numbers: [35, 6, 16] Generated Node #0,1: 24:[35, 6, 16] Operation: 64-48=16 Exploring Operation: 48-35=13, Resulting Numbers: [64, 6, 13] Generated Node #0,2: 24:[64, 6, 13] Operation: 48-35=13 Exploring Operation: 48/6=8, Resulting Numbers: [64, 35, 8] Generated Node #0,3: 24:[64, 35, 8] Operation: 48/6=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[35, 6, 16], Operations: ['64-48=16'] Exploring Operation: 6+16=22, Resulting Numbers: [35, 22] Generated Node #0,1,0: 24:[35, 22] Operation: 6+16=22 Exploring Operation: 35-6=29, Resulting Numbers: [16, 29] Generated Node #0,1,1: 24:[16, 29] Operation: 35-6=29 Exploring Operation: 16-6=10, Resulting Numbers: [35, 10] Generated Node #0,1,2: 24:[35, 10] Operation: 16-6=10 Exploring Operation: 35-16=19, Resulting Numbers: [6, 19] Generated Node #0,1,3: 24:[6, 19] Operation: 35-16=19 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 24:[6, 19], Operations: ['64-48=16', '35-16=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,24 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,24 unequal: No Solution No 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: 24:[16, 29], Operations: ['64-48=16', '35-6=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,24 unequal: No Solution No 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: 24:[35, 22], Operations: ['64-48=16', '6+16=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,24 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,24 unequal: No Solution No 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: 24:[35, 10], Operations: ['64-48=16', '16-6=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,24 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,24 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: 24:[6, 48, 29], Operations: ['64-35=29'] Exploring Operation: 48-6=42, Resulting Numbers: [29, 42] Generated Node #0,0,0: 24:[29, 42] Operation: 48-6=42 Exploring Operation: 48/6=8, Resulting Numbers: [29, 8] Generated Node #0,0,1: 24:[29, 8] Operation: 48/6=8 Exploring Operation: 29-6=23, Resulting Numbers: [48, 23] Generated Node #0,0,2: 24:[48, 23] Operation: 29-6=23 Exploring Operation: 48-29=19, Resulting Numbers: [6, 19] Generated Node #0,0,3: 24:[6, 19] Operation: 48-29=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[29, 8], Operations: ['64-35=29', '48/6=8'] Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,24 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,24 unequal: No Solution No 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: 24:[6, 19], Operations: ['64-35=29', '48-29=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,24 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,24 unequal: No Solution No 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: 24:[29, 42], Operations: ['64-35=29', '48-6=42'] Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,24 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,24 unequal: No Solution No 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: 24:[48, 23], Operations: ['64-35=29', '29-6=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,24 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: 24:[64, 6, 13], Operations: ['48-35=13'] Exploring Operation: 6+13=19, Resulting Numbers: [64, 19] Generated Node #0,2,0: 24:[64, 19] Operation: 6+13=19 Exploring Operation: 13-6=7, Resulting Numbers: [64, 7] Generated Node #0,2,1: 24:[64, 7] Operation: 13-6=7 Exploring Operation: 64-6=58, Resulting Numbers: [13, 58] Generated Node #0,2,2: 24:[13, 58] Operation: 64-6=58 Exploring Operation: 64-13=51, Resulting Numbers: [6, 51] Generated Node #0,2,3: 24:[6, 51] Operation: 64-13=51 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 24:[6, 51], Operations: ['48-35=13', '64-13=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,24 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,24 unequal: No Solution No 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: 24:[13, 58], Operations: ['48-35=13', '64-6=58'] Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,24 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,24 unequal: No Solution No 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: 24:[64, 7], Operations: ['48-35=13', '13-6=7'] Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,24 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,24 unequal: No Solution No 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: 24:[64, 19], Operations: ['48-35=13', '6+13=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,24 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: 24:[64, 35, 8], Operations: ['48/6=8'] Exploring Operation: 35-8=27, Resulting Numbers: [64, 27] Generated Node #0,3,0: 24:[64, 27] Operation: 35-8=27 Exploring Operation: 64-35=29, Resulting Numbers: [8, 29] Generated Node #0,3,1: 24:[8, 29] Operation: 64-35=29 Exploring Operation: 64/8=8, Resulting Numbers: [35, 8] Generated Node #0,3,2: 24:[35, 8] Operation: 64/8=8 Exploring Operation: 64-8=56, Resulting Numbers: [35, 56] Generated Node #0,3,3: 24:[35, 56] Operation: 64-8=56 Moving to Node #0,3,1 Current State: 24:[8, 29], Operations: ['48/6=8', '64-35=29'] Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,24 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[35, 8], Operations: ['48/6=8', '64/8=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,24 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[35, 56], Operations: ['48/6=8', '64-8=56'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,24 unequal: No Solution Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[64, 27], Operations: ['48/6=8', '35-8=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,24 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,24 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
[ 8, 40, 53, 91 ]
23
[ "40+53=93", "91+93=184", "184/8=23" ]
Current State: 23:[8, 40, 53, 91], Operations: [] Exploring Operation: 40+53=93, Resulting Numbers: [8, 91, 93] Generated Node #2: [8, 91, 93] from Operation: 40+53=93 Current State: 23:[8, 91, 93], Operations: ['40+53=93'] Exploring Operation: 91+93=184, Resulting Numbers: [8, 184] Generated Node #3: [8, 184] from Operation: 91+93=184 Current State: 23:[8, 184], Operations: ['40+53=93', '91+93=184'] Exploring Operation: 184/8=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[8, 40, 53, 91], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [8, 53, 51] Generated Node #0,0: 23:[8, 53, 51] Operation: 91-40=51 Exploring Operation: 91-53=38, Resulting Numbers: [8, 40, 38] Generated Node #0,1: 23:[8, 40, 38] Operation: 91-53=38 Exploring Operation: 53-40=13, Resulting Numbers: [8, 91, 13] Generated Node #0,2: 23:[8, 91, 13] Operation: 53-40=13 Moving to Node #0,1 Current State: 23:[8, 40, 38], Operations: ['91-53=38'] Exploring Operation: 38-8=30, Resulting Numbers: [40, 30] Generated Node #0,1,0: 23:[40, 30] Operation: 38-8=30 Exploring Operation: 40/8=5, Resulting Numbers: [38, 5] Generated Node #0,1,1: 23:[38, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [38, 32] Generated Node #0,1,2: 23:[38, 32] Operation: 40-8=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[40, 30], Operations: ['91-53=38', '38-8=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,23 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[38, 32], Operations: ['91-53=38', '40-8=32'] Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,23 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[38, 5], Operations: ['91-53=38', '40/8=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,23 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 23:[8, 53, 51], Operations: ['91-40=51'] Exploring Operation: 53-8=45, Resulting Numbers: [51, 45] Generated Node #0,0,0: 23:[51, 45] Operation: 53-8=45 Exploring Operation: 53-51=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 23:[8, 2] Operation: 53-51=2 Exploring Operation: 51-8=43, Resulting Numbers: [53, 43] Generated Node #0,0,2: 23:[53, 43] Operation: 51-8=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[8, 2], Operations: ['91-40=51', '53-51=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[51, 45], Operations: ['91-40=51', '53-8=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[53, 43], Operations: ['91-40=51', '51-8=43'] Exploring Operation: 53*43=2279, Resulting Numbers: [2279] 2279,23 unequal: No Solution Exploring Operation: 53+43=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 23:[8, 91, 13], Operations: ['53-40=13'] Exploring Operation: 91/13=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 23:[8, 7] Operation: 91/13=7 Exploring Operation: 8+13=21, Resulting Numbers: [91, 21] Generated Node #0,2,1: 23:[91, 21] Operation: 8+13=21 Exploring Operation: 91-8=83, Resulting Numbers: [13, 83] Generated Node #0,2,2: 23:[13, 83] Operation: 91-8=83 Moving to Node #0,2,0 Current State: 23:[8, 7], Operations: ['53-40=13', '91/13=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[91, 21], Operations: ['53-40=13', '8+13=21'] Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,23 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[13, 83], Operations: ['53-40=13', '91-8=83'] Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 13*83=1079, Resulting Numbers: [1079] 1079,23 unequal: No Solution Exploring Operation: 13+83=96, Resulting Numbers: [96] 96,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 71, 13, 12, 35 ]
16
[ "71-35=36", "36/12=3", "13+3=16" ]
Current State: 16:[71, 13, 12, 35], Operations: [] Exploring Operation: 71-35=36, Resulting Numbers: [13, 12, 36] Generated Node #2: [13, 12, 36] from Operation: 71-35=36 Current State: 16:[13, 12, 36], Operations: ['71-35=36'] Exploring Operation: 36/12=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 36/12=3 Current State: 16:[13, 3], Operations: ['71-35=36', '36/12=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[71, 13, 12, 35], Operations: [] Exploring Operation: 71-12=59, Resulting Numbers: [13, 35, 59] Generated Node #0,0: 16:[13, 35, 59] Operation: 71-12=59 Exploring Operation: 71-35=36, Resulting Numbers: [13, 12, 36] Generated Node #0,1: 16:[13, 12, 36] Operation: 71-35=36 Exploring Operation: 71-13=58, Resulting Numbers: [12, 35, 58] Generated Node #0,2: 16:[12, 35, 58] Operation: 71-13=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[13, 12, 36], Operations: ['71-35=36'] Exploring Operation: 36-12=24, Resulting Numbers: [13, 24] Generated Node #0,1,0: 16:[13, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [13, 3] Generated Node #0,1,1: 16:[13, 3] Operation: 36/12=3 Exploring Operation: 36-13=23, Resulting Numbers: [12, 23] Generated Node #0,1,2: 16:[12, 23] Operation: 36-13=23 Moving to Node #0,1,1 Current State: 16:[13, 3], Operations: ['71-35=36', '36/12=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[71, 13, 12, 35], Operations: [] Exploring Operation: 71-35=36, Resulting Numbers: [13, 12, 36] Generated Node #0,1: 16:[13, 12, 36] Operation: 71-35=36 Moving to Node #0,1 Current State: 16:[13, 12, 36], Operations: ['71-35=36'] Exploring Operation: 36/12=3, Resulting Numbers: [13, 3] Generated Node #0,1,1: 16:[13, 3] Operation: 36/12=3 Moving to Node #0,1,1 Current State: 16:[13, 3], Operations: ['71-35=36', '36/12=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 60, 38, 89, 45 ]
66
[ "60-38=22", "89-45=44", "22+44=66" ]
Current State: 66:[60, 38, 89, 45], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [89, 45, 22] Generated Node #2: [89, 45, 22] from Operation: 60-38=22 Current State: 66:[89, 45, 22], Operations: ['60-38=22'] Exploring Operation: 89-45=44, Resulting Numbers: [22, 44] Generated Node #3: [22, 44] from Operation: 89-45=44 Current State: 66:[22, 44], Operations: ['60-38=22', '89-45=44'] Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[60, 38, 89, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [60, 38, 44] Generated Node #0,0: 66:[60, 38, 44] Operation: 89-45=44 Exploring Operation: 89-60=29, Resulting Numbers: [38, 45, 29] Generated Node #0,1: 66:[38, 45, 29] Operation: 89-60=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[38, 45, 29], Operations: ['89-60=29'] Exploring Operation: 45-29=16, Resulting Numbers: [38, 16] Generated Node #0,1,0: 66:[38, 16] Operation: 45-29=16 Exploring Operation: 45-38=7, Resulting Numbers: [29, 7] Generated Node #0,1,1: 66:[29, 7] Operation: 45-38=7 Moving to Node #0,1,1 Current State: 66:[29, 7], Operations: ['89-60=29', '45-38=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[38, 16], Operations: ['89-60=29', '45-29=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[60, 38, 44], Operations: ['89-45=44'] Exploring Operation: 60-44=16, Resulting Numbers: [38, 16] Generated Node #0,0,0: 66:[38, 16] Operation: 60-44=16 Exploring Operation: 44-38=6, Resulting Numbers: [60, 6] Generated Node #0,0,1: 66:[60, 6] Operation: 44-38=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[60, 6], Operations: ['89-45=44', '44-38=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[60, 38, 89, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [60, 38, 44] Generated Node #0,0: 66:[60, 38, 44] Operation: 89-45=44 Moving to Node #0,0 Current State: 66:[60, 38, 44], Operations: ['89-45=44'] Exploring Operation: 44-38=6, Resulting Numbers: [60, 6] Generated Node #0,0,1: 66:[60, 6] Operation: 44-38=6 Moving to Node #0,0,1 Current State: 66:[60, 6], Operations: ['89-45=44', '44-38=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 73, 3, 10, 28 ]
25
[ "73-3=70", "10*70=700", "700/28=25" ]
Current State: 25:[73, 3, 10, 28], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [10, 28, 70] Generated Node #2: [10, 28, 70] from Operation: 73-3=70 Current State: 25:[10, 28, 70], Operations: ['73-3=70'] Exploring Operation: 10*70=700, Resulting Numbers: [28, 700] Generated Node #3: [28, 700] from Operation: 10*70=700 Current State: 25:[28, 700], Operations: ['73-3=70', '10*70=700'] Exploring Operation: 700/28=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[73, 3, 10, 28], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [10, 28, 70] Generated Node #0,0: 25:[10, 28, 70] Operation: 73-3=70 Exploring Operation: 73-10=63, Resulting Numbers: [3, 28, 63] Generated Node #0,1: 25:[3, 28, 63] Operation: 73-10=63 Exploring Operation: 73-28=45, Resulting Numbers: [3, 10, 45] Generated Node #0,2: 25:[3, 10, 45] Operation: 73-28=45 Exploring Operation: 28-3=25, Resulting Numbers: [73, 10, 25] Generated Node #0,3: 25:[73, 10, 25] Operation: 28-3=25 Exploring Operation: 10-3=7, Resulting Numbers: [73, 28, 7] Generated Node #0,4: 25:[73, 28, 7] Operation: 10-3=7 Moving to Node #0,2 Current State: 25:[3, 10, 45], Operations: ['73-28=45'] Exploring Operation: 45/3=15, Resulting Numbers: [10, 15] Generated Node #0,2,0: 25:[10, 15] Operation: 45/3=15 Exploring Operation: 45-10=35, Resulting Numbers: [3, 35] Generated Node #0,2,1: 25:[3, 35] Operation: 45-10=35 Exploring Operation: 10-3=7, Resulting Numbers: [45, 7] Generated Node #0,2,2: 25:[45, 7] Operation: 10-3=7 Exploring Operation: 3*10=30, Resulting Numbers: [45, 30] Generated Node #0,2,3: 25:[45, 30] Operation: 3*10=30 Exploring Operation: 45-3=42, Resulting Numbers: [10, 42] Generated Node #0,2,4: 25:[10, 42] Operation: 45-3=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[3, 35], Operations: ['73-28=45', '45-10=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[10, 15], Operations: ['73-28=45', '45/3=15'] Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,25 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[73, 3, 10, 28], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [3, 10, 45] Generated Node #0,2: 25:[3, 10, 45] Operation: 73-28=45 Moving to Node #0,2 Current State: 25:[3, 10, 45], Operations: ['73-28=45'] Exploring Operation: 45/3=15, Resulting Numbers: [10, 15] Generated Node #0,2,0: 25:[10, 15] Operation: 45/3=15 Moving to Node #0,2,0 Current State: 25:[10, 15], Operations: ['73-28=45', '45/3=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 81, 70, 90, 10 ]
97
[ "70+90=160", "160/10=16", "81+16=97" ]
Current State: 97:[81, 70, 90, 10], Operations: [] Exploring Operation: 70+90=160, Resulting Numbers: [81, 10, 160] Generated Node #2: [81, 10, 160] from Operation: 70+90=160 Current State: 97:[81, 10, 160], Operations: ['70+90=160'] Exploring Operation: 160/10=16, Resulting Numbers: [81, 16] Generated Node #3: [81, 16] from Operation: 160/10=16 Current State: 97:[81, 16], Operations: ['70+90=160', '160/10=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[81, 70, 90, 10], Operations: [] Exploring Operation: 81+10=91, Resulting Numbers: [70, 90, 91] Generated Node #0,0: 97:[70, 90, 91] Operation: 81+10=91 Exploring Operation: 81-10=71, Resulting Numbers: [70, 90, 71] Generated Node #0,1: 97:[70, 90, 71] Operation: 81-10=71 Exploring Operation: 90+10=100, Resulting Numbers: [81, 70, 100] Generated Node #0,2: 97:[81, 70, 100] Operation: 90+10=100 Exploring Operation: 70+10=80, Resulting Numbers: [81, 90, 80] Generated Node #0,3: 97:[81, 90, 80] Operation: 70+10=80 Moving to Node #0,0 Current State: 97:[70, 90, 91], Operations: ['81+10=91'] Exploring Operation: 70+90=160, Resulting Numbers: [91, 160] Generated Node #0,0,0: 97:[91, 160] Operation: 70+90=160 Exploring Operation: 91-70=21, Resulting Numbers: [90, 21] Generated Node #0,0,1: 97:[90, 21] Operation: 91-70=21 Exploring Operation: 90-70=20, Resulting Numbers: [91, 20] Generated Node #0,0,2: 97:[91, 20] Operation: 90-70=20 Exploring Operation: 70+91=161, Resulting Numbers: [90, 161] Generated Node #0,0,3: 97:[90, 161] Operation: 70+91=161 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[91, 160], Operations: ['81+10=91', '70+90=160'] Exploring Operation: 160-91=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 91*160=14560, Resulting Numbers: [14560] 14560,97 unequal: No Solution Exploring Operation: 91+160=251, Resulting Numbers: [251] 251,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[90, 161], Operations: ['81+10=91', '70+91=161'] Exploring Operation: 90+161=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 161-90=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 90*161=14490, Resulting Numbers: [14490] 14490,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[90, 21], Operations: ['81+10=91', '91-70=21'] Exploring Operation: 90*21=1890, Resulting Numbers: [1890] 1890,97 unequal: No Solution Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 90+21=111, Resulting Numbers: [111] 111,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[91, 20], Operations: ['81+10=91', '90-70=20'] Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,97 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 97:[81, 90, 80], Operations: ['70+10=80'] Exploring Operation: 81-80=1, Resulting Numbers: [90, 1] Generated Node #0,3,0: 97:[90, 1] Operation: 81-80=1 Exploring Operation: 81+90=171, Resulting Numbers: [80, 171] Generated Node #0,3,1: 97:[80, 171] Operation: 81+90=171 Exploring Operation: 90+80=170, Resulting Numbers: [81, 170] Generated Node #0,3,2: 97:[81, 170] Operation: 90+80=170 Exploring Operation: 81+80=161, Resulting Numbers: [90, 161] Generated Node #0,3,3: 97:[90, 161] Operation: 81+80=161 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[90, 161], Operations: ['70+10=80', '81+80=161'] Exploring Operation: 90+161=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 90*161=14490, Resulting Numbers: [14490] 14490,97 unequal: No Solution Exploring Operation: 161-90=71, Resulting Numbers: [71] 71,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[81, 170], Operations: ['70+10=80', '90+80=170'] Exploring Operation: 81*170=13770, Resulting Numbers: [13770] 13770,97 unequal: No Solution Exploring Operation: 170-81=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 81+170=251, Resulting Numbers: [251] 251,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[80, 171], Operations: ['70+10=80', '81+90=171'] Exploring Operation: 80+171=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 171-80=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 80*171=13680, Resulting Numbers: [13680] 13680,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[90, 1], Operations: ['70+10=80', '81-80=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,97 unequal: No Solution Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[81, 70, 100], Operations: ['90+10=100'] Exploring Operation: 70+100=170, Resulting Numbers: [81, 170] Generated Node #0,2,0: 97:[81, 170] Operation: 70+100=170 Exploring Operation: 81+70=151, Resulting Numbers: [100, 151] Generated Node #0,2,1: 97:[100, 151] Operation: 81+70=151 Exploring Operation: 81-70=11, Resulting Numbers: [100, 11] Generated Node #0,2,2: 97:[100, 11] Operation: 81-70=11 Exploring Operation: 100-70=30, Resulting Numbers: [81, 30] Generated Node #0,2,3: 97:[81, 30] Operation: 100-70=30 Moving to Node #0,1 Current State: 97:[70, 90, 71], Operations: ['81-10=71'] Exploring Operation: 90-70=20, Resulting Numbers: [71, 20] Generated Node #0,1,0: 97:[71, 20] Operation: 90-70=20 Exploring Operation: 70+90=160, Resulting Numbers: [71, 160] Generated Node #0,1,1: 97:[71, 160] Operation: 70+90=160 Exploring Operation: 70+71=141, Resulting Numbers: [90, 141] Generated Node #0,1,2: 97:[90, 141] Operation: 70+71=141 Exploring Operation: 90+71=161, Resulting Numbers: [70, 161] Generated Node #0,1,3: 97:[70, 161] Operation: 90+71=161 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[90, 141], Operations: ['81-10=71', '70+71=141'] Exploring Operation: 90+141=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 90*141=12690, Resulting Numbers: [12690] 12690,97 unequal: No Solution Exploring Operation: 141-90=51, Resulting Numbers: [51] 51,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[71, 160], Operations: ['81-10=71', '70+90=160'] Exploring Operation: 160-71=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 71+160=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 71*160=11360, Resulting Numbers: [11360] 11360,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[70, 161], Operations: ['81-10=71', '90+71=161'] Exploring Operation: 70+161=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 70*161=11270, Resulting Numbers: [11270] 11270,97 unequal: No Solution Exploring Operation: 161-70=91, Resulting Numbers: [91] 91,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[71, 20], Operations: ['81-10=71', '90-70=20'] Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 97:[100, 151], Operations: ['90+10=100', '81+70=151'] Exploring Operation: 100+151=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 151-100=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 100*151=15100, Resulting Numbers: [15100] 15100,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[81, 30], Operations: ['90+10=100', '100-70=30'] Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,97 unequal: No Solution Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[100, 11], Operations: ['90+10=100', '81-70=11'] Exploring Operation: 100+11=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 100*11=1100, Resulting Numbers: [1100] 1100,97 unequal: No Solution Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[81, 170], Operations: ['90+10=100', '70+100=170'] Exploring Operation: 81*170=13770, Resulting Numbers: [13770] 13770,97 unequal: No Solution Exploring Operation: 170-81=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 81+170=251, Resulting Numbers: [251] 251,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 17, 21, 60, 46 ]
52
[ "17+21=38", "60-46=14", "38+14=52" ]
Current State: 52:[17, 21, 60, 46], Operations: [] Exploring Operation: 17+21=38, Resulting Numbers: [60, 46, 38] Generated Node #2: [60, 46, 38] from Operation: 17+21=38 Current State: 52:[60, 46, 38], Operations: ['17+21=38'] Exploring Operation: 60-46=14, Resulting Numbers: [38, 14] Generated Node #3: [38, 14] from Operation: 60-46=14 Current State: 52:[38, 14], Operations: ['17+21=38', '60-46=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[17, 21, 60, 46], Operations: [] Exploring Operation: 21-17=4, Resulting Numbers: [60, 46, 4] Generated Node #0,0: 52:[60, 46, 4] Operation: 21-17=4 Exploring Operation: 46-17=29, Resulting Numbers: [21, 60, 29] Generated Node #0,1: 52:[21, 60, 29] Operation: 46-17=29 Exploring Operation: 60-46=14, Resulting Numbers: [17, 21, 14] Generated Node #0,2: 52:[17, 21, 14] Operation: 60-46=14 Exploring Operation: 46-21=25, Resulting Numbers: [17, 60, 25] Generated Node #0,3: 52:[17, 60, 25] Operation: 46-21=25 Moving to Node #0,2 Current State: 52:[17, 21, 14], Operations: ['60-46=14'] Exploring Operation: 21-17=4, Resulting Numbers: [14, 4] Generated Node #0,2,0: 52:[14, 4] Operation: 21-17=4 Exploring Operation: 17+14=31, Resulting Numbers: [21, 31] Generated Node #0,2,1: 52:[21, 31] Operation: 17+14=31 Exploring Operation: 17-14=3, Resulting Numbers: [21, 3] Generated Node #0,2,2: 52:[21, 3] Operation: 17-14=3 Exploring Operation: 21-14=7, Resulting Numbers: [17, 7] Generated Node #0,2,3: 52:[17, 7] Operation: 21-14=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[14, 4], Operations: ['60-46=14', '21-17=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[21, 3], Operations: ['60-46=14', '17-14=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[17, 7], Operations: ['60-46=14', '21-14=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,52 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[21, 31], Operations: ['60-46=14', '17+14=31'] Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[17, 21, 60, 46], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [17, 21, 14] Generated Node #0,2: 52:[17, 21, 14] Operation: 60-46=14 Moving to Node #0,2 Current State: 52:[17, 21, 14], Operations: ['60-46=14'] Exploring Operation: 17+14=31, Resulting Numbers: [21, 31] Generated Node #0,2,1: 52:[21, 31] Operation: 17+14=31 Moving to Node #0,2,1 Current State: 52:[21, 31], Operations: ['60-46=14', '17+14=31'] Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 47, 10, 64, 63 ]
58
[ "47+10=57", "64-63=1", "57+1=58" ]
Current State: 58:[47, 10, 64, 63], Operations: [] Exploring Operation: 47+10=57, Resulting Numbers: [64, 63, 57] Generated Node #2: [64, 63, 57] from Operation: 47+10=57 Current State: 58:[64, 63, 57], Operations: ['47+10=57'] Exploring Operation: 64-63=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 64-63=1 Current State: 58:[57, 1], Operations: ['47+10=57', '64-63=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[47, 10, 64, 63], Operations: [] Exploring Operation: 47+10=57, Resulting Numbers: [64, 63, 57] Generated Node #0,0: 58:[64, 63, 57] Operation: 47+10=57 Moving to Node #0,0 Current State: 58:[64, 63, 57], Operations: ['47+10=57'] Exploring Operation: 64-63=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 58:[57, 1] Operation: 64-63=1 Moving to Node #0,0,0 Current State: 58:[57, 1], Operations: ['47+10=57', '64-63=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[47, 10, 64, 63], Operations: [] Exploring Operation: 47+10=57, Resulting Numbers: [64, 63, 57] Generated Node #0,0: 58:[64, 63, 57] Operation: 47+10=57 Moving to Node #0,0 Current State: 58:[64, 63, 57], Operations: ['47+10=57'] Exploring Operation: 64-63=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 58:[57, 1] Operation: 64-63=1 Moving to Node #0,0,0 Current State: 58:[57, 1], Operations: ['47+10=57', '64-63=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 48, 27, 99, 4 ]
44
[ "48*99=4752", "27*4=108", "4752/108=44" ]
Current State: 44:[48, 27, 99, 4], Operations: [] Exploring Operation: 48*99=4752, Resulting Numbers: [27, 4, 4752] Generated Node #2: [27, 4, 4752] from Operation: 48*99=4752 Current State: 44:[27, 4, 4752], Operations: ['48*99=4752'] Exploring Operation: 27*4=108, Resulting Numbers: [4752, 108] Generated Node #3: [4752, 108] from Operation: 27*4=108 Current State: 44:[4752, 108], Operations: ['48*99=4752', '27*4=108'] Exploring Operation: 4752/108=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[48, 27, 99, 4], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [27, 4, 51] Generated Node #0,0: 44:[27, 4, 51] Operation: 99-48=51 Exploring Operation: 99-27=72, Resulting Numbers: [48, 4, 72] Generated Node #0,1: 44:[48, 4, 72] Operation: 99-27=72 Moving to Node #0,0 Current State: 44:[27, 4, 51], Operations: ['99-48=51'] Exploring Operation: 51-27=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 44:[4, 24] Operation: 51-27=24 Exploring Operation: 27-4=23, Resulting Numbers: [51, 23] Generated Node #0,0,1: 44:[51, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[4, 24], Operations: ['99-48=51', '51-27=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[51, 23], Operations: ['99-48=51', '27-4=23'] Exploring Operation: 51+23=74, Resulting Numbers: [74] 74,44 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,44 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: 44:[48, 4, 72], Operations: ['99-27=72'] Exploring Operation: 72/4=18, Resulting Numbers: [48, 18] Generated Node #0,1,0: 44:[48, 18] Operation: 72/4=18 Exploring Operation: 72-48=24, Resulting Numbers: [4, 24] Generated Node #0,1,1: 44:[4, 24] Operation: 72-48=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[4, 24], Operations: ['99-27=72', '72-48=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[48, 18], Operations: ['99-27=72', '72/4=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,44 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
[ 86, 96, 16, 37 ]
31
[ "96-86=10", "37-16=21", "10+21=31" ]
Current State: 31:[86, 96, 16, 37], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [16, 37, 10] Generated Node #2: [16, 37, 10] from Operation: 96-86=10 Current State: 31:[16, 37, 10], Operations: ['96-86=10'] Exploring Operation: 37-16=21, Resulting Numbers: [10, 21] Generated Node #3: [10, 21] from Operation: 37-16=21 Current State: 31:[10, 21], Operations: ['96-86=10', '37-16=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[86, 96, 16, 37], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [16, 37, 10] Generated Node #0,0: 31:[16, 37, 10] Operation: 96-86=10 Exploring Operation: 96/16=6, Resulting Numbers: [86, 37, 6] Generated Node #0,1: 31:[86, 37, 6] Operation: 96/16=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[16, 37, 10], Operations: ['96-86=10'] Exploring Operation: 16+10=26, Resulting Numbers: [37, 26] Generated Node #0,0,0: 31:[37, 26] Operation: 16+10=26 Exploring Operation: 37-10=27, Resulting Numbers: [16, 27] Generated Node #0,0,1: 31:[16, 27] Operation: 37-10=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[37, 26], Operations: ['96-86=10', '16+10=26'] Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[16, 27], Operations: ['96-86=10', '37-10=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[86, 37, 6], Operations: ['96/16=6'] Exploring Operation: 86-6=80, Resulting Numbers: [37, 80] Generated Node #0,1,0: 31:[37, 80] Operation: 86-6=80 Exploring Operation: 86-37=49, Resulting Numbers: [6, 49] Generated Node #0,1,1: 31:[6, 49] Operation: 86-37=49 Moving to Node #0,1,1 Current State: 31:[6, 49], Operations: ['96/16=6', '86-37=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[37, 80], Operations: ['96/16=6', '86-6=80'] Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,31 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,31 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
[ 22, 51, 34, 86 ]
96
[ "86-22=64", "51*64=3264", "3264/34=96" ]
Current State: 96:[22, 51, 34, 86], Operations: [] Exploring Operation: 86-22=64, Resulting Numbers: [51, 34, 64] Generated Node #2: [51, 34, 64] from Operation: 86-22=64 Current State: 96:[51, 34, 64], Operations: ['86-22=64'] Exploring Operation: 51*64=3264, Resulting Numbers: [34, 3264] Generated Node #3: [34, 3264] from Operation: 51*64=3264 Current State: 96:[34, 3264], Operations: ['86-22=64', '51*64=3264'] Exploring Operation: 3264/34=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[22, 51, 34, 86], Operations: [] Exploring Operation: 34-22=12, Resulting Numbers: [51, 86, 12] Generated Node #0,0: 96:[51, 86, 12] Operation: 34-22=12 Exploring Operation: 86-51=35, Resulting Numbers: [22, 34, 35] Generated Node #0,1: 96:[22, 34, 35] Operation: 86-51=35 Exploring Operation: 86-34=52, Resulting Numbers: [22, 51, 52] Generated Node #0,2: 96:[22, 51, 52] Operation: 86-34=52 Moving to Node #0,1 Current State: 96:[22, 34, 35], Operations: ['86-51=35'] Exploring Operation: 34-22=12, Resulting Numbers: [35, 12] Generated Node #0,1,0: 96:[35, 12] Operation: 34-22=12 Exploring Operation: 35-22=13, Resulting Numbers: [34, 13] Generated Node #0,1,1: 96:[34, 13] Operation: 35-22=13 Exploring Operation: 35-34=1, Resulting Numbers: [22, 1] Generated Node #0,1,2: 96:[22, 1] Operation: 35-34=1 Moving to Node #0,2 Current State: 96:[22, 51, 52], Operations: ['86-34=52'] Exploring Operation: 52-22=30, Resulting Numbers: [51, 30] Generated Node #0,2,0: 96:[51, 30] Operation: 52-22=30 Exploring Operation: 51-22=29, Resulting Numbers: [52, 29] Generated Node #0,2,1: 96:[52, 29] Operation: 51-22=29 Exploring Operation: 52-51=1, Resulting Numbers: [22, 1] Generated Node #0,2,2: 96:[22, 1] Operation: 52-51=1 Moving to Node #0,0 Current State: 96:[51, 86, 12], Operations: ['34-22=12'] Exploring Operation: 51-12=39, Resulting Numbers: [86, 39] Generated Node #0,0,0: 96:[86, 39] Operation: 51-12=39 Exploring Operation: 86+12=98, Resulting Numbers: [51, 98] Generated Node #0,0,1: 96:[51, 98] Operation: 86+12=98 Exploring Operation: 86-51=35, Resulting Numbers: [12, 35] Generated Node #0,0,2: 96:[12, 35] Operation: 86-51=35 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[12, 35], Operations: ['34-22=12', '86-51=35'] Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,96 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[51, 98], Operations: ['34-22=12', '86+12=98'] Exploring Operation: 51*98=4998, Resulting Numbers: [4998] 4998,96 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 51+98=149, Resulting Numbers: [149] 149,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[86, 39], Operations: ['34-22=12', '51-12=39'] Exploring Operation: 86+39=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 86*39=3354, Resulting Numbers: [3354] 3354,96 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: 96:[35, 12], Operations: ['86-51=35', '34-22=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,96 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[22, 1], Operations: ['86-51=35', '35-34=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[34, 13], Operations: ['86-51=35', '35-22=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[22, 1], Operations: ['86-34=52', '52-51=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[51, 30], Operations: ['86-34=52', '52-22=30'] Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,96 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[52, 29], Operations: ['86-34=52', '51-22=29'] Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,96 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,96 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 84, 26, 34, 70 ]
46
[ "84-26=58", "34+70=104", "104-58=46" ]
Current State: 46:[84, 26, 34, 70], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [34, 70, 58] Generated Node #2: [34, 70, 58] from Operation: 84-26=58 Current State: 46:[34, 70, 58], Operations: ['84-26=58'] Exploring Operation: 34+70=104, Resulting Numbers: [58, 104] Generated Node #3: [58, 104] from Operation: 34+70=104 Current State: 46:[58, 104], Operations: ['84-26=58', '34+70=104'] Exploring Operation: 104-58=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[84, 26, 34, 70], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [26, 34, 14] Generated Node #0,0: 46:[26, 34, 14] Operation: 84-70=14 Exploring Operation: 84-26=58, Resulting Numbers: [34, 70, 58] Generated Node #0,1: 46:[34, 70, 58] Operation: 84-26=58 Exploring Operation: 84-34=50, Resulting Numbers: [26, 70, 50] Generated Node #0,2: 46:[26, 70, 50] Operation: 84-34=50 Moving to Node #0,0 Current State: 46:[26, 34, 14], Operations: ['84-70=14'] Exploring Operation: 34-14=20, Resulting Numbers: [26, 20] Generated Node #0,0,0: 46:[26, 20] Operation: 34-14=20 Exploring Operation: 34-26=8, Resulting Numbers: [14, 8] Generated Node #0,0,1: 46:[14, 8] Operation: 34-26=8 Exploring Operation: 34+14=48, Resulting Numbers: [26, 48] Generated Node #0,0,2: 46:[26, 48] Operation: 34+14=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[26, 48], Operations: ['84-70=14', '34+14=48'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,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,0,0 Current State: 46:[26, 20], Operations: ['84-70=14', '34-14=20'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[84, 26, 34, 70], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [26, 34, 14] Generated Node #0,0: 46:[26, 34, 14] Operation: 84-70=14 Moving to Node #0,0 Current State: 46:[26, 34, 14], Operations: ['84-70=14'] Exploring Operation: 34-14=20, Resulting Numbers: [26, 20] Generated Node #0,0,0: 46:[26, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 46:[26, 20], Operations: ['84-70=14', '34-14=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 75, 9, 57, 19 ]
87
[ "75+9=84", "57/19=3", "84+3=87" ]
Current State: 87:[75, 9, 57, 19], Operations: [] Exploring Operation: 75+9=84, Resulting Numbers: [57, 19, 84] Generated Node #2: [57, 19, 84] from Operation: 75+9=84 Current State: 87:[57, 19, 84], Operations: ['75+9=84'] Exploring Operation: 57/19=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 57/19=3 Current State: 87:[84, 3], Operations: ['75+9=84', '57/19=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[75, 9, 57, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [75, 9, 3] Generated Node #0,0: 87:[75, 9, 3] Operation: 57/19=3 Moving to Node #0,0 Current State: 87:[75, 9, 3], Operations: ['57/19=3'] Exploring Operation: 75+9=84, Resulting Numbers: [3, 84] Generated Node #0,0,0: 87:[3, 84] Operation: 75+9=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[3, 84], Operations: ['57/19=3', '75+9=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[75, 9, 57, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [75, 9, 3] Generated Node #0,0: 87:[75, 9, 3] Operation: 57/19=3 Moving to Node #0,0 Current State: 87:[75, 9, 3], Operations: ['57/19=3'] Exploring Operation: 75+9=84, Resulting Numbers: [3, 84] Generated Node #0,0,0: 87:[3, 84] Operation: 75+9=84 Moving to Node #0,0,0 Current State: 87:[3, 84], Operations: ['57/19=3', '75+9=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 76, 84, 5, 6 ]
70
[ "84-76=8", "6+8=14", "5*14=70" ]
Current State: 70:[76, 84, 5, 6], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [5, 6, 8] Generated Node #2: [5, 6, 8] from Operation: 84-76=8 Current State: 70:[5, 6, 8], Operations: ['84-76=8'] Exploring Operation: 6+8=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 6+8=14 Current State: 70:[5, 14], Operations: ['84-76=8', '6+8=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[76, 84, 5, 6], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [5, 6, 8] Generated Node #0,0: 70:[5, 6, 8] Operation: 84-76=8 Exploring Operation: 84-6=78, Resulting Numbers: [76, 5, 78] Generated Node #0,1: 70:[76, 5, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [76, 5, 14] Generated Node #0,2: 70:[76, 5, 14] Operation: 84/6=14 Exploring Operation: 76-6=70, Resulting Numbers: [84, 5, 70] Generated Node #0,3: 70:[84, 5, 70] Operation: 76-6=70 Moving to Node #0,0 Current State: 70:[5, 6, 8], Operations: ['84-76=8'] Exploring Operation: 6-5=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 70:[8, 1] Operation: 6-5=1 Exploring Operation: 6+8=14, Resulting Numbers: [5, 14] Generated Node #0,0,1: 70:[5, 14] Operation: 6+8=14 Exploring Operation: 5+6=11, Resulting Numbers: [8, 11] Generated Node #0,0,2: 70:[8, 11] Operation: 5+6=11 Exploring Operation: 8-6=2, Resulting Numbers: [5, 2] Generated Node #0,0,3: 70:[5, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[5, 14], Operations: ['84-76=8', '6+8=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[76, 84, 5, 6], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [5, 6, 8] Generated Node #0,0: 70:[5, 6, 8] Operation: 84-76=8 Moving to Node #0,0 Current State: 70:[5, 6, 8], Operations: ['84-76=8'] Exploring Operation: 6+8=14, Resulting Numbers: [5, 14] Generated Node #0,0,1: 70:[5, 14] Operation: 6+8=14 Moving to Node #0,0,1 Current State: 70:[5, 14], Operations: ['84-76=8', '6+8=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 31, 2, 36, 24 ]
37
[ "31+24=55", "36/2=18", "55-18=37" ]
Current State: 37:[31, 2, 36, 24], Operations: [] Exploring Operation: 31+24=55, Resulting Numbers: [2, 36, 55] Generated Node #2: [2, 36, 55] from Operation: 31+24=55 Current State: 37:[2, 36, 55], Operations: ['31+24=55'] Exploring Operation: 36/2=18, Resulting Numbers: [55, 18] Generated Node #3: [55, 18] from Operation: 36/2=18 Current State: 37:[55, 18], Operations: ['31+24=55', '36/2=18'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[31, 2, 36, 24], Operations: [] Exploring Operation: 31+2=33, Resulting Numbers: [36, 24, 33] Generated Node #0,0: 37:[36, 24, 33] Operation: 31+2=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[36, 24, 33], Operations: ['31+2=33'] Exploring Operation: 24+33=57, Resulting Numbers: [36, 57] Generated Node #0,0,0: 37:[36, 57] Operation: 24+33=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[36, 57], Operations: ['31+2=33', '24+33=57'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,37 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
[ 48, 93, 81, 42 ]
84
[ "93-48=45", "81-42=39", "45+39=84" ]
Current State: 84:[48, 93, 81, 42], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [81, 42, 45] Generated Node #2: [81, 42, 45] from Operation: 93-48=45 Current State: 84:[81, 42, 45], Operations: ['93-48=45'] Exploring Operation: 81-42=39, Resulting Numbers: [45, 39] Generated Node #3: [45, 39] from Operation: 81-42=39 Current State: 84:[45, 39], Operations: ['93-48=45', '81-42=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[48, 93, 81, 42], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [48, 42, 12] Generated Node #0,0: 84:[48, 42, 12] Operation: 93-81=12 Exploring Operation: 93-48=45, Resulting Numbers: [81, 42, 45] Generated Node #0,1: 84:[81, 42, 45] Operation: 93-48=45 Exploring Operation: 48+42=90, Resulting Numbers: [93, 81, 90] Generated Node #0,2: 84:[93, 81, 90] Operation: 48+42=90 Exploring Operation: 48-42=6, Resulting Numbers: [93, 81, 6] Generated Node #0,3: 84:[93, 81, 6] Operation: 48-42=6 Exploring Operation: 81-48=33, Resulting Numbers: [93, 42, 33] Generated Node #0,4: 84:[93, 42, 33] Operation: 81-48=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[48, 42, 12], Operations: ['93-81=12'] Exploring Operation: 48/12=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 84:[42, 4] Operation: 48/12=4 Exploring Operation: 48-42=6, Resulting Numbers: [12, 6] Generated Node #0,0,1: 84:[12, 6] Operation: 48-42=6 Exploring Operation: 42-12=30, Resulting Numbers: [48, 30] Generated Node #0,0,2: 84:[48, 30] Operation: 42-12=30 Exploring Operation: 48+42=90, Resulting Numbers: [12, 90] Generated Node #0,0,3: 84:[12, 90] Operation: 48+42=90 Exploring Operation: 48-12=36, Resulting Numbers: [42, 36] Generated Node #0,0,4: 84:[42, 36] Operation: 48-12=36 Moving to Node #0,0,0 Current State: 84:[42, 4], Operations: ['93-81=12', '48/12=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[12, 6], Operations: ['93-81=12', '48-42=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[12, 90], Operations: ['93-81=12', '48+42=90'] Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,84 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,84 unequal: No Solution Moving to Node #0,0,4 Current State: 84:[42, 36], Operations: ['93-81=12', '48-12=36'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,84 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[48, 30], Operations: ['93-81=12', '42-12=30'] Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[81, 42, 45], Operations: ['93-48=45'] Exploring Operation: 81-45=36, Resulting Numbers: [42, 36] Generated Node #0,1,0: 84:[42, 36] Operation: 81-45=36 Exploring Operation: 81-42=39, Resulting Numbers: [45, 39] Generated Node #0,1,1: 84:[45, 39] Operation: 81-42=39 Exploring Operation: 42+45=87, Resulting Numbers: [81, 87] Generated Node #0,1,2: 84:[81, 87] Operation: 42+45=87 Exploring Operation: 45-42=3, Resulting Numbers: [81, 3] Generated Node #0,1,3: 84:[81, 3] Operation: 45-42=3 Exploring Operation: 81+42=123, Resulting Numbers: [45, 123] Generated Node #0,1,4: 84:[45, 123] Operation: 81+42=123 Moving to Node #0,1,3 Current State: 84:[81, 3], Operations: ['93-48=45', '45-42=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,84 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[48, 93, 81, 42], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [81, 42, 45] Generated Node #0,1: 84:[81, 42, 45] Operation: 93-48=45 Moving to Node #0,1 Current State: 84:[81, 42, 45], Operations: ['93-48=45'] Exploring Operation: 45-42=3, Resulting Numbers: [81, 3] Generated Node #0,1,3: 84:[81, 3] Operation: 45-42=3 Moving to Node #0,1,3 Current State: 84:[81, 3], Operations: ['93-48=45', '45-42=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 16, 20, 67, 43 ]
20
[ "20-16=4", "67-43=24", "24-4=20" ]
Current State: 20:[16, 20, 67, 43], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [67, 43, 4] Generated Node #2: [67, 43, 4] from Operation: 20-16=4 Current State: 20:[67, 43, 4], Operations: ['20-16=4'] Exploring Operation: 67-43=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 67-43=24 Current State: 20:[4, 24], Operations: ['20-16=4', '67-43=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[16, 20, 67, 43], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [16, 20, 24] Generated Node #0,0: 20:[16, 20, 24] Operation: 67-43=24 Exploring Operation: 67-16=51, Resulting Numbers: [20, 43, 51] Generated Node #0,1: 20:[20, 43, 51] Operation: 67-16=51 Exploring Operation: 43-16=27, Resulting Numbers: [20, 67, 27] Generated Node #0,2: 20:[20, 67, 27] Operation: 43-16=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[16, 20, 24], Operations: ['67-43=24'] Exploring Operation: 24-20=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 20:[16, 4] Operation: 24-20=4 Exploring Operation: 20-16=4, Resulting Numbers: [24, 4] Generated Node #0,0,1: 20:[24, 4] Operation: 20-16=4 Exploring Operation: 24-16=8, Resulting Numbers: [20, 8] Generated Node #0,0,2: 20:[20, 8] Operation: 24-16=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[20, 8], Operations: ['67-43=24', '24-16=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,20 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[16, 4], Operations: ['67-43=24', '24-20=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[16, 20, 67, 43], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [16, 20, 24] Generated Node #0,0: 20:[16, 20, 24] Operation: 67-43=24 Moving to Node #0,0 Current State: 20:[16, 20, 24], Operations: ['67-43=24'] Exploring Operation: 24-20=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 20:[16, 4] Operation: 24-20=4 Moving to Node #0,0,0 Current State: 20:[16, 4], Operations: ['67-43=24', '24-20=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 16, 51, 1, 64 ]
54
[ "64/16=4", "51-1=50", "4+50=54" ]
Current State: 54:[16, 51, 1, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [51, 1, 4] Generated Node #2: [51, 1, 4] from Operation: 64/16=4 Current State: 54:[51, 1, 4], Operations: ['64/16=4'] Exploring Operation: 51-1=50, Resulting Numbers: [4, 50] Generated Node #3: [4, 50] from Operation: 51-1=50 Current State: 54:[4, 50], Operations: ['64/16=4', '51-1=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[16, 51, 1, 64], Operations: [] Exploring Operation: 51+1=52, Resulting Numbers: [16, 64, 52] Generated Node #0,0: 54:[16, 64, 52] Operation: 51+1=52 Exploring Operation: 64/16=4, Resulting Numbers: [51, 1, 4] Generated Node #0,1: 54:[51, 1, 4] Operation: 64/16=4 Exploring Operation: 64-51=13, Resulting Numbers: [16, 1, 13] Generated Node #0,2: 54:[16, 1, 13] Operation: 64-51=13 Exploring Operation: 16+1=17, Resulting Numbers: [51, 64, 17] Generated Node #0,3: 54:[51, 64, 17] Operation: 16+1=17 Exploring Operation: 64-16=48, Resulting Numbers: [51, 1, 48] Generated Node #0,4: 54:[51, 1, 48] Operation: 64-16=48 Moving to Node #0,1 Current State: 54:[51, 1, 4], Operations: ['64/16=4'] Exploring Operation: 51+4=55, Resulting Numbers: [1, 55] Generated Node #0,1,0: 54:[1, 55] Operation: 51+4=55 Exploring Operation: 4-1=3, Resulting Numbers: [51, 3] Generated Node #0,1,1: 54:[51, 3] Operation: 4-1=3 Exploring Operation: 51+1=52, Resulting Numbers: [4, 52] Generated Node #0,1,2: 54:[4, 52] Operation: 51+1=52 Exploring Operation: 51*1=51, Resulting Numbers: [4, 51] Generated Node #0,1,3: 54:[4, 51] Operation: 51*1=51 Exploring Operation: 51/1=51, Resulting Numbers: [4, 51] Generated Node #0,1,4: 54:[4, 51] Operation: 51/1=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[1, 55], Operations: ['64/16=4', '51+4=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[16, 51, 1, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [51, 1, 4] Generated Node #0,1: 54:[51, 1, 4] Operation: 64/16=4 Moving to Node #0,1 Current State: 54:[51, 1, 4], Operations: ['64/16=4'] Exploring Operation: 51+4=55, Resulting Numbers: [1, 55] Generated Node #0,1,0: 54:[1, 55] Operation: 51+4=55 Moving to Node #0,1,0 Current State: 54:[1, 55], Operations: ['64/16=4', '51+4=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 3, 75, 66, 61 ]
42
[ "3*61=183", "75+66=141", "183-141=42" ]
Current State: 42:[3, 75, 66, 61], Operations: [] Exploring Operation: 3*61=183, Resulting Numbers: [75, 66, 183] Generated Node #2: [75, 66, 183] from Operation: 3*61=183 Current State: 42:[75, 66, 183], Operations: ['3*61=183'] Exploring Operation: 75+66=141, Resulting Numbers: [183, 141] Generated Node #3: [183, 141] from Operation: 75+66=141 Current State: 42:[183, 141], Operations: ['3*61=183', '75+66=141'] Exploring Operation: 183-141=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 75, 66, 61], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [3, 61, 9] Generated Node #0,0: 42:[3, 61, 9] Operation: 75-66=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 61, 9], Operations: ['75-66=9'] Exploring Operation: 61-9=52, Resulting Numbers: [3, 52] Generated Node #0,0,0: 42:[3, 52] Operation: 61-9=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[3, 52], Operations: ['75-66=9', '61-9=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 51, 34, 21, 88 ]
84
[ "51-34=17", "88-21=67", "17+67=84" ]
Current State: 84:[51, 34, 21, 88], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [21, 88, 17] Generated Node #2: [21, 88, 17] from Operation: 51-34=17 Current State: 84:[21, 88, 17], Operations: ['51-34=17'] Exploring Operation: 88-21=67, Resulting Numbers: [17, 67] Generated Node #3: [17, 67] from Operation: 88-21=67 Current State: 84:[17, 67], Operations: ['51-34=17', '88-21=67'] Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[51, 34, 21, 88], Operations: [] Exploring Operation: 51+34=85, Resulting Numbers: [21, 88, 85] Generated Node #0,0: 84:[21, 88, 85] Operation: 51+34=85 Exploring Operation: 51-21=30, Resulting Numbers: [34, 88, 30] Generated Node #0,1: 84:[34, 88, 30] Operation: 51-21=30 Exploring Operation: 51-34=17, Resulting Numbers: [21, 88, 17] Generated Node #0,2: 84:[21, 88, 17] Operation: 51-34=17 Exploring Operation: 88-51=37, Resulting Numbers: [34, 21, 37] Generated Node #0,3: 84:[34, 21, 37] Operation: 88-51=37 Moving to Node #0,0 Current State: 84:[21, 88, 85], Operations: ['51+34=85'] Exploring Operation: 88-21=67, Resulting Numbers: [85, 67] Generated Node #0,0,0: 84:[85, 67] Operation: 88-21=67 Exploring Operation: 85-21=64, Resulting Numbers: [88, 64] Generated Node #0,0,1: 84:[88, 64] Operation: 85-21=64 Exploring Operation: 88-85=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 84:[21, 3] Operation: 88-85=3 Exploring Operation: 21+88=109, Resulting Numbers: [85, 109] Generated Node #0,0,3: 84:[85, 109] Operation: 21+88=109 Moving to Node #0,2 Current State: 84:[21, 88, 17], Operations: ['51-34=17'] Exploring Operation: 88-21=67, Resulting Numbers: [17, 67] Generated Node #0,2,0: 84:[17, 67] Operation: 88-21=67 Exploring Operation: 21-17=4, Resulting Numbers: [88, 4] Generated Node #0,2,1: 84:[88, 4] Operation: 21-17=4 Exploring Operation: 88-17=71, Resulting Numbers: [21, 71] Generated Node #0,2,2: 84:[21, 71] Operation: 88-17=71 Exploring Operation: 21+17=38, Resulting Numbers: [88, 38] Generated Node #0,2,3: 84:[88, 38] Operation: 21+17=38 Moving to Node #0,3 Current State: 84:[34, 21, 37], Operations: ['88-51=37'] Exploring Operation: 34-21=13, Resulting Numbers: [37, 13] Generated Node #0,3,0: 84:[37, 13] Operation: 34-21=13 Exploring Operation: 37-21=16, Resulting Numbers: [34, 16] Generated Node #0,3,1: 84:[34, 16] Operation: 37-21=16 Exploring Operation: 34+37=71, Resulting Numbers: [21, 71] Generated Node #0,3,2: 84:[21, 71] Operation: 34+37=71 Exploring Operation: 37-34=3, Resulting Numbers: [21, 3] Generated Node #0,3,3: 84:[21, 3] Operation: 37-34=3 Moving to Node #0,1 Current State: 84:[34, 88, 30], Operations: ['51-21=30'] Exploring Operation: 34-30=4, Resulting Numbers: [88, 4] Generated Node #0,1,0: 84:[88, 4] Operation: 34-30=4 Exploring Operation: 88-30=58, Resulting Numbers: [34, 58] Generated Node #0,1,1: 84:[34, 58] Operation: 88-30=58 Exploring Operation: 34+30=64, Resulting Numbers: [88, 64] Generated Node #0,1,2: 84:[88, 64] Operation: 34+30=64 Exploring Operation: 88-34=54, Resulting Numbers: [30, 54] Generated Node #0,1,3: 84:[30, 54] Operation: 88-34=54 Moving to Node #0,0,2 Current State: 84:[21, 3], Operations: ['51+34=85', '88-85=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[21, 3], Operations: ['88-51=37', '37-34=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[88, 4], Operations: ['51-21=30', '34-30=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[51, 34, 21, 88], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [34, 88, 30] Generated Node #0,1: 84:[34, 88, 30] Operation: 51-21=30 Moving to Node #0,1 Current State: 84:[34, 88, 30], Operations: ['51-21=30'] Exploring Operation: 34-30=4, Resulting Numbers: [88, 4] Generated Node #0,1,0: 84:[88, 4] Operation: 34-30=4 Moving to Node #0,1,0 Current State: 84:[88, 4], Operations: ['51-21=30', '34-30=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.970486
hs_4
mult_heuristic
[ 5, 91, 49, 43 ]
98
[ "91-5=86", "49*86=4214", "4214/43=98" ]
Current State: 98:[5, 91, 49, 43], Operations: [] Exploring Operation: 91-5=86, Resulting Numbers: [49, 43, 86] Generated Node #2: [49, 43, 86] from Operation: 91-5=86 Current State: 98:[49, 43, 86], Operations: ['91-5=86'] Exploring Operation: 49*86=4214, Resulting Numbers: [43, 4214] Generated Node #3: [43, 4214] from Operation: 49*86=4214 Current State: 98:[43, 4214], Operations: ['91-5=86', '49*86=4214'] Exploring Operation: 4214/43=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[5, 91, 49, 43], Operations: [] Exploring Operation: 5+91=96, Resulting Numbers: [49, 43, 96] Generated Node #0,0: 98:[49, 43, 96] Operation: 5+91=96 Exploring Operation: 5+43=48, Resulting Numbers: [91, 49, 48] Generated Node #0,1: 98:[91, 49, 48] Operation: 5+43=48 Exploring Operation: 91-43=48, Resulting Numbers: [5, 49, 48] Generated Node #0,2: 98:[5, 49, 48] Operation: 91-43=48 Moving to Node #0,2 Current State: 98:[5, 49, 48], Operations: ['91-43=48'] Exploring Operation: 5+48=53, Resulting Numbers: [49, 53] Generated Node #0,2,0: 98:[49, 53] Operation: 5+48=53 Exploring Operation: 49+48=97, Resulting Numbers: [5, 97] Generated Node #0,2,1: 98:[5, 97] Operation: 49+48=97 Exploring Operation: 49-48=1, Resulting Numbers: [5, 1] Generated Node #0,2,2: 98:[5, 1] Operation: 49-48=1 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[5, 97], Operations: ['91-43=48', '49+48=97'] Exploring Operation: 5+97=102, Resulting Numbers: [102] 102,98 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 5*97=485, Resulting Numbers: [485] 485,98 unequal: No Solution No 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: 98:[5, 1], Operations: ['91-43=48', '49-48=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,98 unequal: No Solution No 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: 98:[49, 53], Operations: ['91-43=48', '5+48=53'] Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,98 unequal: No Solution Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,98 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: 98:[49, 43, 96], Operations: ['5+91=96'] Exploring Operation: 96-43=53, Resulting Numbers: [49, 53] Generated Node #0,0,0: 98:[49, 53] Operation: 96-43=53 Exploring Operation: 49+43=92, Resulting Numbers: [96, 92] Generated Node #0,0,1: 98:[96, 92] Operation: 49+43=92 Exploring Operation: 49-43=6, Resulting Numbers: [96, 6] Generated Node #0,0,2: 98:[96, 6] Operation: 49-43=6 Moving to Node #0,1 Current State: 98:[91, 49, 48], Operations: ['5+43=48'] Exploring Operation: 91-48=43, Resulting Numbers: [49, 43] Generated Node #0,1,0: 98:[49, 43] Operation: 91-48=43 Exploring Operation: 91-49=42, Resulting Numbers: [48, 42] Generated Node #0,1,1: 98:[48, 42] Operation: 91-49=42 Exploring Operation: 49+48=97, Resulting Numbers: [91, 97] Generated Node #0,1,2: 98:[91, 97] Operation: 49+48=97 Moving to Node #0,0,2 Current State: 98:[96, 6], Operations: ['5+91=96', '49-43=6'] Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 96+6=102, Resulting Numbers: [102] 102,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[49, 53], Operations: ['5+91=96', '96-43=53'] Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,98 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[49, 43], Operations: ['5+43=48', '91-48=43'] Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,98 unequal: No Solution Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[96, 92], Operations: ['5+91=96', '49+43=92'] Exploring Operation: 96+92=188, Resulting Numbers: [188] 188,98 unequal: No Solution Exploring Operation: 96*92=8832, Resulting Numbers: [8832] 8832,98 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[91, 97], Operations: ['5+43=48', '49+48=97'] Exploring Operation: 91*97=8827, Resulting Numbers: [8827] 8827,98 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 91+97=188, Resulting Numbers: [188] 188,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[48, 42], Operations: ['5+43=48', '91-49=42'] Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,98 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 48, 41, 60, 3 ]
26
[ "48+41=89", "60+3=63", "89-63=26" ]
Current State: 26:[48, 41, 60, 3], Operations: [] Exploring Operation: 48+41=89, Resulting Numbers: [60, 3, 89] Generated Node #2: [60, 3, 89] from Operation: 48+41=89 Current State: 26:[60, 3, 89], Operations: ['48+41=89'] Exploring Operation: 60+3=63, Resulting Numbers: [89, 63] Generated Node #3: [89, 63] from Operation: 60+3=63 Current State: 26:[89, 63], Operations: ['48+41=89', '60+3=63'] Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[48, 41, 60, 3], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [48, 41, 20] Generated Node #0,0: 26:[48, 41, 20] Operation: 60/3=20 Exploring Operation: 60-41=19, Resulting Numbers: [48, 3, 19] Generated Node #0,1: 26:[48, 3, 19] Operation: 60-41=19 Exploring Operation: 48-41=7, Resulting Numbers: [60, 3, 7] Generated Node #0,2: 26:[60, 3, 7] Operation: 48-41=7 Exploring Operation: 60-48=12, Resulting Numbers: [41, 3, 12] Generated Node #0,3: 26:[41, 3, 12] Operation: 60-48=12 Moving to Node #0,3 Current State: 26:[41, 3, 12], Operations: ['60-48=12'] Exploring Operation: 41-3=38, Resulting Numbers: [12, 38] Generated Node #0,3,0: 26:[12, 38] Operation: 41-3=38 Exploring Operation: 3+12=15, Resulting Numbers: [41, 15] Generated Node #0,3,1: 26:[41, 15] Operation: 3+12=15 Exploring Operation: 41-12=29, Resulting Numbers: [3, 29] Generated Node #0,3,2: 26:[3, 29] Operation: 41-12=29 Exploring Operation: 12/3=4, Resulting Numbers: [41, 4] Generated Node #0,3,3: 26:[41, 4] Operation: 12/3=4 Moving to Node #0,1 Current State: 26:[48, 3, 19], Operations: ['60-41=19'] Exploring Operation: 48/3=16, Resulting Numbers: [19, 16] Generated Node #0,1,0: 26:[19, 16] Operation: 48/3=16 Exploring Operation: 48-19=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 26:[3, 29] Operation: 48-19=29 Exploring Operation: 19-3=16, Resulting Numbers: [48, 16] Generated Node #0,1,2: 26:[48, 16] Operation: 19-3=16 Exploring Operation: 48-3=45, Resulting Numbers: [19, 45] Generated Node #0,1,3: 26:[19, 45] Operation: 48-3=45 Moving to Node #0,2 Current State: 26:[60, 3, 7], Operations: ['48-41=7'] Exploring Operation: 60-3=57, Resulting Numbers: [7, 57] Generated Node #0,2,0: 26:[7, 57] Operation: 60-3=57 Exploring Operation: 7-3=4, Resulting Numbers: [60, 4] Generated Node #0,2,1: 26:[60, 4] Operation: 7-3=4 Exploring Operation: 60-7=53, Resulting Numbers: [3, 53] Generated Node #0,2,2: 26:[3, 53] Operation: 60-7=53 Exploring Operation: 60/3=20, Resulting Numbers: [7, 20] Generated Node #0,2,3: 26:[7, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[7, 20], Operations: ['48-41=7', '60/3=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,26 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,26 unequal: No Solution No 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: 26:[3, 53], Operations: ['48-41=7', '60-7=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,26 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,26 unequal: No Solution No 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: 26:[7, 57], Operations: ['48-41=7', '60-3=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,26 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,26 unequal: No Solution No 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: 26:[60, 4], Operations: ['48-41=7', '7-3=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,26 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,26 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,26 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: 26:[48, 41, 20], Operations: ['60/3=20'] Exploring Operation: 48-20=28, Resulting Numbers: [41, 28] Generated Node #0,0,0: 26:[41, 28] Operation: 48-20=28 Exploring Operation: 48+20=68, Resulting Numbers: [41, 68] Generated Node #0,0,1: 26:[41, 68] Operation: 48+20=68 Exploring Operation: 41-20=21, Resulting Numbers: [48, 21] Generated Node #0,0,2: 26:[48, 21] Operation: 41-20=21 Exploring Operation: 48-41=7, Resulting Numbers: [20, 7] Generated Node #0,0,3: 26:[20, 7] Operation: 48-41=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[20, 7], Operations: ['60/3=20', '48-41=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,26 unequal: No Solution No 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: 26:[41, 28], Operations: ['60/3=20', '48-20=28'] Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,26 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,26 unequal: No Solution No 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: 26:[48, 21], Operations: ['60/3=20', '41-20=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,26 unequal: No Solution No 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: 26:[41, 68], Operations: ['60/3=20', '48+20=68'] Exploring Operation: 41*68=2788, Resulting Numbers: [2788] 2788,26 unequal: No Solution Exploring Operation: 41+68=109, Resulting Numbers: [109] 109,26 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 26:[3, 29], Operations: ['60-48=12', '41-12=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[48, 41, 60, 3], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [41, 3, 12] Generated Node #0,3: 26:[41, 3, 12] Operation: 60-48=12 Moving to Node #0,3 Current State: 26:[41, 3, 12], Operations: ['60-48=12'] Exploring Operation: 41-12=29, Resulting Numbers: [3, 29] Generated Node #0,3,2: 26:[3, 29] Operation: 41-12=29 Moving to Node #0,3,2 Current State: 26:[3, 29], Operations: ['60-48=12', '41-12=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 29, 50, 76, 4 ]
74
[ "29-4=25", "50/25=2", "76-2=74" ]
Current State: 74:[29, 50, 76, 4], Operations: [] Exploring Operation: 29-4=25, Resulting Numbers: [50, 76, 25] Generated Node #2: [50, 76, 25] from Operation: 29-4=25 Current State: 74:[50, 76, 25], Operations: ['29-4=25'] Exploring Operation: 50/25=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 50/25=2 Current State: 74:[76, 2], Operations: ['29-4=25', '50/25=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[29, 50, 76, 4], Operations: [] Exploring Operation: 50-29=21, Resulting Numbers: [76, 4, 21] Generated Node #0,0: 74:[76, 4, 21] Operation: 50-29=21 Exploring Operation: 50-4=46, Resulting Numbers: [29, 76, 46] Generated Node #0,1: 74:[29, 76, 46] Operation: 50-4=46 Exploring Operation: 29+50=79, Resulting Numbers: [76, 4, 79] Generated Node #0,2: 74:[76, 4, 79] Operation: 29+50=79 Exploring Operation: 29+4=33, Resulting Numbers: [50, 76, 33] Generated Node #0,3: 74:[50, 76, 33] Operation: 29+4=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[76, 4, 79], Operations: ['29+50=79'] Exploring Operation: 79-4=75, Resulting Numbers: [76, 75] Generated Node #0,2,0: 74:[76, 75] Operation: 79-4=75 Exploring Operation: 79-76=3, Resulting Numbers: [4, 3] Generated Node #0,2,1: 74:[4, 3] Operation: 79-76=3 Exploring Operation: 76+4=80, Resulting Numbers: [79, 80] Generated Node #0,2,2: 74:[79, 80] Operation: 76+4=80 Exploring Operation: 76-4=72, Resulting Numbers: [79, 72] Generated Node #0,2,3: 74:[79, 72] Operation: 76-4=72 Moving to Node #0,2,0 Current State: 74:[76, 75], Operations: ['29+50=79', '79-4=75'] Exploring Operation: 76+75=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 76*75=5700, Resulting Numbers: [5700] 5700,74 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[4, 3], Operations: ['29+50=79', '79-76=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[79, 72], Operations: ['29+50=79', '76-4=72'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 79*72=5688, Resulting Numbers: [5688] 5688,74 unequal: No Solution Exploring Operation: 79+72=151, Resulting Numbers: [151] 151,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[79, 80], Operations: ['29+50=79', '76+4=80'] Exploring Operation: 79+80=159, Resulting Numbers: [159] 159,74 unequal: No Solution Exploring Operation: 79*80=6320, Resulting Numbers: [6320] 6320,74 unequal: No Solution Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,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,1 Current State: 74:[29, 76, 46], Operations: ['50-4=46'] Exploring Operation: 76-29=47, Resulting Numbers: [46, 47] Generated Node #0,1,0: 74:[46, 47] Operation: 76-29=47 Exploring Operation: 29+46=75, Resulting Numbers: [76, 75] Generated Node #0,1,1: 74:[76, 75] Operation: 29+46=75 Exploring Operation: 76-46=30, Resulting Numbers: [29, 30] Generated Node #0,1,2: 74:[29, 30] Operation: 76-46=30 Exploring Operation: 46-29=17, Resulting Numbers: [76, 17] Generated Node #0,1,3: 74:[76, 17] Operation: 46-29=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[76, 75], Operations: ['50-4=46', '29+46=75'] Exploring Operation: 76+75=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 76*75=5700, Resulting Numbers: [5700] 5700,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,1,2 Current State: 74:[29, 30], Operations: ['50-4=46', '76-46=30'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,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,1,3 Current State: 74:[76, 17], Operations: ['50-4=46', '46-29=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,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,1,0 Current State: 74:[46, 47], Operations: ['50-4=46', '76-29=47'] Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,74 unequal: No Solution Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,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,3 Current State: 74:[50, 76, 33], Operations: ['29+4=33'] Exploring Operation: 76-50=26, Resulting Numbers: [33, 26] Generated Node #0,3,0: 74:[33, 26] Operation: 76-50=26 Exploring Operation: 50-33=17, Resulting Numbers: [76, 17] Generated Node #0,3,1: 74:[76, 17] Operation: 50-33=17 Exploring Operation: 76-33=43, Resulting Numbers: [50, 43] Generated Node #0,3,2: 74:[50, 43] Operation: 76-33=43 Exploring Operation: 50+33=83, Resulting Numbers: [76, 83] Generated Node #0,3,3: 74:[76, 83] Operation: 50+33=83 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 74:[76, 83], Operations: ['29+4=33', '50+33=83'] Exploring Operation: 76*83=6308, Resulting Numbers: [6308] 6308,74 unequal: No Solution Exploring Operation: 76+83=159, Resulting Numbers: [159] 159,74 unequal: No Solution Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,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,3,0 Current State: 74:[33, 26], Operations: ['29+4=33', '76-50=26'] Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 33*26=858, Resulting Numbers: [858] 858,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,3,1 Current State: 74:[76, 17], Operations: ['29+4=33', '50-33=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,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,3,2 Current State: 74:[50, 43], Operations: ['29+4=33', '76-33=43'] Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,74 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,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,0 Current State: 74:[76, 4, 21], Operations: ['50-29=21'] Exploring Operation: 76-4=72, Resulting Numbers: [21, 72] Generated Node #0,0,0: 74:[21, 72] Operation: 76-4=72 Exploring Operation: 4+21=25, Resulting Numbers: [76, 25] Generated Node #0,0,1: 74:[76, 25] Operation: 4+21=25 Exploring Operation: 21-4=17, Resulting Numbers: [76, 17] Generated Node #0,0,2: 74:[76, 17] Operation: 21-4=17 Exploring Operation: 4*21=84, Resulting Numbers: [76, 84] Generated Node #0,0,3: 74:[76, 84] Operation: 4*21=84 Moving to Node #0,0,3 Current State: 74:[76, 84], Operations: ['50-29=21', '4*21=84'] Exploring Operation: 76+84=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 76*84=6384, Resulting Numbers: [6384] 6384,74 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[76, 25], Operations: ['50-29=21', '4+21=25'] Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,74 unequal: No Solution Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,74 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[76, 17], Operations: ['50-29=21', '21-4=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[21, 72], Operations: ['50-29=21', '76-4=72'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,74 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
[ 74, 7, 87, 14 ]
26
[ "87-74=13", "14/7=2", "13*2=26" ]
Current State: 26:[74, 7, 87, 14], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [7, 14, 13] Generated Node #2: [7, 14, 13] from Operation: 87-74=13 Current State: 26:[7, 14, 13], Operations: ['87-74=13'] Exploring Operation: 14/7=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 14/7=2 Current State: 26:[13, 2], Operations: ['87-74=13', '14/7=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[74, 7, 87, 14], Operations: [] Exploring Operation: 87-7=80, Resulting Numbers: [74, 14, 80] Generated Node #0,0: 26:[74, 14, 80] Operation: 87-7=80 Exploring Operation: 87-14=73, Resulting Numbers: [74, 7, 73] Generated Node #0,1: 26:[74, 7, 73] Operation: 87-14=73 Exploring Operation: 87-74=13, Resulting Numbers: [7, 14, 13] Generated Node #0,2: 26:[7, 14, 13] Operation: 87-74=13 Exploring Operation: 74-7=67, Resulting Numbers: [87, 14, 67] Generated Node #0,3: 26:[87, 14, 67] Operation: 74-7=67 Exploring Operation: 74-14=60, Resulting Numbers: [7, 87, 60] Generated Node #0,4: 26:[7, 87, 60] Operation: 74-14=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[7, 14, 13], Operations: ['87-74=13'] Exploring Operation: 14-7=7, Resulting Numbers: [13, 7] Generated Node #0,2,0: 26:[13, 7] Operation: 14-7=7 Exploring Operation: 13-7=6, Resulting Numbers: [14, 6] Generated Node #0,2,1: 26:[14, 6] Operation: 13-7=6 Exploring Operation: 7+14=21, Resulting Numbers: [13, 21] Generated Node #0,2,2: 26:[13, 21] Operation: 7+14=21 Exploring Operation: 14+13=27, Resulting Numbers: [7, 27] Generated Node #0,2,3: 26:[7, 27] Operation: 14+13=27 Exploring Operation: 14/7=2, Resulting Numbers: [13, 2] Generated Node #0,2,4: 26:[13, 2] Operation: 14/7=2 Moving to Node #0,2,4 Current State: 26:[13, 2], Operations: ['87-74=13', '14/7=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[74, 7, 87, 14], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [7, 14, 13] Generated Node #0,2: 26:[7, 14, 13] Operation: 87-74=13 Moving to Node #0,2 Current State: 26:[7, 14, 13], Operations: ['87-74=13'] Exploring Operation: 14/7=2, Resulting Numbers: [13, 2] Generated Node #0,2,4: 26:[13, 2] Operation: 14/7=2 Moving to Node #0,2,4 Current State: 26:[13, 2], Operations: ['87-74=13', '14/7=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 95, 39, 97, 21 ]
36
[ "97-95=2", "39-21=18", "2*18=36" ]
Current State: 36:[95, 39, 97, 21], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [39, 21, 2] Generated Node #2: [39, 21, 2] from Operation: 97-95=2 Current State: 36:[39, 21, 2], Operations: ['97-95=2'] Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 39-21=18 Current State: 36:[2, 18], Operations: ['97-95=2', '39-21=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[95, 39, 97, 21], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [39, 21, 2] Generated Node #0,0: 36:[39, 21, 2] Operation: 97-95=2 Exploring Operation: 95-39=56, Resulting Numbers: [97, 21, 56] Generated Node #0,1: 36:[97, 21, 56] Operation: 95-39=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[39, 21, 2], Operations: ['97-95=2'] Exploring Operation: 39-2=37, Resulting Numbers: [21, 37] Generated Node #0,0,0: 36:[21, 37] Operation: 39-2=37 Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 36:[2, 18] Operation: 39-21=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[2, 18], Operations: ['97-95=2', '39-21=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[95, 39, 97, 21], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [39, 21, 2] Generated Node #0,0: 36:[39, 21, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 36:[39, 21, 2], Operations: ['97-95=2'] Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 36:[2, 18] Operation: 39-21=18 Moving to Node #0,0,1 Current State: 36:[2, 18], Operations: ['97-95=2', '39-21=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 55, 10, 3, 49 ]
74
[ "55+49=104", "10*3=30", "104-30=74" ]
Current State: 74:[55, 10, 3, 49], Operations: [] Exploring Operation: 55+49=104, Resulting Numbers: [10, 3, 104] Generated Node #2: [10, 3, 104] from Operation: 55+49=104 Current State: 74:[10, 3, 104], Operations: ['55+49=104'] Exploring Operation: 10*3=30, Resulting Numbers: [104, 30] Generated Node #3: [104, 30] from Operation: 10*3=30 Current State: 74:[104, 30], Operations: ['55+49=104', '10*3=30'] Exploring Operation: 104-30=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[55, 10, 3, 49], Operations: [] Exploring Operation: 55+10=65, Resulting Numbers: [3, 49, 65] Generated Node #0,0: 74:[3, 49, 65] Operation: 55+10=65 Exploring Operation: 55-10=45, Resulting Numbers: [3, 49, 45] Generated Node #0,1: 74:[3, 49, 45] Operation: 55-10=45 Exploring Operation: 55-49=6, Resulting Numbers: [10, 3, 6] Generated Node #0,2: 74:[10, 3, 6] Operation: 55-49=6 Exploring Operation: 49-10=39, Resulting Numbers: [55, 3, 39] Generated Node #0,3: 74:[55, 3, 39] Operation: 49-10=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[10, 3, 6], Operations: ['55-49=6'] Exploring Operation: 10-3=7, Resulting Numbers: [6, 7] Generated Node #0,2,0: 74:[6, 7] Operation: 10-3=7 Exploring Operation: 10-6=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 74:[3, 4] Operation: 10-6=4 Exploring Operation: 6-3=3, Resulting Numbers: [10, 3] Generated Node #0,2,2: 74:[10, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [10, 2] Generated Node #0,2,3: 74:[10, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[3, 4], Operations: ['55-49=6', '10-6=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,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,2,3 Current State: 74:[10, 2], Operations: ['55-49=6', '6/3=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,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,2,0 Current State: 74:[6, 7], Operations: ['55-49=6', '10-3=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,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,2,2 Current State: 74:[10, 3], Operations: ['55-49=6', '6-3=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,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, 49, 45], Operations: ['55-10=45'] Exploring Operation: 49-45=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 74:[3, 4] Operation: 49-45=4 Exploring Operation: 45-3=42, Resulting Numbers: [49, 42] Generated Node #0,1,1: 74:[49, 42] Operation: 45-3=42 Exploring Operation: 49+45=94, Resulting Numbers: [3, 94] Generated Node #0,1,2: 74:[3, 94] Operation: 49+45=94 Exploring Operation: 49-3=46, Resulting Numbers: [45, 46] Generated Node #0,1,3: 74:[45, 46] Operation: 49-3=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[3, 4], Operations: ['55-10=45', '49-45=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,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,1,1 Current State: 74:[49, 42], Operations: ['55-10=45', '45-3=42'] Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,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,1,3 Current State: 74:[45, 46], Operations: ['55-10=45', '49-3=46'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,74 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,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,1,2 Current State: 74:[3, 94], Operations: ['55-10=45', '49+45=94'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 3+94=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 3*94=282, Resulting Numbers: [282] 282,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,3 Current State: 74:[55, 3, 39], Operations: ['49-10=39'] Exploring Operation: 55-3=52, Resulting Numbers: [39, 52] Generated Node #0,3,0: 74:[39, 52] Operation: 55-3=52 Exploring Operation: 55-39=16, Resulting Numbers: [3, 16] Generated Node #0,3,1: 74:[3, 16] Operation: 55-39=16 Exploring Operation: 55+3=58, Resulting Numbers: [39, 58] Generated Node #0,3,2: 74:[39, 58] Operation: 55+3=58 Exploring Operation: 39-3=36, Resulting Numbers: [55, 36] Generated Node #0,3,3: 74:[55, 36] Operation: 39-3=36 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 74:[3, 16], Operations: ['49-10=39', '55-39=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,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,3,0 Current State: 74:[39, 52], Operations: ['49-10=39', '55-3=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,74 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,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,3,2 Current State: 74:[39, 58], Operations: ['49-10=39', '55+3=58'] Exploring Operation: 39+58=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 39*58=2262, Resulting Numbers: [2262] 2262,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,3,3 Current State: 74:[55, 36], Operations: ['49-10=39', '39-3=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,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,0 Current State: 74:[3, 49, 65], Operations: ['55+10=65'] Exploring Operation: 49-3=46, Resulting Numbers: [65, 46] Generated Node #0,0,0: 74:[65, 46] Operation: 49-3=46 Exploring Operation: 3+49=52, Resulting Numbers: [65, 52] Generated Node #0,0,1: 74:[65, 52] Operation: 3+49=52 Exploring Operation: 65-49=16, Resulting Numbers: [3, 16] Generated Node #0,0,2: 74:[3, 16] Operation: 65-49=16 Exploring Operation: 3+65=68, Resulting Numbers: [49, 68] Generated Node #0,0,3: 74:[49, 68] Operation: 3+65=68 Moving to Node #0,0,2 Current State: 74:[3, 16], Operations: ['55+10=65', '65-49=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[49, 68], Operations: ['55+10=65', '3+65=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[65, 46], Operations: ['55+10=65', '49-3=46'] Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,74 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[65, 52], Operations: ['55+10=65', '3+49=52'] Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,74 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,74 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
[ 19, 28, 90, 37 ]
100
[ "19+28=47", "90-37=53", "47+53=100" ]
Current State: 100:[19, 28, 90, 37], Operations: [] Exploring Operation: 19+28=47, Resulting Numbers: [90, 37, 47] Generated Node #2: [90, 37, 47] from Operation: 19+28=47 Current State: 100:[90, 37, 47], Operations: ['19+28=47'] Exploring Operation: 90-37=53, Resulting Numbers: [47, 53] Generated Node #3: [47, 53] from Operation: 90-37=53 Current State: 100:[47, 53], Operations: ['19+28=47', '90-37=53'] Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[19, 28, 90, 37], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [19, 28, 53] Generated Node #0,0: 100:[19, 28, 53] Operation: 90-37=53 Exploring Operation: 19+37=56, Resulting Numbers: [28, 90, 56] Generated Node #0,1: 100:[28, 90, 56] Operation: 19+37=56 Exploring Operation: 37-19=18, Resulting Numbers: [28, 90, 18] Generated Node #0,2: 100:[28, 90, 18] Operation: 37-19=18 Exploring Operation: 28-19=9, Resulting Numbers: [90, 37, 9] Generated Node #0,3: 100:[90, 37, 9] Operation: 28-19=9 Exploring Operation: 37-28=9, Resulting Numbers: [19, 90, 9] Generated Node #0,4: 100:[19, 90, 9] Operation: 37-28=9 Moving to Node #0,0 Current State: 100:[19, 28, 53], Operations: ['90-37=53'] Exploring Operation: 19+28=47, Resulting Numbers: [53, 47] Generated Node #0,0,0: 100:[53, 47] Operation: 19+28=47 Exploring Operation: 28-19=9, Resulting Numbers: [53, 9] Generated Node #0,0,1: 100:[53, 9] Operation: 28-19=9 Exploring Operation: 53-28=25, Resulting Numbers: [19, 25] Generated Node #0,0,2: 100:[19, 25] Operation: 53-28=25 Exploring Operation: 28+53=81, Resulting Numbers: [19, 81] Generated Node #0,0,3: 100:[19, 81] Operation: 28+53=81 Exploring Operation: 53-19=34, Resulting Numbers: [28, 34] Generated Node #0,0,4: 100:[28, 34] Operation: 53-19=34 Moving to Node #0,4 Current State: 100:[19, 90, 9], Operations: ['37-28=9'] Exploring Operation: 19+9=28, Resulting Numbers: [90, 28] Generated Node #0,4,0: 100:[90, 28] Operation: 19+9=28 Exploring Operation: 90/9=10, Resulting Numbers: [19, 10] Generated Node #0,4,1: 100:[19, 10] Operation: 90/9=10 Exploring Operation: 90+9=99, Resulting Numbers: [19, 99] Generated Node #0,4,2: 100:[19, 99] Operation: 90+9=99 Exploring Operation: 19+90=109, Resulting Numbers: [9, 109] Generated Node #0,4,3: 100:[9, 109] Operation: 19+90=109 Exploring Operation: 19-9=10, Resulting Numbers: [90, 10] Generated Node #0,4,4: 100:[90, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 100:[19, 10], Operations: ['37-28=9', '90/9=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,100 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,100 unequal: No Solution No 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: 100:[19, 99], Operations: ['37-28=9', '90+9=99'] Exploring Operation: 19*99=1881, Resulting Numbers: [1881] 1881,100 unequal: No Solution Exploring Operation: 19+99=118, Resulting Numbers: [118] 118,100 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,100 unequal: No Solution No 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: 100:[9, 109], Operations: ['37-28=9', '19+90=109'] Exploring Operation: 9+109=118, Resulting Numbers: [118] 118,100 unequal: No Solution Exploring Operation: 9*109=981, Resulting Numbers: [981] 981,100 unequal: No Solution Exploring Operation: 109-9=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[19, 28, 90, 37], Operations: [] Exploring Operation: 37-28=9, Resulting Numbers: [19, 90, 9] Generated Node #0,4: 100:[19, 90, 9] Operation: 37-28=9 Moving to Node #0,4 Current State: 100:[19, 90, 9], Operations: ['37-28=9'] Exploring Operation: 19+90=109, Resulting Numbers: [9, 109] Generated Node #0,4,3: 100:[9, 109] Operation: 19+90=109 Moving to Node #0,4,3 Current State: 100:[9, 109], Operations: ['37-28=9', '19+90=109'] Exploring Operation: 109-9=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 19, 25, 43, 4 ]
94
[ "19*4=76", "43-25=18", "76+18=94" ]
Current State: 94:[19, 25, 43, 4], Operations: [] Exploring Operation: 19*4=76, Resulting Numbers: [25, 43, 76] Generated Node #2: [25, 43, 76] from Operation: 19*4=76 Current State: 94:[25, 43, 76], Operations: ['19*4=76'] Exploring Operation: 43-25=18, Resulting Numbers: [76, 18] Generated Node #3: [76, 18] from Operation: 43-25=18 Current State: 94:[76, 18], Operations: ['19*4=76', '43-25=18'] Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[19, 25, 43, 4], Operations: [] Exploring Operation: 25-19=6, Resulting Numbers: [43, 4, 6] Generated Node #0,0: 94:[43, 4, 6] Operation: 25-19=6 Exploring Operation: 19+25=44, Resulting Numbers: [43, 4, 44] Generated Node #0,1: 94:[43, 4, 44] Operation: 19+25=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[43, 4, 44], Operations: ['19+25=44'] Exploring Operation: 44-43=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 94:[4, 1] Operation: 44-43=1 Exploring Operation: 43+4=47, Resulting Numbers: [44, 47] Generated Node #0,1,1: 94:[44, 47] Operation: 43+4=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[4, 1], Operations: ['19+25=44', '44-43=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[44, 47], Operations: ['19+25=44', '43+4=47'] Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[43, 4, 6], Operations: ['25-19=6'] Exploring Operation: 43+4=47, Resulting Numbers: [6, 47] Generated Node #0,0,0: 94:[6, 47] Operation: 43+4=47 Exploring Operation: 43+6=49, Resulting Numbers: [4, 49] Generated Node #0,0,1: 94:[4, 49] Operation: 43+6=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[6, 47], Operations: ['25-19=6', '43+4=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[4, 49], Operations: ['25-19=6', '43+6=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 95, 54, 5, 7 ]
88
[ "54-5=49", "49/7=7", "95-7=88" ]
Current State: 88:[95, 54, 5, 7], Operations: [] Exploring Operation: 54-5=49, Resulting Numbers: [95, 7, 49] Generated Node #2: [95, 7, 49] from Operation: 54-5=49 Current State: 88:[95, 7, 49], Operations: ['54-5=49'] Exploring Operation: 49/7=7, Resulting Numbers: [95, 7] Generated Node #3: [95, 7] from Operation: 49/7=7 Current State: 88:[95, 7], Operations: ['54-5=49', '49/7=7'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[95, 54, 5, 7], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [5, 7, 41] Generated Node #0,0: 88:[5, 7, 41] Operation: 95-54=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[5, 7, 41], Operations: ['95-54=41'] Exploring Operation: 7-5=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 88:[41, 2] Operation: 7-5=2 Moving to Node #0,0,0 Current State: 88:[41, 2], Operations: ['95-54=41', '7-5=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 17, 81, 12 ]
13
[ "48*17=816", "816/12=68", "81-68=13" ]
Current State: 13:[48, 17, 81, 12], Operations: [] Exploring Operation: 48*17=816, Resulting Numbers: [81, 12, 816] Generated Node #2: [81, 12, 816] from Operation: 48*17=816 Current State: 13:[81, 12, 816], Operations: ['48*17=816'] Exploring Operation: 816/12=68, Resulting Numbers: [81, 68] Generated Node #3: [81, 68] from Operation: 816/12=68 Current State: 13:[81, 68], Operations: ['48*17=816', '816/12=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[48, 17, 81, 12], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [17, 81, 4] Generated Node #0,0: 13:[17, 81, 4] Operation: 48/12=4 Exploring Operation: 81-48=33, Resulting Numbers: [17, 12, 33] Generated Node #0,1: 13:[17, 12, 33] Operation: 81-48=33 Exploring Operation: 48-17=31, Resulting Numbers: [81, 12, 31] Generated Node #0,2: 13:[81, 12, 31] Operation: 48-17=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[17, 12, 33], Operations: ['81-48=33'] Exploring Operation: 33-12=21, Resulting Numbers: [17, 21] Generated Node #0,1,0: 13:[17, 21] Operation: 33-12=21 Exploring Operation: 33-17=16, Resulting Numbers: [12, 16] Generated Node #0,1,1: 13:[12, 16] Operation: 33-17=16 Exploring Operation: 17-12=5, Resulting Numbers: [33, 5] Generated Node #0,1,2: 13:[33, 5] Operation: 17-12=5 Moving to Node #0,1,1 Current State: 13:[12, 16], Operations: ['81-48=33', '33-17=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[17, 21], Operations: ['81-48=33', '33-12=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[33, 5], Operations: ['81-48=33', '17-12=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[17, 81, 4], Operations: ['48/12=4'] Exploring Operation: 81-4=77, Resulting Numbers: [17, 77] Generated Node #0,0,0: 13:[17, 77] Operation: 81-4=77 Exploring Operation: 81-17=64, Resulting Numbers: [4, 64] Generated Node #0,0,1: 13:[4, 64] Operation: 81-17=64 Exploring Operation: 17-4=13, Resulting Numbers: [81, 13] Generated Node #0,0,2: 13:[81, 13] Operation: 17-4=13 Moving to Node #0,0,1 Current State: 13:[4, 64], Operations: ['48/12=4', '81-17=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[17, 77], Operations: ['48/12=4', '81-4=77'] Exploring Operation: 17*77=1309, Resulting Numbers: [1309] 1309,13 unequal: No Solution Exploring Operation: 17+77=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[81, 13], Operations: ['48/12=4', '17-4=13'] Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,13 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[81, 12, 31], Operations: ['48-17=31'] Exploring Operation: 81-12=69, Resulting Numbers: [31, 69] Generated Node #0,2,0: 13:[31, 69] Operation: 81-12=69 Exploring Operation: 81-31=50, Resulting Numbers: [12, 50] Generated Node #0,2,1: 13:[12, 50] Operation: 81-31=50 Exploring Operation: 31-12=19, Resulting Numbers: [81, 19] Generated Node #0,2,2: 13:[81, 19] Operation: 31-12=19 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 13:[12, 50], Operations: ['48-17=31', '81-31=50'] Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,13 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[31, 69], Operations: ['48-17=31', '81-12=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,13 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[81, 19], Operations: ['48-17=31', '31-12=19'] Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 2, 7, 64, 3 ]
75
[ "2*7=14", "64-3=61", "14+61=75" ]
Current State: 75:[2, 7, 64, 3], Operations: [] Exploring Operation: 2*7=14, Resulting Numbers: [64, 3, 14] Generated Node #2: [64, 3, 14] from Operation: 2*7=14 Current State: 75:[64, 3, 14], Operations: ['2*7=14'] Exploring Operation: 64-3=61, Resulting Numbers: [14, 61] Generated Node #3: [14, 61] from Operation: 64-3=61 Current State: 75:[14, 61], Operations: ['2*7=14', '64-3=61'] Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[2, 7, 64, 3], Operations: [] Exploring Operation: 7+64=71, Resulting Numbers: [2, 3, 71] Generated Node #0,0: 75:[2, 3, 71] Operation: 7+64=71 Exploring Operation: 64/2=32, Resulting Numbers: [7, 3, 32] Generated Node #0,1: 75:[7, 3, 32] Operation: 64/2=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 3, 71], Operations: ['7+64=71'] Exploring Operation: 3+71=74, Resulting Numbers: [2, 74] Generated Node #0,0,0: 75:[2, 74] Operation: 3+71=74 Exploring Operation: 2+71=73, Resulting Numbers: [3, 73] Generated Node #0,0,1: 75:[3, 73] Operation: 2+71=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[2, 74], Operations: ['7+64=71', '3+71=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[3, 73], Operations: ['7+64=71', '2+71=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[7, 3, 32], Operations: ['64/2=32'] Exploring Operation: 32-3=29, Resulting Numbers: [7, 29] Generated Node #0,1,0: 75:[7, 29] Operation: 32-3=29 Exploring Operation: 32-7=25, Resulting Numbers: [3, 25] Generated Node #0,1,1: 75:[3, 25] Operation: 32-7=25 Moving to Node #0,1,1 Current State: 75:[3, 25], Operations: ['64/2=32', '32-7=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[2, 7, 64, 3], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [7, 3, 32] Generated Node #0,1: 75:[7, 3, 32] Operation: 64/2=32 Moving to Node #0,1 Current State: 75:[7, 3, 32], Operations: ['64/2=32'] Exploring Operation: 32-7=25, Resulting Numbers: [3, 25] Generated Node #0,1,1: 75:[3, 25] Operation: 32-7=25 Moving to Node #0,1,1 Current State: 75:[3, 25], Operations: ['64/2=32', '32-7=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 43, 3, 48, 34 ]
51
[ "43-34=9", "9/3=3", "48+3=51" ]
Current State: 51:[43, 3, 48, 34], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [3, 48, 9] Generated Node #2: [3, 48, 9] from Operation: 43-34=9 Current State: 51:[3, 48, 9], Operations: ['43-34=9'] Exploring Operation: 9/3=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 9/3=3 Current State: 51:[48, 3], Operations: ['43-34=9', '9/3=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[43, 3, 48, 34], Operations: [] Exploring Operation: 48-34=14, Resulting Numbers: [43, 3, 14] Generated Node #0,0: 51:[43, 3, 14] Operation: 48-34=14 Exploring Operation: 48-43=5, Resulting Numbers: [3, 34, 5] Generated Node #0,1: 51:[3, 34, 5] Operation: 48-43=5 Exploring Operation: 43-34=9, Resulting Numbers: [3, 48, 9] Generated Node #0,2: 51:[3, 48, 9] Operation: 43-34=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[3, 48, 9], Operations: ['43-34=9'] Exploring Operation: 9/3=3, Resulting Numbers: [48, 3] Generated Node #0,2,0: 51:[48, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [48, 6] Generated Node #0,2,1: 51:[48, 6] Operation: 9-3=6 Exploring Operation: 3+48=51, Resulting Numbers: [9, 51] Generated Node #0,2,2: 51:[9, 51] Operation: 3+48=51 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[48, 3], Operations: ['43-34=9', '9/3=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[43, 3, 48, 34], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [3, 48, 9] Generated Node #0,2: 51:[3, 48, 9] Operation: 43-34=9 Moving to Node #0,2 Current State: 51:[3, 48, 9], Operations: ['43-34=9'] Exploring Operation: 9/3=3, Resulting Numbers: [48, 3] Generated Node #0,2,0: 51:[48, 3] Operation: 9/3=3 Moving to Node #0,2,0 Current State: 51:[48, 3], Operations: ['43-34=9', '9/3=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 84, 17, 72, 16 ]
13
[ "84+17=101", "72+16=88", "101-88=13" ]
Current State: 13:[84, 17, 72, 16], Operations: [] Exploring Operation: 84+17=101, Resulting Numbers: [72, 16, 101] Generated Node #2: [72, 16, 101] from Operation: 84+17=101 Current State: 13:[72, 16, 101], Operations: ['84+17=101'] Exploring Operation: 72+16=88, Resulting Numbers: [101, 88] Generated Node #3: [101, 88] from Operation: 72+16=88 Current State: 13:[101, 88], Operations: ['84+17=101', '72+16=88'] Exploring Operation: 101-88=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[84, 17, 72, 16], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [17, 16, 12] Generated Node #0,0: 13:[17, 16, 12] Operation: 84-72=12 Exploring Operation: 84-17=67, Resulting Numbers: [72, 16, 67] Generated Node #0,1: 13:[72, 16, 67] Operation: 84-17=67 Exploring Operation: 72-17=55, Resulting Numbers: [84, 16, 55] Generated Node #0,2: 13:[84, 16, 55] Operation: 72-17=55 Moving to Node #0,0 Current State: 13:[17, 16, 12], Operations: ['84-72=12'] Exploring Operation: 17-16=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 13:[12, 1] Operation: 17-16=1 Exploring Operation: 17-12=5, Resulting Numbers: [16, 5] Generated Node #0,0,1: 13:[16, 5] Operation: 17-12=5 Exploring Operation: 16-12=4, Resulting Numbers: [17, 4] Generated Node #0,0,2: 13:[17, 4] Operation: 16-12=4 Moving to Node #0,1 Current State: 13:[72, 16, 67], Operations: ['84-17=67'] Exploring Operation: 67-16=51, Resulting Numbers: [72, 51] Generated Node #0,1,0: 13:[72, 51] Operation: 67-16=51 Exploring Operation: 72-16=56, Resulting Numbers: [67, 56] Generated Node #0,1,1: 13:[67, 56] Operation: 72-16=56 Exploring Operation: 72-67=5, Resulting Numbers: [16, 5] Generated Node #0,1,2: 13:[16, 5] Operation: 72-67=5 Moving to Node #0,2 Current State: 13:[84, 16, 55], Operations: ['72-17=55'] Exploring Operation: 84-55=29, Resulting Numbers: [16, 29] Generated Node #0,2,0: 13:[16, 29] Operation: 84-55=29 Exploring Operation: 84-16=68, Resulting Numbers: [55, 68] Generated Node #0,2,1: 13:[55, 68] Operation: 84-16=68 Exploring Operation: 55-16=39, Resulting Numbers: [84, 39] Generated Node #0,2,2: 13:[84, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[16, 29], Operations: ['72-17=55', '84-55=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[84, 17, 72, 16], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [84, 16, 55] Generated Node #0,2: 13:[84, 16, 55] Operation: 72-17=55 Moving to Node #0,2 Current State: 13:[84, 16, 55], Operations: ['72-17=55'] Exploring Operation: 84-55=29, Resulting Numbers: [16, 29] Generated Node #0,2,0: 13:[16, 29] Operation: 84-55=29 Moving to Node #0,2,0 Current State: 13:[16, 29], Operations: ['72-17=55', '84-55=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 18, 30, 18, 11 ]
41
[ "18+30=48", "18-11=7", "48-7=41" ]
Current State: 41:[18, 30, 18, 11], Operations: [] Exploring Operation: 18+30=48, Resulting Numbers: [11, 48] Generated Node #2: [11, 48] from Operation: 18+30=48 Current State: 41:[11, 48], Operations: ['18+30=48'] Exploring Operation: 18-11=7, Resulting Numbers: [48, 7] Generated Node #3: [48, 7] from Operation: 18-11=7 Current State: 41:[48, 7], Operations: ['18+30=48', '18-11=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[18, 30, 18, 11], Operations: [] Exploring Operation: 18+18=36, Resulting Numbers: [30, 11, 36] Generated Node #0,0: 41:[30, 11, 36] Operation: 18+18=36 Moving to Node #0,0 Current State: 41:[30, 11, 36], Operations: ['18+18=36'] Exploring Operation: 30+11=41, Resulting Numbers: [36, 41] Generated Node #0,0,0: 41:[36, 41] Operation: 30+11=41 Moving to Node #0,0,0 Current State: 41:[36, 41], Operations: ['18+18=36', '30+11=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,41 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 56, 3, 31 ]
43
[ "2+31=33", "3*33=99", "99-56=43" ]
Current State: 43:[2, 56, 3, 31], Operations: [] Exploring Operation: 2+31=33, Resulting Numbers: [56, 3, 33] Generated Node #2: [56, 3, 33] from Operation: 2+31=33 Current State: 43:[56, 3, 33], Operations: ['2+31=33'] Exploring Operation: 3*33=99, Resulting Numbers: [56, 99] Generated Node #3: [56, 99] from Operation: 3*33=99 Current State: 43:[56, 99], Operations: ['2+31=33', '3*33=99'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[2, 56, 3, 31], Operations: [] Exploring Operation: 56-2=54, Resulting Numbers: [3, 31, 54] Generated Node #0,0: 43:[3, 31, 54] Operation: 56-2=54 Exploring Operation: 2+31=33, Resulting Numbers: [56, 3, 33] Generated Node #0,1: 43:[56, 3, 33] Operation: 2+31=33 Exploring Operation: 56-3=53, Resulting Numbers: [2, 31, 53] Generated Node #0,2: 43:[2, 31, 53] Operation: 56-3=53 Exploring Operation: 2+3=5, Resulting Numbers: [56, 31, 5] Generated Node #0,3: 43:[56, 31, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [56, 31, 6] Generated Node #0,4: 43:[56, 31, 6] Operation: 2*3=6 Moving to Node #0,4 Current State: 43:[56, 31, 6], Operations: ['2*3=6'] Exploring Operation: 56-31=25, Resulting Numbers: [6, 25] Generated Node #0,4,0: 43:[6, 25] Operation: 56-31=25 Exploring Operation: 56+6=62, Resulting Numbers: [31, 62] Generated Node #0,4,1: 43:[31, 62] Operation: 56+6=62 Exploring Operation: 31+6=37, Resulting Numbers: [56, 37] Generated Node #0,4,2: 43:[56, 37] Operation: 31+6=37 Exploring Operation: 31-6=25, Resulting Numbers: [56, 25] Generated Node #0,4,3: 43:[56, 25] Operation: 31-6=25 Exploring Operation: 56-6=50, Resulting Numbers: [31, 50] Generated Node #0,4,4: 43:[31, 50] Operation: 56-6=50 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 43:[56, 37], Operations: ['2*3=6', '31+6=37'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,43 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 43:[31, 50], Operations: ['2*3=6', '56-6=50'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,43 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 43:[31, 62], Operations: ['2*3=6', '56+6=62'] Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,43 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 43:[56, 25], Operations: ['2*3=6', '31-6=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,43 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 43:[6, 25], Operations: ['2*3=6', '56-31=25'] Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,43 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,43 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: 43:[56, 3, 33], Operations: ['2+31=33'] Exploring Operation: 3+33=36, Resulting Numbers: [56, 36] Generated Node #0,1,0: 43:[56, 36] Operation: 3+33=36 Exploring Operation: 56+3=59, Resulting Numbers: [33, 59] Generated Node #0,1,1: 43:[33, 59] Operation: 56+3=59 Exploring Operation: 33/3=11, Resulting Numbers: [56, 11] Generated Node #0,1,2: 43:[56, 11] Operation: 33/3=11 Exploring Operation: 33-3=30, Resulting Numbers: [56, 30] Generated Node #0,1,3: 43:[56, 30] Operation: 33-3=30 Exploring Operation: 56-3=53, Resulting Numbers: [33, 53] Generated Node #0,1,4: 43:[33, 53] Operation: 56-3=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[56, 36], Operations: ['2+31=33', '3+33=36'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 56*36=2016, Resulting Numbers: [2016] 2016,43 unequal: No Solution Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 43:[33, 53], Operations: ['2+31=33', '56-3=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,43 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[33, 59], Operations: ['2+31=33', '56+3=59'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,43 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[56, 30], Operations: ['2+31=33', '33-3=30'] Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,43 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[56, 11], Operations: ['2+31=33', '33/3=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,43 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,43 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: 43:[56, 31, 5], Operations: ['2+3=5'] Exploring Operation: 31-5=26, Resulting Numbers: [56, 26] Generated Node #0,3,0: 43:[56, 26] Operation: 31-5=26 Exploring Operation: 31+5=36, Resulting Numbers: [56, 36] Generated Node #0,3,1: 43:[56, 36] Operation: 31+5=36 Exploring Operation: 56-5=51, Resulting Numbers: [31, 51] Generated Node #0,3,2: 43:[31, 51] Operation: 56-5=51 Exploring Operation: 56-31=25, Resulting Numbers: [5, 25] Generated Node #0,3,3: 43:[5, 25] Operation: 56-31=25 Exploring Operation: 56+5=61, Resulting Numbers: [31, 61] Generated Node #0,3,4: 43:[31, 61] Operation: 56+5=61 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[56, 36], Operations: ['2+3=5', '31+5=36'] Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 56*36=2016, Resulting Numbers: [2016] 2016,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[31, 51], Operations: ['2+3=5', '56-5=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,43 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[56, 26], Operations: ['2+3=5', '31-5=26'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 43:[31, 61], Operations: ['2+3=5', '56+5=61'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,43 unequal: No Solution Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[5, 25], Operations: ['2+3=5', '56-31=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,43 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: 43:[3, 31, 54], Operations: ['56-2=54'] Exploring Operation: 3+54=57, Resulting Numbers: [31, 57] Generated Node #0,0,0: 43:[31, 57] Operation: 3+54=57 Exploring Operation: 31-3=28, Resulting Numbers: [54, 28] Generated Node #0,0,1: 43:[54, 28] Operation: 31-3=28 Exploring Operation: 3+31=34, Resulting Numbers: [54, 34] Generated Node #0,0,2: 43:[54, 34] Operation: 3+31=34 Exploring Operation: 54-3=51, Resulting Numbers: [31, 51] Generated Node #0,0,3: 43:[31, 51] Operation: 54-3=51 Exploring Operation: 54/3=18, Resulting Numbers: [31, 18] Generated Node #0,0,4: 43:[31, 18] Operation: 54/3=18 Moving to Node #0,2 Current State: 43:[2, 31, 53], Operations: ['56-3=53'] Exploring Operation: 2*31=62, Resulting Numbers: [53, 62] Generated Node #0,2,0: 43:[53, 62] Operation: 2*31=62 Exploring Operation: 31-2=29, Resulting Numbers: [53, 29] Generated Node #0,2,1: 43:[53, 29] Operation: 31-2=29 Exploring Operation: 2+31=33, Resulting Numbers: [53, 33] Generated Node #0,2,2: 43:[53, 33] Operation: 2+31=33 Exploring Operation: 2+53=55, Resulting Numbers: [31, 55] Generated Node #0,2,3: 43:[31, 55] Operation: 2+53=55 Exploring Operation: 53-2=51, Resulting Numbers: [31, 51] Generated Node #0,2,4: 43:[31, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[53, 33], Operations: ['56-3=53', '2+31=33'] Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,43 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 43:[31, 51], Operations: ['56-3=53', '53-2=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,43 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[53, 29], Operations: ['56-3=53', '31-2=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[31, 55], Operations: ['56-3=53', '2+53=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,43 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[53, 62], Operations: ['56-3=53', '2*31=62'] Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,43 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 43:[54, 34], Operations: ['56-2=54', '3+31=34'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,43 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[31, 51], Operations: ['56-2=54', '54-3=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,43 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[31, 57], Operations: ['56-2=54', '3+54=57'] Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[54, 28], Operations: ['56-2=54', '31-3=28'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[31, 18], Operations: ['56-2=54', '54/3=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,43 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,43 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 29, 13, 66, 52 ]
29
[ "66-13=53", "53-52=1", "29*1=29" ]
Current State: 29:[29, 13, 66, 52], Operations: [] Exploring Operation: 66-13=53, Resulting Numbers: [29, 52, 53] Generated Node #2: [29, 52, 53] from Operation: 66-13=53 Current State: 29:[29, 52, 53], Operations: ['66-13=53'] Exploring Operation: 53-52=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 53-52=1 Current State: 29:[29, 1], Operations: ['66-13=53', '53-52=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[29, 13, 66, 52], Operations: [] Exploring Operation: 66-29=37, Resulting Numbers: [13, 52, 37] Generated Node #0,0: 29:[13, 52, 37] Operation: 66-29=37 Exploring Operation: 66-13=53, Resulting Numbers: [29, 52, 53] Generated Node #0,1: 29:[29, 52, 53] Operation: 66-13=53 Exploring Operation: 66-52=14, Resulting Numbers: [29, 13, 14] Generated Node #0,2: 29:[29, 13, 14] Operation: 66-52=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[29, 13, 14], Operations: ['66-52=14'] Exploring Operation: 29-13=16, Resulting Numbers: [14, 16] Generated Node #0,2,0: 29:[14, 16] Operation: 29-13=16 Exploring Operation: 13+14=27, Resulting Numbers: [29, 27] Generated Node #0,2,1: 29:[29, 27] Operation: 13+14=27 Exploring Operation: 29+13=42, Resulting Numbers: [14, 42] Generated Node #0,2,2: 29:[14, 42] Operation: 29+13=42 Moving to Node #0,2,1 Current State: 29:[29, 27], Operations: ['66-52=14', '13+14=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 29*27=783, Resulting Numbers: [783] 783,29 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[14, 16], Operations: ['66-52=14', '29-13=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,29 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[14, 42], Operations: ['66-52=14', '29+13=42'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,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,0 Current State: 29:[13, 52, 37], Operations: ['66-29=37'] Exploring Operation: 52-13=39, Resulting Numbers: [37, 39] Generated Node #0,0,0: 29:[37, 39] Operation: 52-13=39 Exploring Operation: 52-37=15, Resulting Numbers: [13, 15] Generated Node #0,0,1: 29:[13, 15] Operation: 52-37=15 Exploring Operation: 37-13=24, Resulting Numbers: [52, 24] Generated Node #0,0,2: 29:[52, 24] Operation: 37-13=24 Moving to Node #0,0,0 Current State: 29:[37, 39], Operations: ['66-29=37', '52-13=39'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 37*39=1443, Resulting Numbers: [1443] 1443,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[52, 24], Operations: ['66-29=37', '37-13=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[13, 15], Operations: ['66-29=37', '52-37=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,29 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,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 Current State: 29:[29, 52, 53], Operations: ['66-13=53'] Exploring Operation: 53-29=24, Resulting Numbers: [52, 24] Generated Node #0,1,0: 29:[52, 24] Operation: 53-29=24 Exploring Operation: 52-29=23, Resulting Numbers: [53, 23] Generated Node #0,1,1: 29:[53, 23] Operation: 52-29=23 Exploring Operation: 53-52=1, Resulting Numbers: [29, 1] Generated Node #0,1,2: 29:[29, 1] Operation: 53-52=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[52, 24], Operations: ['66-13=53', '53-29=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[29, 1], Operations: ['66-13=53', '53-52=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[29, 13, 66, 52], Operations: [] Exploring Operation: 66-13=53, Resulting Numbers: [29, 52, 53] Generated Node #0,1: 29:[29, 52, 53] Operation: 66-13=53 Moving to Node #0,1 Current State: 29:[29, 52, 53], Operations: ['66-13=53'] Exploring Operation: 53-52=1, Resulting Numbers: [29, 1] Generated Node #0,1,2: 29:[29, 1] Operation: 53-52=1 Moving to Node #0,1,2 Current State: 29:[29, 1], Operations: ['66-13=53', '53-52=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_3
mult_heuristic
[ 30, 86, 99, 39 ]
10
[ "99-86=13", "30*13=390", "390/39=10" ]
Current State: 10:[30, 86, 99, 39], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [30, 39, 13] Generated Node #2: [30, 39, 13] from Operation: 99-86=13 Current State: 10:[30, 39, 13], Operations: ['99-86=13'] Exploring Operation: 30*13=390, Resulting Numbers: [39, 390] Generated Node #3: [39, 390] from Operation: 30*13=390 Current State: 10:[39, 390], Operations: ['99-86=13', '30*13=390'] Exploring Operation: 390/39=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[30, 86, 99, 39], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [86, 39, 69] Generated Node #0,0: 10:[86, 39, 69] Operation: 99-30=69 Exploring Operation: 86-30=56, Resulting Numbers: [99, 39, 56] Generated Node #0,1: 10:[99, 39, 56] Operation: 86-30=56 Exploring Operation: 99-86=13, Resulting Numbers: [30, 39, 13] Generated Node #0,2: 10:[30, 39, 13] Operation: 99-86=13 Exploring Operation: 99-39=60, Resulting Numbers: [30, 86, 60] Generated Node #0,3: 10:[30, 86, 60] Operation: 99-39=60 Exploring Operation: 86-39=47, Resulting Numbers: [30, 99, 47] Generated Node #0,4: 10:[30, 99, 47] Operation: 86-39=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[30, 39, 13], Operations: ['99-86=13'] Exploring Operation: 39-30=9, Resulting Numbers: [13, 9] Generated Node #0,2,0: 10:[13, 9] Operation: 39-30=9 Exploring Operation: 30+39=69, Resulting Numbers: [13, 69] Generated Node #0,2,1: 10:[13, 69] Operation: 30+39=69 Exploring Operation: 39/13=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 10:[30, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [30, 26] Generated Node #0,2,3: 10:[30, 26] Operation: 39-13=26 Exploring Operation: 30-13=17, Resulting Numbers: [39, 17] Generated Node #0,2,4: 10:[39, 17] Operation: 30-13=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[13, 9], Operations: ['99-86=13', '39-30=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[30, 3], Operations: ['99-86=13', '39/13=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[30, 86, 99, 39], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [30, 39, 13] Generated Node #0,2: 10:[30, 39, 13] Operation: 99-86=13 Moving to Node #0,2 Current State: 10:[30, 39, 13], Operations: ['99-86=13'] Exploring Operation: 39/13=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 10:[30, 3] Operation: 39/13=3 Moving to Node #0,2,2 Current State: 10:[30, 3], Operations: ['99-86=13', '39/13=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 96, 13, 80, 27 ]
48
[ "13+27=40", "96*40=3840", "3840/80=48" ]
Current State: 48:[96, 13, 80, 27], Operations: [] Exploring Operation: 13+27=40, Resulting Numbers: [96, 80, 40] Generated Node #2: [96, 80, 40] from Operation: 13+27=40 Current State: 48:[96, 80, 40], Operations: ['13+27=40'] Exploring Operation: 96*40=3840, Resulting Numbers: [80, 3840] Generated Node #3: [80, 3840] from Operation: 96*40=3840 Current State: 48:[80, 3840], Operations: ['13+27=40', '96*40=3840'] Exploring Operation: 3840/80=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[96, 13, 80, 27], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [13, 27, 16] Generated Node #0,0: 48:[13, 27, 16] Operation: 96-80=16 Exploring Operation: 96-27=69, Resulting Numbers: [13, 80, 69] Generated Node #0,1: 48:[13, 80, 69] Operation: 96-27=69 Moving to Node #0,0 Current State: 48:[13, 27, 16], Operations: ['96-80=16'] Exploring Operation: 27-16=11, Resulting Numbers: [13, 11] Generated Node #0,0,0: 48:[13, 11] Operation: 27-16=11 Exploring Operation: 27-13=14, Resulting Numbers: [16, 14] Generated Node #0,0,1: 48:[16, 14] Operation: 27-13=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[13, 11], Operations: ['96-80=16', '27-16=11'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,48 unequal: No Solution No 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: 48:[16, 14], Operations: ['96-80=16', '27-13=14'] Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,48 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: 48:[13, 80, 69], Operations: ['96-27=69'] Exploring Operation: 80-69=11, Resulting Numbers: [13, 11] Generated Node #0,1,0: 48:[13, 11] Operation: 80-69=11 Exploring Operation: 80-13=67, Resulting Numbers: [69, 67] Generated Node #0,1,1: 48:[69, 67] Operation: 80-13=67 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[13, 11], Operations: ['96-27=69', '80-69=11'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,48 unequal: No Solution No 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: 48:[69, 67], Operations: ['96-27=69', '80-13=67'] Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 69+67=136, Resulting Numbers: [136] 136,48 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
[ 55, 3, 40, 59 ]
64
[ "55-40=15", "15/3=5", "59+5=64" ]
Current State: 64:[55, 3, 40, 59], Operations: [] Exploring Operation: 55-40=15, Resulting Numbers: [3, 59, 15] Generated Node #2: [3, 59, 15] from Operation: 55-40=15 Current State: 64:[3, 59, 15], Operations: ['55-40=15'] Exploring Operation: 15/3=5, Resulting Numbers: [59, 5] Generated Node #3: [59, 5] from Operation: 15/3=5 Current State: 64:[59, 5], Operations: ['55-40=15', '15/3=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[55, 3, 40, 59], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [55, 3, 19] Generated Node #0,0: 64:[55, 3, 19] Operation: 59-40=19 Exploring Operation: 59-55=4, Resulting Numbers: [3, 40, 4] Generated Node #0,1: 64:[3, 40, 4] Operation: 59-55=4 Exploring Operation: 55-40=15, Resulting Numbers: [3, 59, 15] Generated Node #0,2: 64:[3, 59, 15] Operation: 55-40=15 Exploring Operation: 55+3=58, Resulting Numbers: [40, 59, 58] Generated Node #0,3: 64:[40, 59, 58] Operation: 55+3=58 Moving to Node #0,2 Current State: 64:[3, 59, 15], Operations: ['55-40=15'] Exploring Operation: 59-3=56, Resulting Numbers: [15, 56] Generated Node #0,2,0: 64:[15, 56] Operation: 59-3=56 Exploring Operation: 15/3=5, Resulting Numbers: [59, 5] Generated Node #0,2,1: 64:[59, 5] Operation: 15/3=5 Exploring Operation: 3+15=18, Resulting Numbers: [59, 18] Generated Node #0,2,2: 64:[59, 18] Operation: 3+15=18 Exploring Operation: 3+59=62, Resulting Numbers: [15, 62] Generated Node #0,2,3: 64:[15, 62] Operation: 3+59=62 Moving to Node #0,1 Current State: 64:[3, 40, 4], Operations: ['59-55=4'] Exploring Operation: 3+4=7, Resulting Numbers: [40, 7] Generated Node #0,1,0: 64:[40, 7] Operation: 3+4=7 Exploring Operation: 40/4=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 64:[3, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [3, 36] Generated Node #0,1,2: 64:[3, 36] Operation: 40-4=36 Exploring Operation: 40-3=37, Resulting Numbers: [4, 37] Generated Node #0,1,3: 64:[4, 37] Operation: 40-3=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[3, 10], Operations: ['59-55=4', '40/4=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,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,1,2 Current State: 64:[3, 36], Operations: ['59-55=4', '40-4=36'] Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,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,1,3 Current State: 64:[4, 37], Operations: ['59-55=4', '40-3=37'] Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,64 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,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,1,0 Current State: 64:[40, 7], Operations: ['59-55=4', '3+4=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,64 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,64 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: 64:[55, 3, 19], Operations: ['59-40=19'] Exploring Operation: 55-19=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 64:[3, 36] Operation: 55-19=36 Exploring Operation: 19-3=16, Resulting Numbers: [55, 16] Generated Node #0,0,1: 64:[55, 16] Operation: 19-3=16 Exploring Operation: 55+3=58, Resulting Numbers: [19, 58] Generated Node #0,0,2: 64:[19, 58] Operation: 55+3=58 Exploring Operation: 55+19=74, Resulting Numbers: [3, 74] Generated Node #0,0,3: 64:[3, 74] Operation: 55+19=74 Moving to Node #0,3 Current State: 64:[40, 59, 58], Operations: ['55+3=58'] Exploring Operation: 58-40=18, Resulting Numbers: [59, 18] Generated Node #0,3,0: 64:[59, 18] Operation: 58-40=18 Exploring Operation: 40+58=98, Resulting Numbers: [59, 98] Generated Node #0,3,1: 64:[59, 98] Operation: 40+58=98 Exploring Operation: 59-40=19, Resulting Numbers: [58, 19] Generated Node #0,3,2: 64:[58, 19] Operation: 59-40=19 Exploring Operation: 59-58=1, Resulting Numbers: [40, 1] Generated Node #0,3,3: 64:[40, 1] Operation: 59-58=1 Moving to Node #0,2,3 Current State: 64:[15, 62], Operations: ['55-40=15', '3+59=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,64 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[3, 36], Operations: ['59-40=19', '55-19=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[59, 5], Operations: ['55-40=15', '15/3=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[55, 3, 40, 59], Operations: [] Exploring Operation: 55-40=15, Resulting Numbers: [3, 59, 15] Generated Node #0,2: 64:[3, 59, 15] Operation: 55-40=15 Moving to Node #0,2 Current State: 64:[3, 59, 15], Operations: ['55-40=15'] Exploring Operation: 15/3=5, Resulting Numbers: [59, 5] Generated Node #0,2,1: 64:[59, 5] Operation: 15/3=5 Moving to Node #0,2,1 Current State: 64:[59, 5], Operations: ['55-40=15', '15/3=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.960069
hs_4
mult_heuristic
[ 89, 79, 74, 59 ]
25
[ "89-79=10", "74-59=15", "10+15=25" ]
Current State: 25:[89, 79, 74, 59], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [74, 59, 10] Generated Node #2: [74, 59, 10] from Operation: 89-79=10 Current State: 25:[74, 59, 10], Operations: ['89-79=10'] Exploring Operation: 74-59=15, Resulting Numbers: [10, 15] Generated Node #3: [10, 15] from Operation: 74-59=15 Current State: 25:[10, 15], Operations: ['89-79=10', '74-59=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[89, 79, 74, 59], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [74, 59, 10] Generated Node #0,0: 25:[74, 59, 10] Operation: 89-79=10 Exploring Operation: 79-74=5, Resulting Numbers: [89, 59, 5] Generated Node #0,1: 25:[89, 59, 5] Operation: 79-74=5 Exploring Operation: 89-59=30, Resulting Numbers: [79, 74, 30] Generated Node #0,2: 25:[79, 74, 30] Operation: 89-59=30 Exploring Operation: 89-74=15, Resulting Numbers: [79, 59, 15] Generated Node #0,3: 25:[79, 59, 15] Operation: 89-74=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[74, 59, 10], Operations: ['89-79=10'] Exploring Operation: 74+10=84, Resulting Numbers: [59, 84] Generated Node #0,0,0: 25:[59, 84] Operation: 74+10=84 Exploring Operation: 59-10=49, Resulting Numbers: [74, 49] Generated Node #0,0,1: 25:[74, 49] Operation: 59-10=49 Exploring Operation: 74-59=15, Resulting Numbers: [10, 15] Generated Node #0,0,2: 25:[10, 15] Operation: 74-59=15 Exploring Operation: 74-10=64, Resulting Numbers: [59, 64] Generated Node #0,0,3: 25:[59, 64] Operation: 74-10=64 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[10, 15], Operations: ['89-79=10', '74-59=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[89, 79, 74, 59], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [74, 59, 10] Generated Node #0,0: 25:[74, 59, 10] Operation: 89-79=10 Moving to Node #0,0 Current State: 25:[74, 59, 10], Operations: ['89-79=10'] Exploring Operation: 74-59=15, Resulting Numbers: [10, 15] Generated Node #0,0,2: 25:[10, 15] Operation: 74-59=15 Moving to Node #0,0,2 Current State: 25:[10, 15], Operations: ['89-79=10', '74-59=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 17, 81, 3, 95 ]
85
[ "17+95=112", "81/3=27", "112-27=85" ]
Current State: 85:[17, 81, 3, 95], Operations: [] Exploring Operation: 17+95=112, Resulting Numbers: [81, 3, 112] Generated Node #2: [81, 3, 112] from Operation: 17+95=112 Current State: 85:[81, 3, 112], Operations: ['17+95=112'] Exploring Operation: 81/3=27, Resulting Numbers: [112, 27] Generated Node #3: [112, 27] from Operation: 81/3=27 Current State: 85:[112, 27], Operations: ['17+95=112', '81/3=27'] Exploring Operation: 112-27=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[17, 81, 3, 95], Operations: [] Exploring Operation: 95-3=92, Resulting Numbers: [17, 81, 92] Generated Node #0,0: 85:[17, 81, 92] Operation: 95-3=92 Exploring Operation: 81+3=84, Resulting Numbers: [17, 95, 84] Generated Node #0,1: 85:[17, 95, 84] Operation: 81+3=84 Exploring Operation: 95-81=14, Resulting Numbers: [17, 3, 14] Generated Node #0,2: 85:[17, 3, 14] Operation: 95-81=14 Exploring Operation: 17+3=20, Resulting Numbers: [81, 95, 20] Generated Node #0,3: 85:[81, 95, 20] Operation: 17+3=20 Exploring Operation: 95-17=78, Resulting Numbers: [81, 3, 78] Generated Node #0,4: 85:[81, 3, 78] Operation: 95-17=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[17, 3, 14], Operations: ['95-81=14'] Exploring Operation: 17-3=14, Resulting Numbers: [14, 14] Generated Node #0,2,0: 85:[14, 14] Operation: 17-3=14 Exploring Operation: 17-14=3, Resulting Numbers: [3, 3] Generated Node #0,2,1: 85:[3, 3] Operation: 17-14=3 Exploring Operation: 3+14=17, Resulting Numbers: [17, 17] Generated Node #0,2,2: 85:[17, 17] Operation: 3+14=17 Exploring Operation: 17+3=20, Resulting Numbers: [14, 20] Generated Node #0,2,3: 85:[14, 20] Operation: 17+3=20 Exploring Operation: 14-3=11, Resulting Numbers: [17, 11] Generated Node #0,2,4: 85:[17, 11] Operation: 14-3=11 Moving to Node #0,2,2 Current State: 85:[17, 17], Operations: ['95-81=14', '3+14=17'] Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,85 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[3, 3], Operations: ['95-81=14', '17-14=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[14, 14], Operations: ['95-81=14', '17-3=14'] Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 14*14=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[14, 20], Operations: ['95-81=14', '17+3=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,85 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,85 unequal: No Solution Moving to Node #0,2,4 Current State: 85:[17, 11], Operations: ['95-81=14', '14-3=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,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:[17, 81, 92], Operations: ['95-3=92'] Exploring Operation: 92-81=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 85:[17, 11] Operation: 92-81=11 Exploring Operation: 81-17=64, Resulting Numbers: [92, 64] Generated Node #0,0,1: 85:[92, 64] Operation: 81-17=64 Exploring Operation: 17+92=109, Resulting Numbers: [81, 109] Generated Node #0,0,2: 85:[81, 109] Operation: 17+92=109 Exploring Operation: 92-17=75, Resulting Numbers: [81, 75] Generated Node #0,0,3: 85:[81, 75] Operation: 92-17=75 Exploring Operation: 17+81=98, Resulting Numbers: [92, 98] Generated Node #0,0,4: 85:[92, 98] Operation: 17+81=98 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[17, 11], Operations: ['95-3=92', '92-81=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,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:[81, 75], Operations: ['95-3=92', '92-17=75'] Exploring Operation: 81*75=6075, Resulting Numbers: [6075] 6075,85 unequal: No Solution Exploring Operation: 81+75=156, Resulting Numbers: [156] 156,85 unequal: No Solution Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,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:[92, 98], Operations: ['95-3=92', '17+81=98'] Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 92*98=9016, Resulting Numbers: [9016] 9016,85 unequal: No Solution Exploring Operation: 92+98=190, Resulting Numbers: [190] 190,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:[92, 64], Operations: ['95-3=92', '81-17=64'] Exploring Operation: 92+64=156, Resulting Numbers: [156] 156,85 unequal: No Solution Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 92*64=5888, Resulting Numbers: [5888] 5888,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,2 Current State: 85:[81, 109], Operations: ['95-3=92', '17+92=109'] Exploring Operation: 81*109=8829, Resulting Numbers: [8829] 8829,85 unequal: No Solution Exploring Operation: 81+109=190, Resulting Numbers: [190] 190,85 unequal: No Solution Exploring Operation: 109-81=28, Resulting Numbers: [28] 28,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:[17, 95, 84], Operations: ['81+3=84'] Exploring Operation: 95-84=11, Resulting Numbers: [17, 11] Generated Node #0,1,0: 85:[17, 11] Operation: 95-84=11 Exploring Operation: 17+95=112, Resulting Numbers: [84, 112] Generated Node #0,1,1: 85:[84, 112] Operation: 17+95=112 Exploring Operation: 95-17=78, Resulting Numbers: [84, 78] Generated Node #0,1,2: 85:[84, 78] Operation: 95-17=78 Exploring Operation: 84-17=67, Resulting Numbers: [95, 67] Generated Node #0,1,3: 85:[95, 67] Operation: 84-17=67 Exploring Operation: 17+84=101, Resulting Numbers: [95, 101] Generated Node #0,1,4: 85:[95, 101] Operation: 17+84=101 Moving to Node #0,1,0 Current State: 85:[17, 11], Operations: ['81+3=84', '95-84=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[84, 78], Operations: ['81+3=84', '95-17=78'] Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,85 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,85 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[95, 101], Operations: ['81+3=84', '17+84=101'] Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,85 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[84, 112], Operations: ['81+3=84', '17+95=112'] Exploring Operation: 84*112=9408, Resulting Numbers: [9408] 9408,85 unequal: No Solution Exploring Operation: 84+112=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 112-84=28, Resulting Numbers: [28] 28,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[95, 67], Operations: ['81+3=84', '84-17=67'] Exploring Operation: 95+67=162, Resulting Numbers: [162] 162,85 unequal: No Solution Exploring Operation: 95*67=6365, Resulting Numbers: [6365] 6365,85 unequal: No Solution Exploring Operation: 95-67=28, Resulting Numbers: [28] 28,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,4 Current State: 85:[81, 3, 78], Operations: ['95-17=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81, 81] Generated Node #0,4,0: 85:[81, 81] Operation: 3+78=81 Exploring Operation: 81-3=78, Resulting Numbers: [78, 78] Generated Node #0,4,1: 85:[78, 78] Operation: 81-3=78 Exploring Operation: 81-78=3, Resulting Numbers: [3, 3] Generated Node #0,4,2: 85:[3, 3] Operation: 81-78=3 Exploring Operation: 81+3=84, Resulting Numbers: [78, 84] Generated Node #0,4,3: 85:[78, 84] Operation: 81+3=84 Exploring Operation: 78/3=26, Resulting Numbers: [81, 26] Generated Node #0,4,4: 85:[81, 26] Operation: 78/3=26 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 85:[3, 3], Operations: ['95-17=78', '81-78=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,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,0 Current State: 85:[81, 81], Operations: ['95-17=78', '3+78=81'] Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,85 unequal: No Solution Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,85 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,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:[78, 84], Operations: ['95-17=78', '81+3=84'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,85 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,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:[81, 26], Operations: ['95-17=78', '78/3=26'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,85 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,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:[78, 78], Operations: ['95-17=78', '81-3=78'] Exploring Operation: 78+78=156, Resulting Numbers: [156] 156,85 unequal: No Solution Exploring Operation: 78*78=6084, Resulting Numbers: [6084] 6084,85 unequal: No Solution Exploring Operation: 78/78=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 78-78=0, Resulting Numbers: [0] 0,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:[81, 95, 20], Operations: ['17+3=20'] Exploring Operation: 95-20=75, Resulting Numbers: [81, 75] Generated Node #0,3,0: 85:[81, 75] Operation: 95-20=75 Exploring Operation: 95+20=115, Resulting Numbers: [81, 115] Generated Node #0,3,1: 85:[81, 115] Operation: 95+20=115 Exploring Operation: 81+20=101, Resulting Numbers: [95, 101] Generated Node #0,3,2: 85:[95, 101] Operation: 81+20=101 Exploring Operation: 95-81=14, Resulting Numbers: [20, 14] Generated Node #0,3,3: 85:[20, 14] Operation: 95-81=14 Exploring Operation: 81-20=61, Resulting Numbers: [95, 61] Generated Node #0,3,4: 85:[95, 61] Operation: 81-20=61 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 85:[20, 14], Operations: ['17+3=20', '95-81=14'] Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,85 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,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,3,0 Current State: 85:[81, 75], Operations: ['17+3=20', '95-20=75'] Exploring Operation: 81*75=6075, Resulting Numbers: [6075] 6075,85 unequal: No Solution Exploring Operation: 81+75=156, Resulting Numbers: [156] 156,85 unequal: No Solution Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,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,3,2 Current State: 85:[95, 101], Operations: ['17+3=20', '81+20=101'] Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,85 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,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,3,1 Current State: 85:[81, 115], Operations: ['17+3=20', '95+20=115'] Exploring Operation: 115-81=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 81+115=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 81*115=9315, Resulting Numbers: [9315] 9315,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,3,4 Current State: 85:[95, 61], Operations: ['17+3=20', '81-20=61'] Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,85 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,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 No solution found.
0
hs_5
sum_heuristic
[ 67, 90, 69, 42 ]
50
[ "90-67=23", "69-42=27", "23+27=50" ]
Current State: 50:[67, 90, 69, 42], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [69, 42, 23] Generated Node #2: [69, 42, 23] from Operation: 90-67=23 Current State: 50:[69, 42, 23], Operations: ['90-67=23'] Exploring Operation: 69-42=27, Resulting Numbers: [23, 27] Generated Node #3: [23, 27] from Operation: 69-42=27 Current State: 50:[23, 27], Operations: ['90-67=23', '69-42=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[67, 90, 69, 42], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [69, 42, 23] Generated Node #0,0: 50:[69, 42, 23] Operation: 90-67=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[69, 42, 23], Operations: ['90-67=23'] Exploring Operation: 69-42=27, Resulting Numbers: [23, 27] Generated Node #0,0,0: 50:[23, 27] Operation: 69-42=27 Moving to Node #0,0,0 Current State: 50:[23, 27], Operations: ['90-67=23', '69-42=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[67, 90, 69, 42], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [69, 42, 23] Generated Node #0,0: 50:[69, 42, 23] Operation: 90-67=23 Moving to Node #0,0 Current State: 50:[69, 42, 23], Operations: ['90-67=23'] Exploring Operation: 69-42=27, Resulting Numbers: [23, 27] Generated Node #0,0,0: 50:[23, 27] Operation: 69-42=27 Moving to Node #0,0,0 Current State: 50:[23, 27], Operations: ['90-67=23', '69-42=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 47, 25, 75, 93 ]
96
[ "47+25=72", "75+93=168", "168-72=96" ]
Current State: 96:[47, 25, 75, 93], Operations: [] Exploring Operation: 47+25=72, Resulting Numbers: [75, 93, 72] Generated Node #2: [75, 93, 72] from Operation: 47+25=72 Current State: 96:[75, 93, 72], Operations: ['47+25=72'] Exploring Operation: 75+93=168, Resulting Numbers: [72, 168] Generated Node #3: [72, 168] from Operation: 75+93=168 Current State: 96:[72, 168], Operations: ['47+25=72', '75+93=168'] Exploring Operation: 168-72=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[47, 25, 75, 93], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [47, 25, 18] Generated Node #0,0: 96:[47, 25, 18] Operation: 93-75=18 Exploring Operation: 75/25=3, Resulting Numbers: [47, 93, 3] Generated Node #0,1: 96:[47, 93, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[47, 25, 18], Operations: ['93-75=18'] Exploring Operation: 47-25=22, Resulting Numbers: [18, 22] Generated Node #0,0,0: 96:[18, 22] Operation: 47-25=22 Exploring Operation: 25-18=7, Resulting Numbers: [47, 7] Generated Node #0,0,1: 96:[47, 7] Operation: 25-18=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[47, 7], Operations: ['93-75=18', '25-18=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[18, 22], Operations: ['93-75=18', '47-25=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[47, 93, 3], Operations: ['75/25=3'] Exploring Operation: 93+3=96, Resulting Numbers: [47, 96] Generated Node #0,1,0: 96:[47, 96] Operation: 93+3=96 Exploring Operation: 93-47=46, Resulting Numbers: [3, 46] Generated Node #0,1,1: 96:[3, 46] Operation: 93-47=46 Moving to Node #0,1,0 Current State: 96:[47, 96], Operations: ['75/25=3', '93+3=96'] Exploring Operation: 47+96=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[3, 46], Operations: ['75/25=3', '93-47=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 3, 57, 55, 16 ]
29
[ "57-55=2", "16*2=32", "32-3=29" ]
Current State: 29:[3, 57, 55, 16], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [3, 16, 2] Generated Node #2: [3, 16, 2] from Operation: 57-55=2 Current State: 29:[3, 16, 2], Operations: ['57-55=2'] Exploring Operation: 16*2=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 16*2=32 Current State: 29:[3, 32], Operations: ['57-55=2', '16*2=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 57, 55, 16], Operations: [] Exploring Operation: 55-3=52, Resulting Numbers: [57, 16, 52] Generated Node #0,0: 29:[57, 16, 52] Operation: 55-3=52 Exploring Operation: 57-3=54, Resulting Numbers: [55, 16, 54] Generated Node #0,1: 29:[55, 16, 54] Operation: 57-3=54 Exploring Operation: 3+16=19, Resulting Numbers: [57, 55, 19] Generated Node #0,2: 29:[57, 55, 19] Operation: 3+16=19 Exploring Operation: 57/3=19, Resulting Numbers: [55, 16, 19] Generated Node #0,3: 29:[55, 16, 19] Operation: 57/3=19 Exploring Operation: 57-16=41, Resulting Numbers: [3, 55, 41] Generated Node #0,4: 29:[3, 55, 41] Operation: 57-16=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[55, 16, 19], Operations: ['57/3=19'] Exploring Operation: 19-16=3, Resulting Numbers: [55, 3] Generated Node #0,3,0: 29:[55, 3] Operation: 19-16=3 Exploring Operation: 55-16=39, Resulting Numbers: [19, 39] Generated Node #0,3,1: 29:[19, 39] Operation: 55-16=39 Exploring Operation: 55+16=71, Resulting Numbers: [19, 71] Generated Node #0,3,2: 29:[19, 71] Operation: 55+16=71 Exploring Operation: 55-19=36, Resulting Numbers: [16, 36] Generated Node #0,3,3: 29:[16, 36] Operation: 55-19=36 Exploring Operation: 16+19=35, Resulting Numbers: [55, 35] Generated Node #0,3,4: 29:[55, 35] Operation: 16+19=35 Moving to Node #0,3,1 Current State: 29:[19, 39], Operations: ['57/3=19', '55-16=39'] Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,29 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[16, 36], Operations: ['57/3=19', '55-19=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,29 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[55, 35], Operations: ['57/3=19', '16+19=35'] Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,29 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[55, 3], Operations: ['57/3=19', '19-16=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,29 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[19, 71], Operations: ['57/3=19', '55+16=71'] Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,29 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,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,0 Current State: 29:[57, 16, 52], Operations: ['55-3=52'] Exploring Operation: 57-16=41, Resulting Numbers: [52, 41] Generated Node #0,0,0: 29:[52, 41] Operation: 57-16=41 Exploring Operation: 57-52=5, Resulting Numbers: [16, 5] Generated Node #0,0,1: 29:[16, 5] Operation: 57-52=5 Exploring Operation: 16+52=68, Resulting Numbers: [57, 68] Generated Node #0,0,2: 29:[57, 68] Operation: 16+52=68 Exploring Operation: 57+16=73, Resulting Numbers: [52, 73] Generated Node #0,0,3: 29:[52, 73] Operation: 57+16=73 Exploring Operation: 52-16=36, Resulting Numbers: [57, 36] Generated Node #0,0,4: 29:[57, 36] Operation: 52-16=36 Moving to Node #0,0,0 Current State: 29:[52, 41], Operations: ['55-3=52', '57-16=41'] Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,29 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[57, 36], Operations: ['55-3=52', '52-16=36'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,29 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[16, 5], Operations: ['55-3=52', '57-52=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[57, 68], Operations: ['55-3=52', '16+52=68'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,29 unequal: No Solution Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[52, 73], Operations: ['55-3=52', '57+16=73'] Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,29 unequal: No Solution Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,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 Current State: 29:[55, 16, 54], Operations: ['57-3=54'] Exploring Operation: 54-16=38, Resulting Numbers: [55, 38] Generated Node #0,1,0: 29:[55, 38] Operation: 54-16=38 Exploring Operation: 55-54=1, Resulting Numbers: [16, 1] Generated Node #0,1,1: 29:[16, 1] Operation: 55-54=1 Exploring Operation: 55+16=71, Resulting Numbers: [54, 71] Generated Node #0,1,2: 29:[54, 71] Operation: 55+16=71 Exploring Operation: 55-16=39, Resulting Numbers: [54, 39] Generated Node #0,1,3: 29:[54, 39] Operation: 55-16=39 Exploring Operation: 16+54=70, Resulting Numbers: [55, 70] Generated Node #0,1,4: 29:[55, 70] Operation: 16+54=70 Moving to Node #0,1,0 Current State: 29:[55, 38], Operations: ['57-3=54', '54-16=38'] Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,29 unequal: No Solution Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[54, 39], Operations: ['57-3=54', '55-16=39'] Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,29 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[16, 1], Operations: ['57-3=54', '55-54=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[54, 71], Operations: ['57-3=54', '55+16=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[55, 70], Operations: ['57-3=54', '16+54=70'] Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,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,2 Current State: 29:[57, 55, 19], Operations: ['3+16=19'] Exploring Operation: 57-55=2, Resulting Numbers: [19, 2] Generated Node #0,2,0: 29:[19, 2] Operation: 57-55=2 Exploring Operation: 57+19=76, Resulting Numbers: [55, 76] Generated Node #0,2,1: 29:[55, 76] Operation: 57+19=76 Exploring Operation: 57-19=38, Resulting Numbers: [55, 38] Generated Node #0,2,2: 29:[55, 38] Operation: 57-19=38 Exploring Operation: 57/19=3, Resulting Numbers: [55, 3] Generated Node #0,2,3: 29:[55, 3] Operation: 57/19=3 Exploring Operation: 55-19=36, Resulting Numbers: [57, 36] Generated Node #0,2,4: 29:[57, 36] Operation: 55-19=36 Moving to Node #0,2,2 Current State: 29:[55, 38], Operations: ['3+16=19', '57-19=38'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[57, 36], Operations: ['3+16=19', '55-19=36'] Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,29 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[19, 2], Operations: ['3+16=19', '57-55=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[55, 3], Operations: ['3+16=19', '57/19=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[55, 76], Operations: ['3+16=19', '57+19=76'] Exploring Operation: 55+76=131, Resulting Numbers: [131] 131,29 unequal: No Solution Exploring Operation: 55*76=4180, Resulting Numbers: [4180] 4180,29 unequal: No Solution Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,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,4 Current State: 29:[3, 55, 41], Operations: ['57-16=41'] Exploring Operation: 41-3=38, Resulting Numbers: [55, 38] Generated Node #0,4,0: 29:[55, 38] Operation: 41-3=38 Exploring Operation: 55-41=14, Resulting Numbers: [3, 14] Generated Node #0,4,1: 29:[3, 14] Operation: 55-41=14 Exploring Operation: 3+55=58, Resulting Numbers: [41, 58] Generated Node #0,4,2: 29:[41, 58] Operation: 3+55=58 Exploring Operation: 3+41=44, Resulting Numbers: [55, 44] Generated Node #0,4,3: 29:[55, 44] Operation: 3+41=44 Exploring Operation: 55-3=52, Resulting Numbers: [41, 52] Generated Node #0,4,4: 29:[41, 52] Operation: 55-3=52 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 29:[55, 38], Operations: ['57-16=41', '41-3=38'] Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,29 unequal: No Solution Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 29:[41, 52], Operations: ['57-16=41', '55-3=52'] Exploring Operation: 41*52=2132, Resulting Numbers: [2132] 2132,29 unequal: No Solution Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 29:[3, 14], Operations: ['57-16=41', '55-41=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 29:[41, 58], Operations: ['57-16=41', '3+55=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,29 unequal: No Solution Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 29:[55, 44], Operations: ['57-16=41', '3+41=44'] Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,29 unequal: No Solution Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,29 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 21, 99, 99, 6 ]
26
[ "21+6=27", "99/99=1", "27-1=26" ]
Current State: 26:[21, 99, 99, 6], Operations: [] Exploring Operation: 21+6=27, Resulting Numbers: [99, 99, 27] Generated Node #2: [99, 99, 27] from Operation: 21+6=27 Current State: 26:[99, 99, 27], Operations: ['21+6=27'] Exploring Operation: 99/99=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 99/99=1 Current State: 26:[27, 1], Operations: ['21+6=27', '99/99=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[21, 99, 99, 6], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [21, 6, 1] Generated Node #0,0: 26:[21, 6, 1] Operation: 99/99=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[21, 6, 1], Operations: ['99/99=1'] Exploring Operation: 21+6=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 26:[1, 27] Operation: 21+6=27 Moving to Node #0,0,0 Current State: 26:[1, 27], Operations: ['99/99=1', '21+6=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[21, 99, 99, 6], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [21, 6, 1] Generated Node #0,0: 26:[21, 6, 1] Operation: 99/99=1 Moving to Node #0,0 Current State: 26:[21, 6, 1], Operations: ['99/99=1'] Exploring Operation: 21+6=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 26:[1, 27] Operation: 21+6=27 Moving to Node #0,0,0 Current State: 26:[1, 27], Operations: ['99/99=1', '21+6=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 21, 96, 19, 20 ]
68
[ "21-19=2", "96/2=48", "20+48=68" ]
Current State: 68:[21, 96, 19, 20], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [96, 20, 2] Generated Node #2: [96, 20, 2] from Operation: 21-19=2 Current State: 68:[96, 20, 2], Operations: ['21-19=2'] Exploring Operation: 96/2=48, Resulting Numbers: [20, 48] Generated Node #3: [20, 48] from Operation: 96/2=48 Current State: 68:[20, 48], Operations: ['21-19=2', '96/2=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[21, 96, 19, 20], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [21, 19, 76] Generated Node #0,0: 68:[21, 19, 76] Operation: 96-20=76 Exploring Operation: 96-21=75, Resulting Numbers: [19, 20, 75] Generated Node #0,1: 68:[19, 20, 75] Operation: 96-21=75 Exploring Operation: 96-19=77, Resulting Numbers: [21, 20, 77] Generated Node #0,2: 68:[21, 20, 77] Operation: 96-19=77 Moving to Node #0,1 Current State: 68:[19, 20, 75], Operations: ['96-21=75'] Exploring Operation: 20-19=1, Resulting Numbers: [75, 1] Generated Node #0,1,0: 68:[75, 1] Operation: 20-19=1 Exploring Operation: 19+20=39, Resulting Numbers: [75, 39] Generated Node #0,1,1: 68:[75, 39] Operation: 19+20=39 Exploring Operation: 75-19=56, Resulting Numbers: [20, 56] Generated Node #0,1,2: 68:[20, 56] Operation: 75-19=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[75, 1], Operations: ['96-21=75', '20-19=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[75, 39], Operations: ['96-21=75', '19+20=39'] Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,68 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[20, 56], Operations: ['96-21=75', '75-19=56'] Exploring Operation: 20*56=1120, Resulting Numbers: [1120] 1120,68 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 20+56=76, Resulting Numbers: [76] 76,68 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: 68:[21, 19, 76], Operations: ['96-20=76'] Exploring Operation: 21-19=2, Resulting Numbers: [76, 2] Generated Node #0,0,0: 68:[76, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [76, 40] Generated Node #0,0,1: 68:[76, 40] Operation: 21+19=40 Exploring Operation: 76/19=4, Resulting Numbers: [21, 4] Generated Node #0,0,2: 68:[21, 4] Operation: 76/19=4 Moving to Node #0,2 Current State: 68:[21, 20, 77], Operations: ['96-19=77'] Exploring Operation: 77-21=56, Resulting Numbers: [20, 56] Generated Node #0,2,0: 68:[20, 56] Operation: 77-21=56 Exploring Operation: 21-20=1, Resulting Numbers: [77, 1] Generated Node #0,2,1: 68:[77, 1] Operation: 21-20=1 Exploring Operation: 77-20=57, Resulting Numbers: [21, 57] Generated Node #0,2,2: 68:[21, 57] Operation: 77-20=57 Moving to Node #0,0,2 Current State: 68:[21, 4], Operations: ['96-20=76', '76/19=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[76, 2], Operations: ['96-20=76', '21-19=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,68 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[77, 1], Operations: ['96-19=77', '21-20=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,68 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[76, 40], Operations: ['96-20=76', '21+19=40'] Exploring Operation: 76+40=116, Resulting Numbers: [116] 116,68 unequal: No Solution Exploring Operation: 76*40=3040, Resulting Numbers: [3040] 3040,68 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[21, 57], Operations: ['96-19=77', '77-20=57'] Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 21*57=1197, Resulting Numbers: [1197] 1197,68 unequal: No Solution Exploring Operation: 21+57=78, Resulting Numbers: [78] 78,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[20, 56], Operations: ['96-19=77', '77-21=56'] Exploring Operation: 20+56=76, Resulting Numbers: [76] 76,68 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 20*56=1120, Resulting Numbers: [1120] 1120,68 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 76, 72, 50, 24 ]
22
[ "76-72=4", "50-24=26", "26-4=22" ]
Current State: 22:[76, 72, 50, 24], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [50, 24, 4] Generated Node #2: [50, 24, 4] from Operation: 76-72=4 Current State: 22:[50, 24, 4], Operations: ['76-72=4'] Exploring Operation: 50-24=26, Resulting Numbers: [4, 26] Generated Node #3: [4, 26] from Operation: 50-24=26 Current State: 22:[4, 26], Operations: ['76-72=4', '50-24=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[76, 72, 50, 24], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [76, 50, 3] Generated Node #0,0: 22:[76, 50, 3] Operation: 72/24=3 Exploring Operation: 72-50=22, Resulting Numbers: [76, 24, 22] Generated Node #0,1: 22:[76, 24, 22] Operation: 72-50=22 Exploring Operation: 76-72=4, Resulting Numbers: [50, 24, 4] Generated Node #0,2: 22:[50, 24, 4] Operation: 76-72=4 Exploring Operation: 76-50=26, Resulting Numbers: [72, 24, 26] Generated Node #0,3: 22:[72, 24, 26] Operation: 76-50=26 Moving to Node #0,2 Current State: 22:[50, 24, 4], Operations: ['76-72=4'] Exploring Operation: 24/4=6, Resulting Numbers: [50, 6] Generated Node #0,2,0: 22:[50, 6] Operation: 24/4=6 Exploring Operation: 24-4=20, Resulting Numbers: [50, 20] Generated Node #0,2,1: 22:[50, 20] Operation: 24-4=20 Exploring Operation: 50-24=26, Resulting Numbers: [4, 26] Generated Node #0,2,2: 22:[4, 26] Operation: 50-24=26 Exploring Operation: 50-4=46, Resulting Numbers: [24, 46] Generated Node #0,2,3: 22:[24, 46] Operation: 50-4=46 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[4, 26], Operations: ['76-72=4', '50-24=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[76, 72, 50, 24], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [50, 24, 4] Generated Node #0,2: 22:[50, 24, 4] Operation: 76-72=4 Moving to Node #0,2 Current State: 22:[50, 24, 4], Operations: ['76-72=4'] Exploring Operation: 50-24=26, Resulting Numbers: [4, 26] Generated Node #0,2,2: 22:[4, 26] Operation: 50-24=26 Moving to Node #0,2,2 Current State: 22:[4, 26], Operations: ['76-72=4', '50-24=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 48, 78, 38, 96 ]
96
[ "48*78=3744", "38*96=3648", "3744-3648=96" ]
Current State: 96:[48, 78, 38, 96], Operations: [] Exploring Operation: 48*78=3744, Resulting Numbers: [38, 96, 3744] Generated Node #2: [38, 96, 3744] from Operation: 48*78=3744 Current State: 96:[38, 96, 3744], Operations: ['48*78=3744'] Exploring Operation: 38*96=3648, Resulting Numbers: [3744, 3648] Generated Node #3: [3744, 3648] from Operation: 38*96=3648 Current State: 96:[3744, 3648], Operations: ['48*78=3744', '38*96=3648'] Exploring Operation: 3744-3648=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 78, 38, 96], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [38, 96, 30] Generated Node #0,0: 96:[38, 96, 30] Operation: 78-48=30 Moving to Node #0,0 Current State: 96:[38, 96, 30], Operations: ['78-48=30'] Exploring Operation: 38-30=8, Resulting Numbers: [96, 8] Generated Node #0,0,0: 96:[96, 8] Operation: 38-30=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[96, 8], Operations: ['78-48=30', '38-30=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 88, 48, 69 ]
38
[ "88-9=79", "48+69=117", "117-79=38" ]
Current State: 38:[9, 88, 48, 69], Operations: [] Exploring Operation: 88-9=79, Resulting Numbers: [48, 69, 79] Generated Node #2: [48, 69, 79] from Operation: 88-9=79 Current State: 38:[48, 69, 79], Operations: ['88-9=79'] Exploring Operation: 48+69=117, Resulting Numbers: [79, 117] Generated Node #3: [79, 117] from Operation: 48+69=117 Current State: 38:[79, 117], Operations: ['88-9=79', '48+69=117'] Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[9, 88, 48, 69], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [9, 88, 21] Generated Node #0,0: 38:[9, 88, 21] Operation: 69-48=21 Exploring Operation: 88-69=19, Resulting Numbers: [9, 48, 19] Generated Node #0,1: 38:[9, 48, 19] Operation: 88-69=19 Exploring Operation: 88-48=40, Resulting Numbers: [9, 69, 40] Generated Node #0,2: 38:[9, 69, 40] Operation: 88-48=40 Moving to Node #0,1 Current State: 38:[9, 48, 19], Operations: ['88-69=19'] Exploring Operation: 48-9=39, Resulting Numbers: [19, 39] Generated Node #0,1,0: 38:[19, 39] Operation: 48-9=39 Exploring Operation: 48-19=29, Resulting Numbers: [9, 29] Generated Node #0,1,1: 38:[9, 29] Operation: 48-19=29 Exploring Operation: 19-9=10, Resulting Numbers: [48, 10] Generated Node #0,1,2: 38:[48, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[19, 39], Operations: ['88-69=19', '48-9=39'] Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,38 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[9, 29], Operations: ['88-69=19', '48-19=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[9, 88, 48, 69], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [9, 48, 19] Generated Node #0,1: 38:[9, 48, 19] Operation: 88-69=19 Moving to Node #0,1 Current State: 38:[9, 48, 19], Operations: ['88-69=19'] Exploring Operation: 48-19=29, Resulting Numbers: [9, 29] Generated Node #0,1,1: 38:[9, 29] Operation: 48-19=29 Moving to Node #0,1,1 Current State: 38:[9, 29], Operations: ['88-69=19', '48-19=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 34, 38, 91, 60 ]
22
[ "34*60=2040", "2040-38=2002", "2002/91=22" ]
Current State: 22:[34, 38, 91, 60], Operations: [] Exploring Operation: 34*60=2040, Resulting Numbers: [38, 91, 2040] Generated Node #2: [38, 91, 2040] from Operation: 34*60=2040 Current State: 22:[38, 91, 2040], Operations: ['34*60=2040'] Exploring Operation: 2040-38=2002, Resulting Numbers: [91, 2002] Generated Node #3: [91, 2002] from Operation: 2040-38=2002 Current State: 22:[91, 2002], Operations: ['34*60=2040', '2040-38=2002'] Exploring Operation: 2002/91=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[34, 38, 91, 60], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [34, 38, 31] Generated Node #0,0: 22:[34, 38, 31] Operation: 91-60=31 Exploring Operation: 91-38=53, Resulting Numbers: [34, 60, 53] Generated Node #0,1: 22:[34, 60, 53] Operation: 91-38=53 Exploring Operation: 60-38=22, Resulting Numbers: [34, 91, 22] Generated Node #0,2: 22:[34, 91, 22] Operation: 60-38=22 Moving to Node #0,0 Current State: 22:[34, 38, 31], Operations: ['91-60=31'] Exploring Operation: 38-34=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 22:[31, 4] Operation: 38-34=4 Exploring Operation: 34-31=3, Resulting Numbers: [38, 3] Generated Node #0,0,1: 22:[38, 3] Operation: 34-31=3 Exploring Operation: 38-31=7, Resulting Numbers: [34, 7] Generated Node #0,0,2: 22:[34, 7] Operation: 38-31=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[31, 4], Operations: ['91-60=31', '38-34=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,22 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[34, 7], Operations: ['91-60=31', '38-31=7'] Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,22 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[38, 3], Operations: ['91-60=31', '34-31=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,22 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,22 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: 22:[34, 60, 53], Operations: ['91-38=53'] Exploring Operation: 53-34=19, Resulting Numbers: [60, 19] Generated Node #0,1,0: 22:[60, 19] Operation: 53-34=19 Exploring Operation: 60-53=7, Resulting Numbers: [34, 7] Generated Node #0,1,1: 22:[34, 7] Operation: 60-53=7 Exploring Operation: 60-34=26, Resulting Numbers: [53, 26] Generated Node #0,1,2: 22:[53, 26] Operation: 60-34=26 Moving to Node #0,2 Current State: 22:[34, 91, 22], Operations: ['60-38=22'] Exploring Operation: 34-22=12, Resulting Numbers: [91, 12] Generated Node #0,2,0: 22:[91, 12] Operation: 34-22=12 Exploring Operation: 91-34=57, Resulting Numbers: [22, 57] Generated Node #0,2,1: 22:[22, 57] Operation: 91-34=57 Exploring Operation: 91-22=69, Resulting Numbers: [34, 69] Generated Node #0,2,2: 22:[34, 69] Operation: 91-22=69 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[22, 57], Operations: ['60-38=22', '91-34=57'] Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,22 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[34, 69], Operations: ['60-38=22', '91-22=69'] Exploring Operation: 34*69=2346, Resulting Numbers: [2346] 2346,22 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 34+69=103, Resulting Numbers: [103] 103,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[91, 12], Operations: ['60-38=22', '34-22=12'] Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,22 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 22:[34, 7], Operations: ['91-38=53', '60-53=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[53, 26], Operations: ['91-38=53', '60-34=26'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 53*26=1378, Resulting Numbers: [1378] 1378,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[60, 19], Operations: ['91-38=53', '53-34=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,22 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 93, 69, 73, 45 ]
71
[ "93+45=138", "138/69=2", "73-2=71" ]
Current State: 71:[93, 69, 73, 45], Operations: [] Exploring Operation: 93+45=138, Resulting Numbers: [69, 73, 138] Generated Node #2: [69, 73, 138] from Operation: 93+45=138 Current State: 71:[69, 73, 138], Operations: ['93+45=138'] Exploring Operation: 138/69=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 138/69=2 Current State: 71:[73, 2], Operations: ['93+45=138', '138/69=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[93, 69, 73, 45], Operations: [] Exploring Operation: 93+45=138, Resulting Numbers: [69, 73, 138] Generated Node #0,0: 71:[69, 73, 138] Operation: 93+45=138 Exploring Operation: 69+45=114, Resulting Numbers: [93, 73, 114] Generated Node #0,1: 71:[93, 73, 114] Operation: 69+45=114 Exploring Operation: 93-45=48, Resulting Numbers: [69, 73, 48] Generated Node #0,2: 71:[69, 73, 48] Operation: 93-45=48 Exploring Operation: 73-45=28, Resulting Numbers: [93, 69, 28] Generated Node #0,3: 71:[93, 69, 28] Operation: 73-45=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[69, 73, 48], Operations: ['93-45=48'] Exploring Operation: 69-48=21, Resulting Numbers: [73, 21] Generated Node #0,2,0: 71:[73, 21] Operation: 69-48=21 Exploring Operation: 69+48=117, Resulting Numbers: [73, 117] Generated Node #0,2,1: 71:[73, 117] Operation: 69+48=117 Exploring Operation: 73+48=121, Resulting Numbers: [69, 121] Generated Node #0,2,2: 71:[69, 121] Operation: 73+48=121 Exploring Operation: 73-48=25, Resulting Numbers: [69, 25] Generated Node #0,2,3: 71:[69, 25] Operation: 73-48=25 Moving to Node #0,2,1 Current State: 71:[73, 117], Operations: ['93-45=48', '69+48=117'] Exploring Operation: 73+117=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 73*117=8541, Resulting Numbers: [8541] 8541,71 unequal: No Solution Exploring Operation: 117-73=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[69, 25], Operations: ['93-45=48', '73-48=25'] Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,71 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[69, 121], Operations: ['93-45=48', '73+48=121'] Exploring Operation: 69+121=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 121-69=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 69*121=8349, Resulting Numbers: [8349] 8349,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[73, 21], Operations: ['93-45=48', '69-48=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,71 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[93, 73, 114], Operations: ['69+45=114'] Exploring Operation: 93+73=166, Resulting Numbers: [114, 166] Generated Node #0,1,0: 71:[114, 166] Operation: 93+73=166 Exploring Operation: 114-93=21, Resulting Numbers: [73, 21] Generated Node #0,1,1: 71:[73, 21] Operation: 114-93=21 Exploring Operation: 93-73=20, Resulting Numbers: [114, 20] Generated Node #0,1,2: 71:[114, 20] Operation: 93-73=20 Exploring Operation: 114-73=41, Resulting Numbers: [93, 41] Generated Node #0,1,3: 71:[93, 41] Operation: 114-73=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[73, 21], Operations: ['69+45=114', '114-93=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[93, 41], Operations: ['69+45=114', '114-73=41'] Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,71 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[114, 20], Operations: ['69+45=114', '93-73=20'] Exploring Operation: 114+20=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 114*20=2280, Resulting Numbers: [2280] 2280,71 unequal: No Solution Exploring Operation: 114-20=94, Resulting Numbers: [94] 94,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[114, 166], Operations: ['69+45=114', '93+73=166'] Exploring Operation: 166-114=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 114*166=18924, Resulting Numbers: [18924] 18924,71 unequal: No Solution Exploring Operation: 114+166=280, Resulting Numbers: [280] 280,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[93, 69, 28], Operations: ['73-45=28'] Exploring Operation: 93-28=65, Resulting Numbers: [69, 65] Generated Node #0,3,0: 71:[69, 65] Operation: 93-28=65 Exploring Operation: 69-28=41, Resulting Numbers: [93, 41] Generated Node #0,3,1: 71:[93, 41] Operation: 69-28=41 Exploring Operation: 69+28=97, Resulting Numbers: [93, 97] Generated Node #0,3,2: 71:[93, 97] Operation: 69+28=97 Exploring Operation: 93+28=121, Resulting Numbers: [69, 121] Generated Node #0,3,3: 71:[69, 121] Operation: 93+28=121 Moving to Node #0,3,0 Current State: 71:[69, 65], Operations: ['73-45=28', '93-28=65'] Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 69*65=4485, Resulting Numbers: [4485] 4485,71 unequal: No Solution Exploring Operation: 69+65=134, Resulting Numbers: [134] 134,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[93, 97], Operations: ['73-45=28', '69+28=97'] Exploring Operation: 93*97=9021, Resulting Numbers: [9021] 9021,71 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 93+97=190, Resulting Numbers: [190] 190,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[69, 121], Operations: ['73-45=28', '93+28=121'] Exploring Operation: 69+121=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 69*121=8349, Resulting Numbers: [8349] 8349,71 unequal: No Solution Exploring Operation: 121-69=52, Resulting Numbers: [52] 52,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[93, 41], Operations: ['73-45=28', '69-28=41'] Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,71 unequal: No Solution Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[69, 73, 138], Operations: ['93+45=138'] Exploring Operation: 73-69=4, Resulting Numbers: [138, 4] Generated Node #0,0,0: 71:[138, 4] Operation: 73-69=4 Exploring Operation: 138/69=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 71:[73, 2] Operation: 138/69=2 Exploring Operation: 138-73=65, Resulting Numbers: [69, 65] Generated Node #0,0,2: 71:[69, 65] Operation: 138-73=65 Exploring Operation: 138-69=69, Resulting Numbers: [73, 69] Generated Node #0,0,3: 71:[73, 69] Operation: 138-69=69 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[73, 69], Operations: ['93+45=138', '138-69=69'] Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,71 unequal: No Solution Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[69, 65], Operations: ['93+45=138', '138-73=65'] Exploring Operation: 69*65=4485, Resulting Numbers: [4485] 4485,71 unequal: No Solution Exploring Operation: 69+65=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,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:[73, 2], Operations: ['93+45=138', '138/69=2'] Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[93, 69, 73, 45], Operations: [] Exploring Operation: 93+45=138, Resulting Numbers: [69, 73, 138] Generated Node #0,0: 71:[69, 73, 138] Operation: 93+45=138 Moving to Node #0,0 Current State: 71:[69, 73, 138], Operations: ['93+45=138'] Exploring Operation: 138/69=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 71:[73, 2] Operation: 138/69=2 Moving to Node #0,0,1 Current State: 71:[73, 2], Operations: ['93+45=138', '138/69=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940972
hs_4
mult_heuristic
[ 73, 25, 51, 1 ]
48
[ "73+25=98", "51-1=50", "98-50=48" ]
Current State: 48:[73, 25, 51, 1], Operations: [] Exploring Operation: 73+25=98, Resulting Numbers: [51, 1, 98] Generated Node #2: [51, 1, 98] from Operation: 73+25=98 Current State: 48:[51, 1, 98], Operations: ['73+25=98'] Exploring Operation: 51-1=50, Resulting Numbers: [98, 50] Generated Node #3: [98, 50] from Operation: 51-1=50 Current State: 48:[98, 50], Operations: ['73+25=98', '51-1=50'] Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[73, 25, 51, 1], Operations: [] Exploring Operation: 25-1=24, Resulting Numbers: [73, 51, 24] Generated Node #0,0: 48:[73, 51, 24] Operation: 25-1=24 Exploring Operation: 73-25=48, Resulting Numbers: [51, 1, 48] Generated Node #0,1: 48:[51, 1, 48] Operation: 73-25=48 Exploring Operation: 73-51=22, Resulting Numbers: [25, 1, 22] Generated Node #0,2: 48:[25, 1, 22] Operation: 73-51=22 Exploring Operation: 73-1=72, Resulting Numbers: [25, 51, 72] Generated Node #0,3: 48:[25, 51, 72] Operation: 73-1=72 Exploring Operation: 51-25=26, Resulting Numbers: [73, 1, 26] Generated Node #0,4: 48:[73, 1, 26] Operation: 51-25=26 Moving to Node #0,1 Current State: 48:[51, 1, 48], Operations: ['73-25=48'] Exploring Operation: 51*1=51, Resulting Numbers: [48, 51] Generated Node #0,1,0: 48:[48, 51] Operation: 51*1=51 Exploring Operation: 51/1=51, Resulting Numbers: [48, 51] Generated Node #0,1,1: 48:[48, 51] Operation: 51/1=51 Exploring Operation: 51-48=3, Resulting Numbers: [1, 3] Generated Node #0,1,2: 48:[1, 3] Operation: 51-48=3 Exploring Operation: 51-1=50, Resulting Numbers: [48, 50] Generated Node #0,1,3: 48:[48, 50] Operation: 51-1=50 Exploring Operation: 1*48=48, Resulting Numbers: [51, 48] Generated Node #0,1,4: 48:[51, 48] Operation: 1*48=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[1, 3], Operations: ['73-25=48', '51-48=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,48 unequal: No Solution No 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: 48:[48, 50], Operations: ['73-25=48', '51-1=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,48 unequal: No Solution No 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: 48:[48, 51], Operations: ['73-25=48', '51*1=51'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,48 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,48 unequal: No Solution No 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: 48:[48, 51], Operations: ['73-25=48', '51/1=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,48 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,48 unequal: No Solution No 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: 48:[51, 48], Operations: ['73-25=48', '1*48=48'] Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,48 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,48 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,48 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: 48:[25, 1, 22], Operations: ['73-51=22'] Exploring Operation: 1+22=23, Resulting Numbers: [25, 23] Generated Node #0,2,0: 48:[25, 23] Operation: 1+22=23 Exploring Operation: 25*1=25, Resulting Numbers: [22, 25] Generated Node #0,2,1: 48:[22, 25] Operation: 25*1=25 Exploring Operation: 25-22=3, Resulting Numbers: [1, 3] Generated Node #0,2,2: 48:[1, 3] Operation: 25-22=3 Exploring Operation: 25+22=47, Resulting Numbers: [1, 47] Generated Node #0,2,3: 48:[1, 47] Operation: 25+22=47 Exploring Operation: 25-1=24, Resulting Numbers: [22, 24] Generated Node #0,2,4: 48:[22, 24] Operation: 25-1=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[1, 3], Operations: ['73-51=22', '25-22=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,48 unequal: No Solution No 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: 48:[25, 23], Operations: ['73-51=22', '1+22=23'] Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,48 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[73, 25, 51, 1], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [25, 1, 22] Generated Node #0,2: 48:[25, 1, 22] Operation: 73-51=22 Moving to Node #0,2 Current State: 48:[25, 1, 22], Operations: ['73-51=22'] Exploring Operation: 1+22=23, Resulting Numbers: [25, 23] Generated Node #0,2,0: 48:[25, 23] Operation: 1+22=23 Moving to Node #0,2,0 Current State: 48:[25, 23], Operations: ['73-51=22', '1+22=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 90, 89, 41, 26 ]
68
[ "90-89=1", "41+26=67", "1+67=68" ]
Current State: 68:[90, 89, 41, 26], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [41, 26, 1] Generated Node #2: [41, 26, 1] from Operation: 90-89=1 Current State: 68:[41, 26, 1], Operations: ['90-89=1'] Exploring Operation: 41+26=67, Resulting Numbers: [1, 67] Generated Node #3: [1, 67] from Operation: 41+26=67 Current State: 68:[1, 67], Operations: ['90-89=1', '41+26=67'] Exploring Operation: 1+67=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[90, 89, 41, 26], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [90, 41, 63] Generated Node #0,0: 68:[90, 41, 63] Operation: 89-26=63 Exploring Operation: 90-41=49, Resulting Numbers: [89, 26, 49] Generated Node #0,1: 68:[89, 26, 49] Operation: 90-41=49 Exploring Operation: 90-89=1, Resulting Numbers: [41, 26, 1] Generated Node #0,2: 68:[41, 26, 1] Operation: 90-89=1 Exploring Operation: 90-26=64, Resulting Numbers: [89, 41, 64] Generated Node #0,3: 68:[89, 41, 64] Operation: 90-26=64 Moving to Node #0,2 Current State: 68:[41, 26, 1], Operations: ['90-89=1'] Exploring Operation: 41-1=40, Resulting Numbers: [26, 40] Generated Node #0,2,0: 68:[26, 40] Operation: 41-1=40 Exploring Operation: 26+1=27, Resulting Numbers: [41, 27] Generated Node #0,2,1: 68:[41, 27] Operation: 26+1=27 Exploring Operation: 41-26=15, Resulting Numbers: [1, 15] Generated Node #0,2,2: 68:[1, 15] Operation: 41-26=15 Exploring Operation: 41+26=67, Resulting Numbers: [1, 67] Generated Node #0,2,3: 68:[1, 67] Operation: 41+26=67 Moving to Node #0,3 Current State: 68:[89, 41, 64], Operations: ['90-26=64'] Exploring Operation: 89-64=25, Resulting Numbers: [41, 25] Generated Node #0,3,0: 68:[41, 25] Operation: 89-64=25 Exploring Operation: 89-41=48, Resulting Numbers: [64, 48] Generated Node #0,3,1: 68:[64, 48] Operation: 89-41=48 Exploring Operation: 41+64=105, Resulting Numbers: [89, 105] Generated Node #0,3,2: 68:[89, 105] Operation: 41+64=105 Exploring Operation: 64-41=23, Resulting Numbers: [89, 23] Generated Node #0,3,3: 68:[89, 23] Operation: 64-41=23 Moving to Node #0,0 Current State: 68:[90, 41, 63], Operations: ['89-26=63'] Exploring Operation: 63-41=22, Resulting Numbers: [90, 22] Generated Node #0,0,0: 68:[90, 22] Operation: 63-41=22 Exploring Operation: 41+63=104, Resulting Numbers: [90, 104] Generated Node #0,0,1: 68:[90, 104] Operation: 41+63=104 Exploring Operation: 90-41=49, Resulting Numbers: [63, 49] Generated Node #0,0,2: 68:[63, 49] Operation: 90-41=49 Exploring Operation: 90-63=27, Resulting Numbers: [41, 27] Generated Node #0,0,3: 68:[41, 27] Operation: 90-63=27 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[41, 27], Operations: ['89-26=63', '90-63=27'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[90, 89, 41, 26], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [90, 41, 63] Generated Node #0,0: 68:[90, 41, 63] Operation: 89-26=63 Moving to Node #0,0 Current State: 68:[90, 41, 63], Operations: ['89-26=63'] Exploring Operation: 90-63=27, Resulting Numbers: [41, 27] Generated Node #0,0,3: 68:[41, 27] Operation: 90-63=27 Moving to Node #0,0,3 Current State: 68:[41, 27], Operations: ['89-26=63', '90-63=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 23, 21, 39, 31 ]
36
[ "23+21=44", "39-31=8", "44-8=36" ]
Current State: 36:[23, 21, 39, 31], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [39, 31, 44] Generated Node #2: [39, 31, 44] from Operation: 23+21=44 Current State: 36:[39, 31, 44], Operations: ['23+21=44'] Exploring Operation: 39-31=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 39-31=8 Current State: 36:[44, 8], Operations: ['23+21=44', '39-31=8'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[23, 21, 39, 31], Operations: [] Exploring Operation: 31-23=8, Resulting Numbers: [21, 39, 8] Generated Node #0,0: 36:[21, 39, 8] Operation: 31-23=8 Exploring Operation: 23-21=2, Resulting Numbers: [39, 31, 2] Generated Node #0,1: 36:[39, 31, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[21, 39, 8], Operations: ['31-23=8'] Exploring Operation: 39-21=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 36:[8, 18] Operation: 39-21=18 Exploring Operation: 21-8=13, Resulting Numbers: [39, 13] Generated Node #0,0,1: 36:[39, 13] Operation: 21-8=13 Moving to Node #0,0,0 Current State: 36:[8, 18], Operations: ['31-23=8', '39-21=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[39, 13], Operations: ['31-23=8', '21-8=13'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,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 Current State: 36:[39, 31, 2], Operations: ['23-21=2'] Exploring Operation: 39-2=37, Resulting Numbers: [31, 37] Generated Node #0,1,0: 36:[31, 37] Operation: 39-2=37 Exploring Operation: 39-31=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 36:[2, 8] Operation: 39-31=8 Moving to Node #0,1,1 Current State: 36:[2, 8], Operations: ['23-21=2', '39-31=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[31, 37], Operations: ['23-21=2', '39-2=37'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,36 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
[ 19, 60, 36, 57 ]
93
[ "57/19=3", "60+36=96", "96-3=93" ]
Current State: 93:[19, 60, 36, 57], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [60, 36, 3] Generated Node #2: [60, 36, 3] from Operation: 57/19=3 Current State: 93:[60, 36, 3], Operations: ['57/19=3'] Exploring Operation: 60+36=96, Resulting Numbers: [3, 96] Generated Node #3: [3, 96] from Operation: 60+36=96 Current State: 93:[3, 96], Operations: ['57/19=3', '60+36=96'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[19, 60, 36, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [19, 36, 3] Generated Node #0,0: 93:[19, 36, 3] Operation: 60-57=3 Exploring Operation: 57/19=3, Resulting Numbers: [60, 36, 3] Generated Node #0,1: 93:[60, 36, 3] Operation: 57/19=3 Exploring Operation: 60-19=41, Resulting Numbers: [36, 57, 41] Generated Node #0,2: 93:[36, 57, 41] Operation: 60-19=41 Moving to Node #0,0 Current State: 93:[19, 36, 3], Operations: ['60-57=3'] Exploring Operation: 19+3=22, Resulting Numbers: [36, 22] Generated Node #0,0,0: 93:[36, 22] Operation: 19+3=22 Exploring Operation: 36-19=17, Resulting Numbers: [3, 17] Generated Node #0,0,1: 93:[3, 17] Operation: 36-19=17 Exploring Operation: 36-3=33, Resulting Numbers: [19, 33] Generated Node #0,0,2: 93:[19, 33] Operation: 36-3=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[36, 22], Operations: ['60-57=3', '19+3=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,93 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[3, 17], Operations: ['60-57=3', '36-19=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[19, 33], Operations: ['60-57=3', '36-3=33'] Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,93 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: 93:[60, 36, 3], Operations: ['57/19=3'] Exploring Operation: 60-36=24, Resulting Numbers: [3, 24] Generated Node #0,1,0: 93:[3, 24] Operation: 60-36=24 Exploring Operation: 60+36=96, Resulting Numbers: [3, 96] Generated Node #0,1,1: 93:[3, 96] Operation: 60+36=96 Exploring Operation: 60/3=20, Resulting Numbers: [36, 20] Generated Node #0,1,2: 93:[36, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[3, 96], Operations: ['57/19=3', '60+36=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[19, 60, 36, 57], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [60, 36, 3] Generated Node #0,1: 93:[60, 36, 3] Operation: 57/19=3 Moving to Node #0,1 Current State: 93:[60, 36, 3], Operations: ['57/19=3'] Exploring Operation: 60+36=96, Resulting Numbers: [3, 96] Generated Node #0,1,1: 93:[3, 96] Operation: 60+36=96 Moving to Node #0,1,1 Current State: 93:[3, 96], Operations: ['57/19=3', '60+36=96'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 18, 81, 12, 36 ]
75
[ "18+81=99", "36-12=24", "99-24=75" ]
Current State: 75:[18, 81, 12, 36], Operations: [] Exploring Operation: 18+81=99, Resulting Numbers: [12, 36, 99] Generated Node #2: [12, 36, 99] from Operation: 18+81=99 Current State: 75:[12, 36, 99], Operations: ['18+81=99'] Exploring Operation: 36-12=24, Resulting Numbers: [99, 24] Generated Node #3: [99, 24] from Operation: 36-12=24 Current State: 75:[99, 24], Operations: ['18+81=99', '36-12=24'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[18, 81, 12, 36], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [81, 12, 2] Generated Node #0,0: 75:[81, 12, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [81, 12, 18] Generated Node #0,1: 75:[81, 12, 18] Operation: 36-18=18 Exploring Operation: 36/12=3, Resulting Numbers: [18, 81, 3] Generated Node #0,2: 75:[18, 81, 3] Operation: 36/12=3 Exploring Operation: 36-12=24, Resulting Numbers: [18, 81, 24] Generated Node #0,3: 75:[18, 81, 24] Operation: 36-12=24 Exploring Operation: 18-12=6, Resulting Numbers: [81, 36, 6] Generated Node #0,4: 75:[81, 36, 6] Operation: 18-12=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[18, 81, 3], Operations: ['36/12=3'] Exploring Operation: 81-3=78, Resulting Numbers: [18, 78] Generated Node #0,2,0: 75:[18, 78] Operation: 81-3=78 Exploring Operation: 18+3=21, Resulting Numbers: [81, 21] Generated Node #0,2,1: 75:[81, 21] Operation: 18+3=21 Exploring Operation: 18-3=15, Resulting Numbers: [81, 15] Generated Node #0,2,2: 75:[81, 15] Operation: 18-3=15 Exploring Operation: 81/3=27, Resulting Numbers: [18, 27] Generated Node #0,2,3: 75:[18, 27] Operation: 81/3=27 Exploring Operation: 18/3=6, Resulting Numbers: [81, 6] Generated Node #0,2,4: 75:[81, 6] Operation: 18/3=6 Moving to Node #0,2,3 Current State: 75:[18, 27], Operations: ['36/12=3', '81/3=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[81, 15], Operations: ['36/12=3', '18-3=15'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[18, 78], Operations: ['36/12=3', '81-3=78'] Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[81, 6], Operations: ['36/12=3', '18/3=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,75 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[18, 81, 12, 36], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [18, 81, 3] Generated Node #0,2: 75:[18, 81, 3] Operation: 36/12=3 Moving to Node #0,2 Current State: 75:[18, 81, 3], Operations: ['36/12=3'] Exploring Operation: 18/3=6, Resulting Numbers: [81, 6] Generated Node #0,2,4: 75:[81, 6] Operation: 18/3=6 Moving to Node #0,2,4 Current State: 75:[81, 6], Operations: ['36/12=3', '18/3=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic