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
[ 87, 57, 21, 46 ]
49
[ "87+46=133", "21*133=2793", "2793/57=49" ]
Current State: 49:[87, 57, 21, 46], Operations: [] Exploring Operation: 87+46=133, Resulting Numbers: [57, 21, 133] Generated Node #2: [57, 21, 133] from Operation: 87+46=133 Current State: 49:[57, 21, 133], Operations: ['87+46=133'] Exploring Operation: 21*133=2793, Resulting Numbers: [57, 2793] Generated Node #3: [57, 2793] from Operation: 21*133=2793 Current State: 49:[57, 2793], Operations: ['87+46=133', '21*133=2793'] Exploring Operation: 2793/57=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[87, 57, 21, 46], Operations: [] Exploring Operation: 87-46=41, Resulting Numbers: [57, 21, 41] Generated Node #0,0: 49:[57, 21, 41] Operation: 87-46=41 Exploring Operation: 87-57=30, Resulting Numbers: [21, 46, 30] Generated Node #0,1: 49:[21, 46, 30] Operation: 87-57=30 Exploring Operation: 87-21=66, Resulting Numbers: [57, 46, 66] Generated Node #0,2: 49:[57, 46, 66] Operation: 87-21=66 Exploring Operation: 57-21=36, Resulting Numbers: [87, 46, 36] Generated Node #0,3: 49:[87, 46, 36] Operation: 57-21=36 Exploring Operation: 57-46=11, Resulting Numbers: [87, 21, 11] Generated Node #0,4: 49:[87, 21, 11] Operation: 57-46=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[57, 46, 66], Operations: ['87-21=66'] Exploring Operation: 46+66=112, Resulting Numbers: [57, 112] Generated Node #0,2,0: 49:[57, 112] Operation: 46+66=112 Exploring Operation: 66-46=20, Resulting Numbers: [57, 20] Generated Node #0,2,1: 49:[57, 20] Operation: 66-46=20 Exploring Operation: 57-46=11, Resulting Numbers: [66, 11] Generated Node #0,2,2: 49:[66, 11] Operation: 57-46=11 Exploring Operation: 57+46=103, Resulting Numbers: [66, 103] Generated Node #0,2,3: 49:[66, 103] Operation: 57+46=103 Exploring Operation: 66-57=9, Resulting Numbers: [46, 9] Generated Node #0,2,4: 49:[46, 9] Operation: 66-57=9 Moving to Node #0,2,4 Current State: 49:[46, 9], Operations: ['87-21=66', '66-57=9'] Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,49 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[66, 11], Operations: ['87-21=66', '57-46=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,49 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[57, 20], Operations: ['87-21=66', '66-46=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[57, 112], Operations: ['87-21=66', '46+66=112'] Exploring Operation: 57+112=169, Resulting Numbers: [169] 169,49 unequal: No Solution Exploring Operation: 112-57=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 57*112=6384, Resulting Numbers: [6384] 6384,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[66, 103], Operations: ['87-21=66', '57+46=103'] Exploring Operation: 103-66=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 66+103=169, Resulting Numbers: [169] 169,49 unequal: No Solution Exploring Operation: 66*103=6798, Resulting Numbers: [6798] 6798,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[57, 21, 41], Operations: ['87-46=41'] Exploring Operation: 21+41=62, Resulting Numbers: [57, 62] Generated Node #0,0,0: 49:[57, 62] Operation: 21+41=62 Exploring Operation: 41-21=20, Resulting Numbers: [57, 20] Generated Node #0,0,1: 49:[57, 20] Operation: 41-21=20 Exploring Operation: 57-41=16, Resulting Numbers: [21, 16] Generated Node #0,0,2: 49:[21, 16] Operation: 57-41=16 Exploring Operation: 57-21=36, Resulting Numbers: [41, 36] Generated Node #0,0,3: 49:[41, 36] Operation: 57-21=36 Exploring Operation: 57+21=78, Resulting Numbers: [41, 78] Generated Node #0,0,4: 49:[41, 78] Operation: 57+21=78 Moving to Node #0,0,0 Current State: 49:[57, 62], Operations: ['87-46=41', '21+41=62'] Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,49 unequal: No Solution Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,49 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[41, 36], Operations: ['87-46=41', '57-21=36'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,49 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[57, 20], Operations: ['87-46=41', '41-21=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[21, 16], Operations: ['87-46=41', '57-41=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,49 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[41, 78], Operations: ['87-46=41', '57+21=78'] Exploring Operation: 41+78=119, Resulting Numbers: [119] 119,49 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 41*78=3198, Resulting Numbers: [3198] 3198,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[21, 46, 30], Operations: ['87-57=30'] Exploring Operation: 46-30=16, Resulting Numbers: [21, 16] Generated Node #0,1,0: 49:[21, 16] Operation: 46-30=16 Exploring Operation: 46-21=25, Resulting Numbers: [30, 25] Generated Node #0,1,1: 49:[30, 25] Operation: 46-21=25 Exploring Operation: 30-21=9, Resulting Numbers: [46, 9] Generated Node #0,1,2: 49:[46, 9] Operation: 30-21=9 Exploring Operation: 21+46=67, Resulting Numbers: [30, 67] Generated Node #0,1,3: 49:[30, 67] Operation: 21+46=67 Exploring Operation: 21+30=51, Resulting Numbers: [46, 51] Generated Node #0,1,4: 49:[46, 51] Operation: 21+30=51 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[46, 9], Operations: ['87-57=30', '30-21=9'] Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,49 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[46, 51], Operations: ['87-57=30', '21+30=51'] Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,49 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,49 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[21, 16], Operations: ['87-57=30', '46-30=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,49 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[30, 25], Operations: ['87-57=30', '46-21=25'] Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,49 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[30, 67], Operations: ['87-57=30', '21+46=67'] Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,49 unequal: No Solution Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,49 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[87, 46, 36], Operations: ['57-21=36'] Exploring Operation: 46+36=82, Resulting Numbers: [87, 82] Generated Node #0,3,0: 49:[87, 82] Operation: 46+36=82 Exploring Operation: 87-36=51, Resulting Numbers: [46, 51] Generated Node #0,3,1: 49:[46, 51] Operation: 87-36=51 Exploring Operation: 46-36=10, Resulting Numbers: [87, 10] Generated Node #0,3,2: 49:[87, 10] Operation: 46-36=10 Exploring Operation: 87-46=41, Resulting Numbers: [36, 41] Generated Node #0,3,3: 49:[36, 41] Operation: 87-46=41 Exploring Operation: 87+36=123, Resulting Numbers: [46, 123] Generated Node #0,3,4: 49:[46, 123] Operation: 87+36=123 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[46, 51], Operations: ['57-21=36', '87-36=51'] Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,49 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[36, 41], Operations: ['57-21=36', '87-46=41'] Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,49 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[87, 10], Operations: ['57-21=36', '46-36=10'] Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,49 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[87, 82], Operations: ['57-21=36', '46+36=82'] Exploring Operation: 87+82=169, Resulting Numbers: [169] 169,49 unequal: No Solution Exploring Operation: 87*82=7134, Resulting Numbers: [7134] 7134,49 unequal: No Solution Exploring Operation: 87-82=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 49:[46, 123], Operations: ['57-21=36', '87+36=123'] Exploring Operation: 46*123=5658, Resulting Numbers: [5658] 5658,49 unequal: No Solution Exploring Operation: 46+123=169, Resulting Numbers: [169] 169,49 unequal: No Solution Exploring Operation: 123-46=77, Resulting Numbers: [77] 77,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[87, 21, 11], Operations: ['57-46=11'] Exploring Operation: 87-21=66, Resulting Numbers: [11, 66] Generated Node #0,4,0: 49:[11, 66] Operation: 87-21=66 Exploring Operation: 21+11=32, Resulting Numbers: [87, 32] Generated Node #0,4,1: 49:[87, 32] Operation: 21+11=32 Exploring Operation: 87-11=76, Resulting Numbers: [21, 76] Generated Node #0,4,2: 49:[21, 76] Operation: 87-11=76 Exploring Operation: 87+21=108, Resulting Numbers: [11, 108] Generated Node #0,4,3: 49:[11, 108] Operation: 87+21=108 Exploring Operation: 21-11=10, Resulting Numbers: [87, 10] Generated Node #0,4,4: 49:[87, 10] Operation: 21-11=10 Moving to Node #0,4,0 Current State: 49:[11, 66], Operations: ['57-46=11', '87-21=66'] Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,49 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,49 unequal: No Solution Moving to Node #0,4,4 Current State: 49:[87, 10], Operations: ['57-46=11', '21-11=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,49 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[21, 76], Operations: ['57-46=11', '87-11=76'] Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,49 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,49 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,49 unequal: No Solution Moving to Node #0,4,1 Current State: 49:[87, 32], Operations: ['57-46=11', '21+11=32'] Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,49 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[11, 108], Operations: ['57-46=11', '87+21=108'] Exploring Operation: 11*108=1188, Resulting Numbers: [1188] 1188,49 unequal: No Solution Exploring Operation: 11+108=119, Resulting Numbers: [119] 119,49 unequal: No Solution Exploring Operation: 108-11=97, Resulting Numbers: [97] 97,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 6, 63, 54, 99 ]
96
[ "63-6=57", "54+99=153", "153-57=96" ]
Current State: 96:[6, 63, 54, 99], Operations: [] Exploring Operation: 63-6=57, Resulting Numbers: [54, 99, 57] Generated Node #2: [54, 99, 57] from Operation: 63-6=57 Current State: 96:[54, 99, 57], Operations: ['63-6=57'] Exploring Operation: 54+99=153, Resulting Numbers: [57, 153] Generated Node #3: [57, 153] from Operation: 54+99=153 Current State: 96:[57, 153], Operations: ['63-6=57', '54+99=153'] Exploring Operation: 153-57=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 63, 54, 99], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [6, 99, 9] Generated Node #0,0: 96:[6, 99, 9] Operation: 63-54=9 Exploring Operation: 99-63=36, Resulting Numbers: [6, 54, 36] Generated Node #0,1: 96:[6, 54, 36] Operation: 99-63=36 Moving to Node #0,0 Current State: 96:[6, 99, 9], Operations: ['63-54=9'] Exploring Operation: 9-6=3, Resulting Numbers: [99, 3] Generated Node #0,0,0: 96:[99, 3] Operation: 9-6=3 Exploring Operation: 99/9=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 96:[6, 11] Operation: 99/9=11 Moving to Node #0,1 Current State: 96:[6, 54, 36], Operations: ['99-63=36'] Exploring Operation: 54-36=18, Resulting Numbers: [6, 18] Generated Node #0,1,0: 96:[6, 18] Operation: 54-36=18 Exploring Operation: 54-6=48, Resulting Numbers: [36, 48] Generated Node #0,1,1: 96:[36, 48] Operation: 54-6=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[6, 18], Operations: ['99-63=36', '54-36=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,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,1,1 Current State: 96:[36, 48], Operations: ['99-63=36', '54-6=48'] Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,96 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,96 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: 96:[6, 11], Operations: ['63-54=9', '99/9=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[99, 3], Operations: ['63-54=9', '9-6=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[6, 63, 54, 99], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [6, 99, 9] Generated Node #0,0: 96:[6, 99, 9] Operation: 63-54=9 Moving to Node #0,0 Current State: 96:[6, 99, 9], Operations: ['63-54=9'] Exploring Operation: 9-6=3, Resulting Numbers: [99, 3] Generated Node #0,0,0: 96:[99, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 96:[99, 3], Operations: ['63-54=9', '9-6=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 27, 72, 23, 37 ]
31
[ "72-27=45", "37-23=14", "45-14=31" ]
Current State: 31:[27, 72, 23, 37], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [23, 37, 45] Generated Node #2: [23, 37, 45] from Operation: 72-27=45 Current State: 31:[23, 37, 45], Operations: ['72-27=45'] Exploring Operation: 37-23=14, Resulting Numbers: [45, 14] Generated Node #3: [45, 14] from Operation: 37-23=14 Current State: 31:[45, 14], Operations: ['72-27=45', '37-23=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[27, 72, 23, 37], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [23, 37, 45] Generated Node #0,0: 31:[23, 37, 45] Operation: 72-27=45 Exploring Operation: 37-23=14, Resulting Numbers: [27, 72, 14] Generated Node #0,1: 31:[27, 72, 14] Operation: 37-23=14 Exploring Operation: 72-23=49, Resulting Numbers: [27, 37, 49] Generated Node #0,2: 31:[27, 37, 49] Operation: 72-23=49 Exploring Operation: 72-37=35, Resulting Numbers: [27, 23, 35] Generated Node #0,3: 31:[27, 23, 35] Operation: 72-37=35 Moving to Node #0,3 Current State: 31:[27, 23, 35], Operations: ['72-37=35'] Exploring Operation: 35-23=12, Resulting Numbers: [27, 12] Generated Node #0,3,0: 31:[27, 12] Operation: 35-23=12 Exploring Operation: 35-27=8, Resulting Numbers: [23, 8] Generated Node #0,3,1: 31:[23, 8] Operation: 35-27=8 Exploring Operation: 27+23=50, Resulting Numbers: [35, 50] Generated Node #0,3,2: 31:[35, 50] Operation: 27+23=50 Exploring Operation: 27-23=4, Resulting Numbers: [35, 4] Generated Node #0,3,3: 31:[35, 4] Operation: 27-23=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[27, 12], Operations: ['72-37=35', '35-23=12'] Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,31 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[35, 50], Operations: ['72-37=35', '27+23=50'] Exploring Operation: 35*50=1750, Resulting Numbers: [1750] 1750,31 unequal: No Solution Exploring Operation: 35+50=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[23, 8], Operations: ['72-37=35', '35-27=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,31 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[27, 72, 23, 37], Operations: [] Exploring Operation: 72-37=35, Resulting Numbers: [27, 23, 35] Generated Node #0,3: 31:[27, 23, 35] Operation: 72-37=35 Moving to Node #0,3 Current State: 31:[27, 23, 35], Operations: ['72-37=35'] Exploring Operation: 35-27=8, Resulting Numbers: [23, 8] Generated Node #0,3,1: 31:[23, 8] Operation: 35-27=8 Moving to Node #0,3,1 Current State: 31:[23, 8], Operations: ['72-37=35', '35-27=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 38, 54, 16, 21 ]
87
[ "38+54=92", "21-16=5", "92-5=87" ]
Current State: 87:[38, 54, 16, 21], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [16, 21, 92] Generated Node #2: [16, 21, 92] from Operation: 38+54=92 Current State: 87:[16, 21, 92], Operations: ['38+54=92'] Exploring Operation: 21-16=5, Resulting Numbers: [92, 5] Generated Node #3: [92, 5] from Operation: 21-16=5 Current State: 87:[92, 5], Operations: ['38+54=92', '21-16=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[38, 54, 16, 21], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [16, 21, 92] Generated Node #0,0: 87:[16, 21, 92] Operation: 38+54=92 Moving to Node #0,0 Current State: 87:[16, 21, 92], Operations: ['38+54=92'] Exploring Operation: 21-16=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 21-16=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['38+54=92', '21-16=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[38, 54, 16, 21], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [16, 21, 92] Generated Node #0,0: 87:[16, 21, 92] Operation: 38+54=92 Moving to Node #0,0 Current State: 87:[16, 21, 92], Operations: ['38+54=92'] Exploring Operation: 21-16=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 21-16=5 Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['38+54=92', '21-16=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 74, 8, 54 ]
27
[ "33*54=1782", "74-8=66", "1782/66=27" ]
Current State: 27:[33, 74, 8, 54], Operations: [] Exploring Operation: 33*54=1782, Resulting Numbers: [74, 8, 1782] Generated Node #2: [74, 8, 1782] from Operation: 33*54=1782 Current State: 27:[74, 8, 1782], Operations: ['33*54=1782'] Exploring Operation: 74-8=66, Resulting Numbers: [1782, 66] Generated Node #3: [1782, 66] from Operation: 74-8=66 Current State: 27:[1782, 66], Operations: ['33*54=1782', '74-8=66'] Exploring Operation: 1782/66=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[33, 74, 8, 54], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [33, 8, 20] Generated Node #0,0: 27:[33, 8, 20] Operation: 74-54=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[33, 8, 20], Operations: ['74-54=20'] Exploring Operation: 33-20=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 27:[8, 13] Operation: 33-20=13 Moving to Node #0,0,0 Current State: 27:[8, 13], Operations: ['74-54=20', '33-20=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,27 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
[ 27, 7, 29, 71 ]
85
[ "29-27=2", "7*2=14", "71+14=85" ]
Current State: 85:[27, 7, 29, 71], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [7, 71, 2] Generated Node #2: [7, 71, 2] from Operation: 29-27=2 Current State: 85:[7, 71, 2], Operations: ['29-27=2'] Exploring Operation: 7*2=14, Resulting Numbers: [71, 14] Generated Node #3: [71, 14] from Operation: 7*2=14 Current State: 85:[71, 14], Operations: ['29-27=2', '7*2=14'] Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[27, 7, 29, 71], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [7, 71, 2] Generated Node #0,0: 85:[7, 71, 2] Operation: 29-27=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[7, 71, 2], Operations: ['29-27=2'] Exploring Operation: 7+71=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 85:[2, 78] Operation: 7+71=78 Moving to Node #0,0,0 Current State: 85:[2, 78], Operations: ['29-27=2', '7+71=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,85 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
[ 13, 1, 9, 10 ]
12
[ "13*1=13", "10-9=1", "13-1=12" ]
Current State: 12:[13, 1, 9, 10], Operations: [] Exploring Operation: 13*1=13, Resulting Numbers: [9, 10, 13] Generated Node #2: [9, 10, 13] from Operation: 13*1=13 Current State: 12:[9, 10, 13], Operations: ['13*1=13'] Exploring Operation: 10-9=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 10-9=1 Current State: 12:[13, 1], Operations: ['13*1=13', '10-9=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[13, 1, 9, 10], Operations: [] Exploring Operation: 13-9=4, Resulting Numbers: [1, 10, 4] Generated Node #0,0: 12:[1, 10, 4] Operation: 13-9=4 Moving to Node #0,0 Current State: 12:[1, 10, 4], Operations: ['13-9=4'] Exploring Operation: 1+10=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 12:[4, 11] Operation: 1+10=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[4, 11], Operations: ['13-9=4', '1+10=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 77, 99, 81, 7 ]
96
[ "99-77=22", "81-7=74", "22+74=96" ]
Current State: 96:[77, 99, 81, 7], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [81, 7, 22] Generated Node #2: [81, 7, 22] from Operation: 99-77=22 Current State: 96:[81, 7, 22], Operations: ['99-77=22'] Exploring Operation: 81-7=74, Resulting Numbers: [22, 74] Generated Node #3: [22, 74] from Operation: 81-7=74 Current State: 96:[22, 74], Operations: ['99-77=22', '81-7=74'] Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[77, 99, 81, 7], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [77, 7, 18] Generated Node #0,0: 96:[77, 7, 18] Operation: 99-81=18 Exploring Operation: 77+7=84, Resulting Numbers: [99, 81, 84] Generated Node #0,1: 96:[99, 81, 84] Operation: 77+7=84 Exploring Operation: 81-77=4, Resulting Numbers: [99, 7, 4] Generated Node #0,2: 96:[99, 7, 4] Operation: 81-77=4 Exploring Operation: 77/7=11, Resulting Numbers: [99, 81, 11] Generated Node #0,3: 96:[99, 81, 11] Operation: 77/7=11 Exploring Operation: 99-77=22, Resulting Numbers: [81, 7, 22] Generated Node #0,4: 96:[81, 7, 22] Operation: 99-77=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[99, 7, 4], Operations: ['81-77=4'] Exploring Operation: 99-4=95, Resulting Numbers: [7, 95] Generated Node #0,2,0: 96:[7, 95] Operation: 99-4=95 Exploring Operation: 99-7=92, Resulting Numbers: [4, 92] Generated Node #0,2,1: 96:[4, 92] Operation: 99-7=92 Exploring Operation: 7*4=28, Resulting Numbers: [99, 28] Generated Node #0,2,2: 96:[99, 28] Operation: 7*4=28 Exploring Operation: 7-4=3, Resulting Numbers: [99, 3] Generated Node #0,2,3: 96:[99, 3] Operation: 7-4=3 Exploring Operation: 7+4=11, Resulting Numbers: [99, 11] Generated Node #0,2,4: 96:[99, 11] Operation: 7+4=11 Moving to Node #0,2,0 Current State: 96:[7, 95], Operations: ['81-77=4', '99-4=95'] Exploring Operation: 7+95=102, Resulting Numbers: [102] 102,96 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 7*95=665, Resulting Numbers: [665] 665,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[99, 3], Operations: ['81-77=4', '7-4=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[77, 99, 81, 7], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [99, 7, 4] Generated Node #0,2: 96:[99, 7, 4] Operation: 81-77=4 Moving to Node #0,2 Current State: 96:[99, 7, 4], Operations: ['81-77=4'] Exploring Operation: 7-4=3, Resulting Numbers: [99, 3] Generated Node #0,2,3: 96:[99, 3] Operation: 7-4=3 Moving to Node #0,2,3 Current State: 96:[99, 3], Operations: ['81-77=4', '7-4=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 62, 34, 6, 12 ]
28
[ "62+34=96", "96/6=16", "12+16=28" ]
Current State: 28:[62, 34, 6, 12], Operations: [] Exploring Operation: 62+34=96, Resulting Numbers: [6, 12, 96] Generated Node #2: [6, 12, 96] from Operation: 62+34=96 Current State: 28:[6, 12, 96], Operations: ['62+34=96'] Exploring Operation: 96/6=16, Resulting Numbers: [12, 16] Generated Node #3: [12, 16] from Operation: 96/6=16 Current State: 28:[12, 16], Operations: ['62+34=96', '96/6=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[62, 34, 6, 12], Operations: [] Exploring Operation: 62-34=28, Resulting Numbers: [6, 12, 28] Generated Node #0,0: 28:[6, 12, 28] Operation: 62-34=28 Exploring Operation: 34-6=28, Resulting Numbers: [62, 12, 28] Generated Node #0,1: 28:[62, 12, 28] Operation: 34-6=28 Exploring Operation: 62-6=56, Resulting Numbers: [34, 12, 56] Generated Node #0,2: 28:[34, 12, 56] Operation: 62-6=56 Exploring Operation: 62-12=50, Resulting Numbers: [34, 6, 50] Generated Node #0,3: 28:[34, 6, 50] Operation: 62-12=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[6, 12, 28], Operations: ['62-34=28'] Exploring Operation: 6+12=18, Resulting Numbers: [28, 18] Generated Node #0,0,0: 28:[28, 18] Operation: 6+12=18 Exploring Operation: 12/6=2, Resulting Numbers: [28, 2] Generated Node #0,0,1: 28:[28, 2] Operation: 12/6=2 Exploring Operation: 28-12=16, Resulting Numbers: [6, 16] Generated Node #0,0,2: 28:[6, 16] Operation: 28-12=16 Exploring Operation: 12-6=6, Resulting Numbers: [28, 6] Generated Node #0,0,3: 28:[28, 6] Operation: 12-6=6 Moving to Node #0,0,1 Current State: 28:[28, 2], Operations: ['62-34=28', '12/6=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,28 unequal: No Solution Moving to Node #0,0,3 Current State: 28:[28, 6], Operations: ['62-34=28', '12-6=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[6, 16], Operations: ['62-34=28', '28-12=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[28, 18], Operations: ['62-34=28', '6+12=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,28 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,28 unequal: No Solution No 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: 28:[34, 6, 50], Operations: ['62-12=50'] Exploring Operation: 34+6=40, Resulting Numbers: [50, 40] Generated Node #0,3,0: 28:[50, 40] Operation: 34+6=40 Exploring Operation: 50-34=16, Resulting Numbers: [6, 16] Generated Node #0,3,1: 28:[6, 16] Operation: 50-34=16 Exploring Operation: 50-6=44, Resulting Numbers: [34, 44] Generated Node #0,3,2: 28:[34, 44] Operation: 50-6=44 Exploring Operation: 34-6=28, Resulting Numbers: [50, 28] Generated Node #0,3,3: 28:[50, 28] Operation: 34-6=28 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[6, 16], Operations: ['62-12=50', '50-34=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,28 unequal: No Solution No 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: 28:[34, 44], Operations: ['62-12=50', '50-6=44'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,28 unequal: No Solution No 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: 28:[50, 28], Operations: ['62-12=50', '34-6=28'] Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,28 unequal: No Solution No 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: 28:[50, 40], Operations: ['62-12=50', '34+6=40'] Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,28 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,28 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: 28:[62, 12, 28], Operations: ['34-6=28'] Exploring Operation: 28-12=16, Resulting Numbers: [62, 16] Generated Node #0,1,0: 28:[62, 16] Operation: 28-12=16 Exploring Operation: 62-28=34, Resulting Numbers: [12, 34] Generated Node #0,1,1: 28:[12, 34] Operation: 62-28=34 Exploring Operation: 62-12=50, Resulting Numbers: [28, 50] Generated Node #0,1,2: 28:[28, 50] Operation: 62-12=50 Exploring Operation: 62+12=74, Resulting Numbers: [28, 74] Generated Node #0,1,3: 28:[28, 74] Operation: 62+12=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[12, 34], Operations: ['34-6=28', '62-28=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,28 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,28 unequal: No Solution No 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: 28:[28, 50], Operations: ['34-6=28', '62-12=50'] Exploring Operation: 28*50=1400, Resulting Numbers: [1400] 1400,28 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 28+50=78, Resulting Numbers: [78] 78,28 unequal: No Solution No 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: 28:[62, 16], Operations: ['34-6=28', '28-12=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 62*16=992, Resulting Numbers: [992] 992,28 unequal: No Solution No 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: 28:[28, 74], Operations: ['34-6=28', '62+12=74'] Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 28+74=102, Resulting Numbers: [102] 102,28 unequal: No Solution Exploring Operation: 28*74=2072, Resulting Numbers: [2072] 2072,28 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: 28:[34, 12, 56], Operations: ['62-6=56'] Exploring Operation: 56-12=44, Resulting Numbers: [34, 44] Generated Node #0,2,0: 28:[34, 44] Operation: 56-12=44 Exploring Operation: 34+12=46, Resulting Numbers: [56, 46] Generated Node #0,2,1: 28:[56, 46] Operation: 34+12=46 Exploring Operation: 56-34=22, Resulting Numbers: [12, 22] Generated Node #0,2,2: 28:[12, 22] Operation: 56-34=22 Exploring Operation: 34-12=22, Resulting Numbers: [56, 22] Generated Node #0,2,3: 28:[56, 22] Operation: 34-12=22 Moving to Node #0,2,2 Current State: 28:[12, 22], Operations: ['62-6=56', '56-34=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,28 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[34, 44], Operations: ['62-6=56', '56-12=44'] Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,28 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[56, 22], Operations: ['62-6=56', '34-12=22'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[56, 46], Operations: ['62-6=56', '34+12=46'] Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,28 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,28 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
[ 71, 8, 75, 66 ]
68
[ "75-71=4", "8/4=2", "66+2=68" ]
Current State: 68:[71, 8, 75, 66], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [8, 66, 4] Generated Node #2: [8, 66, 4] from Operation: 75-71=4 Current State: 68:[8, 66, 4], Operations: ['75-71=4'] Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 8/4=2 Current State: 68:[66, 2], Operations: ['75-71=4', '8/4=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[71, 8, 75, 66], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [8, 66, 4] Generated Node #0,0: 68:[8, 66, 4] Operation: 75-71=4 Exploring Operation: 71-8=63, Resulting Numbers: [75, 66, 63] Generated Node #0,1: 68:[75, 66, 63] Operation: 71-8=63 Exploring Operation: 75-8=67, Resulting Numbers: [71, 66, 67] Generated Node #0,2: 68:[71, 66, 67] Operation: 75-8=67 Exploring Operation: 71-66=5, Resulting Numbers: [8, 75, 5] Generated Node #0,3: 68:[8, 75, 5] Operation: 71-66=5 Exploring Operation: 75-66=9, Resulting Numbers: [71, 8, 9] Generated Node #0,4: 68:[71, 8, 9] Operation: 75-66=9 Moving to Node #0,0 Current State: 68:[8, 66, 4], Operations: ['75-71=4'] Exploring Operation: 8*4=32, Resulting Numbers: [66, 32] Generated Node #0,0,0: 68:[66, 32] Operation: 8*4=32 Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #0,0,1: 68:[66, 2] Operation: 8/4=2 Exploring Operation: 8+66=74, Resulting Numbers: [4, 74] Generated Node #0,0,2: 68:[4, 74] Operation: 8+66=74 Exploring Operation: 66+4=70, Resulting Numbers: [8, 70] Generated Node #0,0,3: 68:[8, 70] Operation: 66+4=70 Exploring Operation: 8-4=4, Resulting Numbers: [66, 4] Generated Node #0,0,4: 68:[66, 4] Operation: 8-4=4 Moving to Node #0,2 Current State: 68:[71, 66, 67], Operations: ['75-8=67'] Exploring Operation: 71-67=4, Resulting Numbers: [66, 4] Generated Node #0,2,0: 68:[66, 4] Operation: 71-67=4 Exploring Operation: 71+66=137, Resulting Numbers: [67, 137] Generated Node #0,2,1: 68:[67, 137] Operation: 71+66=137 Exploring Operation: 67-66=1, Resulting Numbers: [71, 1] Generated Node #0,2,2: 68:[71, 1] Operation: 67-66=1 Exploring Operation: 71-66=5, Resulting Numbers: [67, 5] Generated Node #0,2,3: 68:[67, 5] Operation: 71-66=5 Exploring Operation: 66+67=133, Resulting Numbers: [71, 133] Generated Node #0,2,4: 68:[71, 133] Operation: 66+67=133 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[66, 4], Operations: ['75-8=67', '71-67=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,68 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,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,2,3 Current State: 68:[67, 5], Operations: ['75-8=67', '71-66=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,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,2,2 Current State: 68:[71, 1], Operations: ['75-8=67', '67-66=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,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,2,4 Current State: 68:[71, 133], Operations: ['75-8=67', '66+67=133'] Exploring Operation: 71+133=204, Resulting Numbers: [204] 204,68 unequal: No Solution Exploring Operation: 71*133=9443, Resulting Numbers: [9443] 9443,68 unequal: No Solution Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,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,2,1 Current State: 68:[67, 137], Operations: ['75-8=67', '71+66=137'] Exploring Operation: 137-67=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 67*137=9179, Resulting Numbers: [9179] 9179,68 unequal: No Solution Exploring Operation: 67+137=204, Resulting Numbers: [204] 204,68 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: 68:[8, 75, 5], Operations: ['71-66=5'] Exploring Operation: 75-8=67, Resulting Numbers: [5, 67] Generated Node #0,3,0: 68:[5, 67] Operation: 75-8=67 Exploring Operation: 8+5=13, Resulting Numbers: [75, 13] Generated Node #0,3,1: 68:[75, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [75, 3] Generated Node #0,3,2: 68:[75, 3] Operation: 8-5=3 Exploring Operation: 75-5=70, Resulting Numbers: [8, 70] Generated Node #0,3,3: 68:[8, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [8, 15] Generated Node #0,3,4: 68:[8, 15] Operation: 75/5=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[5, 67], Operations: ['71-66=5', '75-8=67'] Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,68 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,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,3,3 Current State: 68:[8, 70], Operations: ['71-66=5', '75-5=70'] Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,68 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,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,3,4 Current State: 68:[8, 15], Operations: ['71-66=5', '75/5=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,68 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,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,3,2 Current State: 68:[75, 3], Operations: ['71-66=5', '8-5=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,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,3,1 Current State: 68:[75, 13], Operations: ['71-66=5', '8+5=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,68 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,68 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,68 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: 68:[71, 8, 9], Operations: ['75-66=9'] Exploring Operation: 71-8=63, Resulting Numbers: [9, 63] Generated Node #0,4,0: 68:[9, 63] Operation: 71-8=63 Exploring Operation: 71-9=62, Resulting Numbers: [8, 62] Generated Node #0,4,1: 68:[8, 62] Operation: 71-9=62 Exploring Operation: 8*9=72, Resulting Numbers: [71, 72] Generated Node #0,4,2: 68:[71, 72] Operation: 8*9=72 Exploring Operation: 8+9=17, Resulting Numbers: [71, 17] Generated Node #0,4,3: 68:[71, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [71, 1] Generated Node #0,4,4: 68:[71, 1] Operation: 9-8=1 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[71, 17], Operations: ['75-66=9', '8+9=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,68 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,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,4,4 Current State: 68:[71, 1], Operations: ['75-66=9', '9-8=1'] Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,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,4,2 Current State: 68:[71, 72], Operations: ['75-66=9', '8*9=72'] Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,68 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,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,4,0 Current State: 68:[9, 63], Operations: ['75-66=9', '71-8=63'] Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 9*63=567, Resulting Numbers: [567] 567,68 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,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,4,1 Current State: 68:[8, 62], Operations: ['75-66=9', '71-9=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,68 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,68 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: 68:[75, 66, 63], Operations: ['71-8=63'] Exploring Operation: 75-66=9, Resulting Numbers: [63, 9] Generated Node #0,1,0: 68:[63, 9] Operation: 75-66=9 Exploring Operation: 75-63=12, Resulting Numbers: [66, 12] Generated Node #0,1,1: 68:[66, 12] Operation: 75-63=12 Exploring Operation: 75+63=138, Resulting Numbers: [66, 138] Generated Node #0,1,2: 68:[66, 138] Operation: 75+63=138 Exploring Operation: 66-63=3, Resulting Numbers: [75, 3] Generated Node #0,1,3: 68:[75, 3] Operation: 66-63=3 Exploring Operation: 66+63=129, Resulting Numbers: [75, 129] Generated Node #0,1,4: 68:[75, 129] Operation: 66+63=129 Moving to Node #0,0,1 Current State: 68:[66, 2], Operations: ['75-71=4', '8/4=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,68 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[71, 8, 75, 66], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [8, 66, 4] Generated Node #0,0: 68:[8, 66, 4] Operation: 75-71=4 Moving to Node #0,0 Current State: 68:[8, 66, 4], Operations: ['75-71=4'] Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #0,0,1: 68:[66, 2] Operation: 8/4=2 Moving to Node #0,0,1 Current State: 68:[66, 2], Operations: ['75-71=4', '8/4=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.924479
hs_5
mult_heuristic
[ 35, 3, 49, 57 ]
46
[ "35+3=38", "57-49=8", "38+8=46" ]
Current State: 46:[35, 3, 49, 57], Operations: [] Exploring Operation: 35+3=38, Resulting Numbers: [49, 57, 38] Generated Node #2: [49, 57, 38] from Operation: 35+3=38 Current State: 46:[49, 57, 38], Operations: ['35+3=38'] Exploring Operation: 57-49=8, Resulting Numbers: [38, 8] Generated Node #3: [38, 8] from Operation: 57-49=8 Current State: 46:[38, 8], Operations: ['35+3=38', '57-49=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[35, 3, 49, 57], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [35, 49, 19] Generated Node #0,0: 46:[35, 49, 19] Operation: 57/3=19 Exploring Operation: 57-35=22, Resulting Numbers: [3, 49, 22] Generated Node #0,1: 46:[3, 49, 22] Operation: 57-35=22 Exploring Operation: 57-49=8, Resulting Numbers: [35, 3, 8] Generated Node #0,2: 46:[35, 3, 8] Operation: 57-49=8 Moving to Node #0,1 Current State: 46:[3, 49, 22], Operations: ['57-35=22'] Exploring Operation: 3+22=25, Resulting Numbers: [49, 25] Generated Node #0,1,0: 46:[49, 25] Operation: 3+22=25 Exploring Operation: 49-3=46, Resulting Numbers: [22, 46] Generated Node #0,1,1: 46:[22, 46] Operation: 49-3=46 Exploring Operation: 49-22=27, Resulting Numbers: [3, 27] Generated Node #0,1,2: 46:[3, 27] Operation: 49-22=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[22, 46], Operations: ['57-35=22', '49-3=46'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,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,1,0 Current State: 46:[49, 25], Operations: ['57-35=22', '3+22=25'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,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,1,2 Current State: 46:[3, 27], Operations: ['57-35=22', '49-22=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 46:[35, 49, 19], Operations: ['57/3=19'] Exploring Operation: 49-35=14, Resulting Numbers: [19, 14] Generated Node #0,0,0: 46:[19, 14] Operation: 49-35=14 Exploring Operation: 35+19=54, Resulting Numbers: [49, 54] Generated Node #0,0,1: 46:[49, 54] Operation: 35+19=54 Exploring Operation: 35-19=16, Resulting Numbers: [49, 16] Generated Node #0,0,2: 46:[49, 16] Operation: 35-19=16 Moving to Node #0,2 Current State: 46:[35, 3, 8], Operations: ['57-49=8'] Exploring Operation: 3*8=24, Resulting Numbers: [35, 24] Generated Node #0,2,0: 46:[35, 24] Operation: 3*8=24 Exploring Operation: 35+8=43, Resulting Numbers: [3, 43] Generated Node #0,2,1: 46:[3, 43] Operation: 35+8=43 Exploring Operation: 35-8=27, Resulting Numbers: [3, 27] Generated Node #0,2,2: 46:[3, 27] Operation: 35-8=27 Moving to Node #0,2,1 Current State: 46:[3, 43], Operations: ['57-49=8', '35+8=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[35, 3, 49, 57], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [35, 3, 8] Generated Node #0,2: 46:[35, 3, 8] Operation: 57-49=8 Moving to Node #0,2 Current State: 46:[35, 3, 8], Operations: ['57-49=8'] Exploring Operation: 35+8=43, Resulting Numbers: [3, 43] Generated Node #0,2,1: 46:[3, 43] Operation: 35+8=43 Moving to Node #0,2,1 Current State: 46:[3, 43], Operations: ['57-49=8', '35+8=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 3, 11, 39, 62 ]
64
[ "39/3=13", "62-11=51", "13+51=64" ]
Current State: 64:[3, 11, 39, 62], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [11, 62, 13] Generated Node #2: [11, 62, 13] from Operation: 39/3=13 Current State: 64:[11, 62, 13], Operations: ['39/3=13'] Exploring Operation: 62-11=51, Resulting Numbers: [13, 51] Generated Node #3: [13, 51] from Operation: 62-11=51 Current State: 64:[13, 51], Operations: ['39/3=13', '62-11=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[3, 11, 39, 62], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [11, 62, 13] Generated Node #0,0: 64:[11, 62, 13] Operation: 39/3=13 Exploring Operation: 39-11=28, Resulting Numbers: [3, 62, 28] Generated Node #0,1: 64:[3, 62, 28] Operation: 39-11=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[3, 62, 28], Operations: ['39-11=28'] Exploring Operation: 3+28=31, Resulting Numbers: [62, 31] Generated Node #0,1,0: 64:[62, 31] Operation: 3+28=31 Exploring Operation: 62-28=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 64:[3, 34] Operation: 62-28=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[62, 31], Operations: ['39-11=28', '3+28=31'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[3, 34], Operations: ['39-11=28', '62-28=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[11, 62, 13], Operations: ['39/3=13'] Exploring Operation: 13-11=2, Resulting Numbers: [62, 2] Generated Node #0,0,0: 64:[62, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [62, 24] Generated Node #0,0,1: 64:[62, 24] Operation: 11+13=24 Moving to Node #0,0,0 Current State: 64:[62, 2], Operations: ['39/3=13', '13-11=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[3, 11, 39, 62], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [11, 62, 13] Generated Node #0,0: 64:[11, 62, 13] Operation: 39/3=13 Moving to Node #0,0 Current State: 64:[11, 62, 13], Operations: ['39/3=13'] Exploring Operation: 13-11=2, Resulting Numbers: [62, 2] Generated Node #0,0,0: 64:[62, 2] Operation: 13-11=2 Moving to Node #0,0,0 Current State: 64:[62, 2], Operations: ['39/3=13', '13-11=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 29, 17, 82, 31 ]
63
[ "29-17=12", "82-31=51", "12+51=63" ]
Current State: 63:[29, 17, 82, 31], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [82, 31, 12] Generated Node #2: [82, 31, 12] from Operation: 29-17=12 Current State: 63:[82, 31, 12], Operations: ['29-17=12'] Exploring Operation: 82-31=51, Resulting Numbers: [12, 51] Generated Node #3: [12, 51] from Operation: 82-31=51 Current State: 63:[12, 51], Operations: ['29-17=12', '82-31=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[29, 17, 82, 31], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [17, 31, 53] Generated Node #0,0: 63:[17, 31, 53] Operation: 82-29=53 Exploring Operation: 82-17=65, Resulting Numbers: [29, 31, 65] Generated Node #0,1: 63:[29, 31, 65] Operation: 82-17=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[29, 31, 65], Operations: ['82-17=65'] Exploring Operation: 31-29=2, Resulting Numbers: [65, 2] Generated Node #0,1,0: 63:[65, 2] Operation: 31-29=2 Exploring Operation: 29+31=60, Resulting Numbers: [65, 60] Generated Node #0,1,1: 63:[65, 60] Operation: 29+31=60 Moving to Node #0,1,0 Current State: 63:[65, 2], Operations: ['82-17=65', '31-29=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[29, 17, 82, 31], Operations: [] Exploring Operation: 82-17=65, Resulting Numbers: [29, 31, 65] Generated Node #0,1: 63:[29, 31, 65] Operation: 82-17=65 Moving to Node #0,1 Current State: 63:[29, 31, 65], Operations: ['82-17=65'] Exploring Operation: 31-29=2, Resulting Numbers: [65, 2] Generated Node #0,1,0: 63:[65, 2] Operation: 31-29=2 Moving to Node #0,1,0 Current State: 63:[65, 2], Operations: ['82-17=65', '31-29=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 30, 12, 8, 49 ]
71
[ "12-8=4", "30*4=120", "120-49=71" ]
Current State: 71:[30, 12, 8, 49], Operations: [] Exploring Operation: 12-8=4, Resulting Numbers: [30, 49, 4] Generated Node #2: [30, 49, 4] from Operation: 12-8=4 Current State: 71:[30, 49, 4], Operations: ['12-8=4'] Exploring Operation: 30*4=120, Resulting Numbers: [49, 120] Generated Node #3: [49, 120] from Operation: 30*4=120 Current State: 71:[49, 120], Operations: ['12-8=4', '30*4=120'] Exploring Operation: 120-49=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[30, 12, 8, 49], Operations: [] Exploring Operation: 30+12=42, Resulting Numbers: [8, 49, 42] Generated Node #0,0: 71:[8, 49, 42] Operation: 30+12=42 Exploring Operation: 12*8=96, Resulting Numbers: [30, 49, 96] Generated Node #0,1: 71:[30, 49, 96] Operation: 12*8=96 Moving to Node #0,1 Current State: 71:[30, 49, 96], Operations: ['12*8=96'] Exploring Operation: 96-30=66, Resulting Numbers: [49, 66] Generated Node #0,1,0: 71:[49, 66] Operation: 96-30=66 Exploring Operation: 30+49=79, Resulting Numbers: [96, 79] Generated Node #0,1,1: 71:[96, 79] Operation: 30+49=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[49, 66], Operations: ['12*8=96', '96-30=66'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[96, 79], Operations: ['12*8=96', '30+49=79'] Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 96+79=175, Resulting Numbers: [175] 175,71 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: 71:[8, 49, 42], Operations: ['30+12=42'] Exploring Operation: 8+49=57, Resulting Numbers: [42, 57] Generated Node #0,0,0: 71:[42, 57] Operation: 8+49=57 Exploring Operation: 8+42=50, Resulting Numbers: [49, 50] Generated Node #0,0,1: 71:[49, 50] Operation: 8+42=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[42, 57], Operations: ['30+12=42', '8+49=57'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,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,1 Current State: 71:[49, 50], Operations: ['30+12=42', '8+42=50'] Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,71 unequal: No Solution Exploring Operation: 50-49=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_2
sum_heuristic
[ 3, 3, 14, 38 ]
12
[ "3*14=42", "42-38=4", "3*4=12" ]
Current State: 12:[3, 3, 14, 38], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [38, 42] Generated Node #2: [38, 42] from Operation: 3*14=42 Current State: 12:[38, 42], Operations: ['3*14=42'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,12 equal: Goal Reached Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[3, 3, 14, 38], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [3, 3, 24] Generated Node #0,0: 12:[3, 3, 24] Operation: 38-14=24 Exploring Operation: 38-3=35, Resulting Numbers: [3, 14, 35] Generated Node #0,1: 12:[3, 14, 35] Operation: 38-3=35 Exploring Operation: 38-3=35, Resulting Numbers: [3, 14, 35] Generated Node #0,2: 12:[3, 14, 35] Operation: 38-3=35 Moving to Node #0,0 Current State: 12:[3, 3, 24], Operations: ['38-14=24'] Exploring Operation: 24-3=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 12:[3, 21] Operation: 24-3=21 Exploring Operation: 24/3=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 12:[3, 8] Operation: 24/3=8 Exploring Operation: 24/3=8, Resulting Numbers: [3, 8] Generated Node #0,0,2: 12:[3, 8] Operation: 24/3=8 Moving to Node #0,1 Current State: 12:[3, 14, 35], Operations: ['38-3=35'] Exploring Operation: 35-14=21, Resulting Numbers: [3, 21] Generated Node #0,1,0: 12:[3, 21] Operation: 35-14=21 Exploring Operation: 14-3=11, Resulting Numbers: [35, 11] Generated Node #0,1,1: 12:[35, 11] Operation: 14-3=11 Exploring Operation: 35-3=32, Resulting Numbers: [14, 32] Generated Node #0,1,2: 12:[14, 32] Operation: 35-3=32 Moving to Node #0,2 Current State: 12:[3, 14, 35], Operations: ['38-3=35'] Exploring Operation: 14-3=11, Resulting Numbers: [35, 11] Generated Node #0,2,0: 12:[35, 11] Operation: 14-3=11 Exploring Operation: 35-3=32, Resulting Numbers: [14, 32] Generated Node #0,2,1: 12:[14, 32] Operation: 35-3=32 Exploring Operation: 35-14=21, Resulting Numbers: [3, 21] Generated Node #0,2,2: 12:[3, 21] Operation: 35-14=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[3, 21], Operations: ['38-3=35', '35-14=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[14, 32], Operations: ['38-3=35', '35-3=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[35, 11], Operations: ['38-3=35', '14-3=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,12 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: 12:[3, 8], Operations: ['38-14=24', '24/3=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[3, 8], Operations: ['38-14=24', '24/3=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[3, 21], Operations: ['38-14=24', '24-3=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[3, 21], Operations: ['38-3=35', '35-14=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[14, 32], Operations: ['38-3=35', '35-3=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,12 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[35, 11], Operations: ['38-3=35', '14-3=11'] Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,12 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,12 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 62, 88, 19 ]
38
[ "62+88=150", "150/75=2", "19*2=38" ]
Current State: 38:[75, 62, 88, 19], Operations: [] Exploring Operation: 62+88=150, Resulting Numbers: [75, 19, 150] Generated Node #2: [75, 19, 150] from Operation: 62+88=150 Current State: 38:[75, 19, 150], Operations: ['62+88=150'] Exploring Operation: 150/75=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 150/75=2 Current State: 38:[19, 2], Operations: ['62+88=150', '150/75=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[75, 62, 88, 19], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [62, 19, 13] Generated Node #0,0: 38:[62, 19, 13] Operation: 88-75=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[62, 19, 13], Operations: ['88-75=13'] Exploring Operation: 62-19=43, Resulting Numbers: [13, 43] Generated Node #0,0,0: 38:[13, 43] Operation: 62-19=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[13, 43], Operations: ['88-75=13', '62-19=43'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,38 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
[ 97, 35, 41, 91 ]
82
[ "97+35=132", "91-41=50", "132-50=82" ]
Current State: 82:[97, 35, 41, 91], Operations: [] Exploring Operation: 97+35=132, Resulting Numbers: [41, 91, 132] Generated Node #2: [41, 91, 132] from Operation: 97+35=132 Current State: 82:[41, 91, 132], Operations: ['97+35=132'] Exploring Operation: 91-41=50, Resulting Numbers: [132, 50] Generated Node #3: [132, 50] from Operation: 91-41=50 Current State: 82:[132, 50], Operations: ['97+35=132', '91-41=50'] Exploring Operation: 132-50=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[97, 35, 41, 91], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [97, 91, 6] Generated Node #0,0: 82:[97, 91, 6] Operation: 41-35=6 Exploring Operation: 97-91=6, Resulting Numbers: [35, 41, 6] Generated Node #0,1: 82:[35, 41, 6] Operation: 97-91=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[35, 41, 6], Operations: ['97-91=6'] Exploring Operation: 41-35=6, Resulting Numbers: [6, 6] Generated Node #0,1,0: 82:[6, 6] Operation: 41-35=6 Exploring Operation: 35+6=41, Resulting Numbers: [41, 41] Generated Node #0,1,1: 82:[41, 41] Operation: 35+6=41 Moving to Node #0,1,1 Current State: 82:[41, 41], Operations: ['97-91=6', '35+6=41'] Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[97, 35, 41, 91], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [35, 41, 6] Generated Node #0,1: 82:[35, 41, 6] Operation: 97-91=6 Moving to Node #0,1 Current State: 82:[35, 41, 6], Operations: ['97-91=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41, 41] Generated Node #0,1,1: 82:[41, 41] Operation: 35+6=41 Moving to Node #0,1,1 Current State: 82:[41, 41], Operations: ['97-91=6', '35+6=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 56, 17, 26, 80 ]
33
[ "56+17=73", "26+80=106", "106-73=33" ]
Current State: 33:[56, 17, 26, 80], Operations: [] Exploring Operation: 56+17=73, Resulting Numbers: [26, 80, 73] Generated Node #2: [26, 80, 73] from Operation: 56+17=73 Current State: 33:[26, 80, 73], Operations: ['56+17=73'] Exploring Operation: 26+80=106, Resulting Numbers: [73, 106] Generated Node #3: [73, 106] from Operation: 26+80=106 Current State: 33:[73, 106], Operations: ['56+17=73', '26+80=106'] Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[56, 17, 26, 80], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [17, 26, 24] Generated Node #0,0: 33:[17, 26, 24] Operation: 80-56=24 Exploring Operation: 56-26=30, Resulting Numbers: [17, 80, 30] Generated Node #0,1: 33:[17, 80, 30] Operation: 56-26=30 Exploring Operation: 80-26=54, Resulting Numbers: [56, 17, 54] Generated Node #0,2: 33:[56, 17, 54] Operation: 80-26=54 Exploring Operation: 56-17=39, Resulting Numbers: [26, 80, 39] Generated Node #0,3: 33:[26, 80, 39] Operation: 56-17=39 Moving to Node #0,0 Current State: 33:[17, 26, 24], Operations: ['80-56=24'] Exploring Operation: 24-17=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 33:[26, 7] Operation: 24-17=7 Exploring Operation: 26-24=2, Resulting Numbers: [17, 2] Generated Node #0,0,1: 33:[17, 2] Operation: 26-24=2 Exploring Operation: 26-17=9, Resulting Numbers: [24, 9] Generated Node #0,0,2: 33:[24, 9] Operation: 26-17=9 Exploring Operation: 17+24=41, Resulting Numbers: [26, 41] Generated Node #0,0,3: 33:[26, 41] Operation: 17+24=41 Moving to Node #0,2 Current State: 33:[56, 17, 54], Operations: ['80-26=54'] Exploring Operation: 56-54=2, Resulting Numbers: [17, 2] Generated Node #0,2,0: 33:[17, 2] Operation: 56-54=2 Exploring Operation: 56-17=39, Resulting Numbers: [54, 39] Generated Node #0,2,1: 33:[54, 39] Operation: 56-17=39 Exploring Operation: 54-17=37, Resulting Numbers: [56, 37] Generated Node #0,2,2: 33:[56, 37] Operation: 54-17=37 Exploring Operation: 56+17=73, Resulting Numbers: [54, 73] Generated Node #0,2,3: 33:[54, 73] Operation: 56+17=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[17, 2], Operations: ['80-26=54', '56-54=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,33 unequal: No Solution No 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: 33:[54, 39], Operations: ['80-26=54', '56-17=39'] Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,33 unequal: No Solution No 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: 33:[56, 37], Operations: ['80-26=54', '54-17=37'] Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,33 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,33 unequal: No Solution No 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: 33:[54, 73], Operations: ['80-26=54', '56+17=73'] Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,33 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,33 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: 33:[17, 80, 30], Operations: ['56-26=30'] Exploring Operation: 17+30=47, Resulting Numbers: [80, 47] Generated Node #0,1,0: 33:[80, 47] Operation: 17+30=47 Exploring Operation: 80-30=50, Resulting Numbers: [17, 50] Generated Node #0,1,1: 33:[17, 50] Operation: 80-30=50 Exploring Operation: 30-17=13, Resulting Numbers: [80, 13] Generated Node #0,1,2: 33:[80, 13] Operation: 30-17=13 Exploring Operation: 80-17=63, Resulting Numbers: [30, 63] Generated Node #0,1,3: 33:[30, 63] Operation: 80-17=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[17, 50], Operations: ['56-26=30', '80-30=50'] Exploring Operation: 17*50=850, Resulting Numbers: [850] 850,33 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[56, 17, 26, 80], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [17, 80, 30] Generated Node #0,1: 33:[17, 80, 30] Operation: 56-26=30 Moving to Node #0,1 Current State: 33:[17, 80, 30], Operations: ['56-26=30'] Exploring Operation: 80-30=50, Resulting Numbers: [17, 50] Generated Node #0,1,1: 33:[17, 50] Operation: 80-30=50 Moving to Node #0,1,1 Current State: 33:[17, 50], Operations: ['56-26=30', '80-30=50'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 89, 95, 57, 74 ]
25
[ "89-74=15", "95*15=1425", "1425/57=25" ]
Current State: 25:[89, 95, 57, 74], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [95, 57, 15] Generated Node #2: [95, 57, 15] from Operation: 89-74=15 Current State: 25:[95, 57, 15], Operations: ['89-74=15'] Exploring Operation: 95*15=1425, Resulting Numbers: [57, 1425] Generated Node #3: [57, 1425] from Operation: 95*15=1425 Current State: 25:[57, 1425], Operations: ['89-74=15', '95*15=1425'] Exploring Operation: 1425/57=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[89, 95, 57, 74], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [57, 74, 6] Generated Node #0,0: 25:[57, 74, 6] Operation: 95-89=6 Exploring Operation: 95-74=21, Resulting Numbers: [89, 57, 21] Generated Node #0,1: 25:[89, 57, 21] Operation: 95-74=21 Moving to Node #0,0 Current State: 25:[57, 74, 6], Operations: ['95-89=6'] Exploring Operation: 57-6=51, Resulting Numbers: [74, 51] Generated Node #0,0,0: 25:[74, 51] Operation: 57-6=51 Exploring Operation: 74-57=17, Resulting Numbers: [6, 17] Generated Node #0,0,1: 25:[6, 17] Operation: 74-57=17 Moving to Node #0,1 Current State: 25:[89, 57, 21], Operations: ['95-74=21'] Exploring Operation: 89-57=32, Resulting Numbers: [21, 32] Generated Node #0,1,0: 25:[21, 32] Operation: 89-57=32 Exploring Operation: 89-21=68, Resulting Numbers: [57, 68] Generated Node #0,1,1: 25:[57, 68] Operation: 89-21=68 Moving to Node #0,0,1 Current State: 25:[6, 17], Operations: ['95-89=6', '74-57=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[21, 32], Operations: ['95-74=21', '89-57=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[74, 51], Operations: ['95-89=6', '57-6=51'] Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,25 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[57, 68], Operations: ['95-74=21', '89-21=68'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,25 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 28, 90, 50 ]
42
[ "28+90=118", "50+118=168", "168/4=42" ]
Current State: 42:[4, 28, 90, 50], Operations: [] Exploring Operation: 28+90=118, Resulting Numbers: [4, 50, 118] Generated Node #2: [4, 50, 118] from Operation: 28+90=118 Current State: 42:[4, 50, 118], Operations: ['28+90=118'] Exploring Operation: 50+118=168, Resulting Numbers: [4, 168] Generated Node #3: [4, 168] from Operation: 50+118=168 Current State: 42:[4, 168], Operations: ['28+90=118', '50+118=168'] Exploring Operation: 168/4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[4, 28, 90, 50], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [4, 28, 40] Generated Node #0,0: 42:[4, 28, 40] Operation: 90-50=40 Exploring Operation: 50-28=22, Resulting Numbers: [4, 90, 22] Generated Node #0,1: 42:[4, 90, 22] Operation: 50-28=22 Exploring Operation: 90-28=62, Resulting Numbers: [4, 50, 62] Generated Node #0,2: 42:[4, 50, 62] Operation: 90-28=62 Exploring Operation: 28/4=7, Resulting Numbers: [90, 50, 7] Generated Node #0,3: 42:[90, 50, 7] Operation: 28/4=7 Moving to Node #0,0 Current State: 42:[4, 28, 40], Operations: ['90-50=40'] Exploring Operation: 28-4=24, Resulting Numbers: [40, 24] Generated Node #0,0,0: 42:[40, 24] Operation: 28-4=24 Exploring Operation: 28/4=7, Resulting Numbers: [40, 7] Generated Node #0,0,1: 42:[40, 7] Operation: 28/4=7 Exploring Operation: 40-28=12, Resulting Numbers: [4, 12] Generated Node #0,0,2: 42:[4, 12] Operation: 40-28=12 Exploring Operation: 4+40=44, Resulting Numbers: [28, 44] Generated Node #0,0,3: 42:[28, 44] Operation: 4+40=44 Moving to Node #0,2 Current State: 42:[4, 50, 62], Operations: ['90-28=62'] Exploring Operation: 50-4=46, Resulting Numbers: [62, 46] Generated Node #0,2,0: 42:[62, 46] Operation: 50-4=46 Exploring Operation: 4+50=54, Resulting Numbers: [62, 54] Generated Node #0,2,1: 42:[62, 54] Operation: 4+50=54 Exploring Operation: 62-4=58, Resulting Numbers: [50, 58] Generated Node #0,2,2: 42:[50, 58] Operation: 62-4=58 Exploring Operation: 62-50=12, Resulting Numbers: [4, 12] Generated Node #0,2,3: 42:[4, 12] Operation: 62-50=12 Moving to Node #0,1 Current State: 42:[4, 90, 22], Operations: ['50-28=22'] Exploring Operation: 22-4=18, Resulting Numbers: [90, 18] Generated Node #0,1,0: 42:[90, 18] Operation: 22-4=18 Exploring Operation: 90-22=68, Resulting Numbers: [4, 68] Generated Node #0,1,1: 42:[4, 68] Operation: 90-22=68 Exploring Operation: 4+90=94, Resulting Numbers: [22, 94] Generated Node #0,1,2: 42:[22, 94] Operation: 4+90=94 Exploring Operation: 90-4=86, Resulting Numbers: [22, 86] Generated Node #0,1,3: 42:[22, 86] Operation: 90-4=86 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[4, 68], Operations: ['50-28=22', '90-22=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[22, 86], Operations: ['50-28=22', '90-4=86'] Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 22*86=1892, Resulting Numbers: [1892] 1892,42 unequal: No Solution Exploring Operation: 22+86=108, Resulting Numbers: [108] 108,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[90, 18], Operations: ['50-28=22', '22-4=18'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,42 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,42 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,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,2 Current State: 42:[22, 94], Operations: ['50-28=22', '4+90=94'] Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 22*94=2068, Resulting Numbers: [2068] 2068,42 unequal: No Solution Exploring Operation: 22+94=116, Resulting Numbers: [116] 116,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 42:[90, 50, 7], Operations: ['28/4=7'] Exploring Operation: 50-7=43, Resulting Numbers: [90, 43] Generated Node #0,3,0: 42:[90, 43] Operation: 50-7=43 Exploring Operation: 90-50=40, Resulting Numbers: [7, 40] Generated Node #0,3,1: 42:[7, 40] Operation: 90-50=40 Exploring Operation: 90+7=97, Resulting Numbers: [50, 97] Generated Node #0,3,2: 42:[50, 97] Operation: 90+7=97 Exploring Operation: 90-7=83, Resulting Numbers: [50, 83] Generated Node #0,3,3: 42:[50, 83] Operation: 90-7=83 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[7, 40], Operations: ['28/4=7', '90-50=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[90, 43], Operations: ['28/4=7', '50-7=43'] Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,42 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 90*43=3870, Resulting Numbers: [3870] 3870,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[50, 83], Operations: ['28/4=7', '90-7=83'] Exploring Operation: 50*83=4150, Resulting Numbers: [4150] 4150,42 unequal: No Solution Exploring Operation: 50+83=133, Resulting Numbers: [133] 133,42 unequal: No Solution Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[50, 97], Operations: ['28/4=7', '90+7=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,42 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 42:[40, 7], Operations: ['90-50=40', '28/4=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[4, 12], Operations: ['90-50=40', '40-28=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[4, 12], Operations: ['90-28=62', '62-50=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[40, 24], Operations: ['90-50=40', '28-4=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[28, 44], Operations: ['90-50=40', '4+40=44'] Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,42 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[62, 46], Operations: ['90-28=62', '50-4=46'] Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,42 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[50, 58], Operations: ['90-28=62', '62-4=58'] Exploring Operation: 50*58=2900, Resulting Numbers: [2900] 2900,42 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[62, 54], Operations: ['90-28=62', '4+50=54'] Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,42 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,42 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 31, 78, 16, 8 ]
39
[ "78-31=47", "16-8=8", "47-8=39" ]
Current State: 39:[31, 78, 16, 8], Operations: [] Exploring Operation: 78-31=47, Resulting Numbers: [16, 8, 47] Generated Node #2: [16, 8, 47] from Operation: 78-31=47 Current State: 39:[16, 8, 47], Operations: ['78-31=47'] Exploring Operation: 16-8=8, Resulting Numbers: [47, 8] Generated Node #3: [47, 8] from Operation: 16-8=8 Current State: 39:[47, 8], Operations: ['78-31=47', '16-8=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[31, 78, 16, 8], Operations: [] Exploring Operation: 78-31=47, Resulting Numbers: [16, 8, 47] Generated Node #0,0: 39:[16, 8, 47] Operation: 78-31=47 Moving to Node #0,0 Current State: 39:[16, 8, 47], Operations: ['78-31=47'] Exploring Operation: 47-8=39, Resulting Numbers: [16, 39] Generated Node #0,0,0: 39:[16, 39] Operation: 47-8=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[16, 39], Operations: ['78-31=47', '47-8=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,39 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
[ 81, 27, 60, 3 ]
54
[ "81/27=3", "60-3=57", "57-3=54" ]
Current State: 54:[81, 27, 60, 3], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [60, 3, 3] Generated Node #2: [60, 3, 3] from Operation: 81/27=3 Current State: 54:[60, 3, 3], Operations: ['81/27=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,54 equal: Goal Reached Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[81, 27, 60, 3], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [60, 3, 54] Generated Node #0,0: 54:[60, 3, 54] Operation: 81-27=54 Exploring Operation: 60/3=20, Resulting Numbers: [81, 27, 20] Generated Node #0,1: 54:[81, 27, 20] Operation: 60/3=20 Exploring Operation: 81-60=21, Resulting Numbers: [27, 3, 21] Generated Node #0,2: 54:[27, 3, 21] Operation: 81-60=21 Exploring Operation: 81/3=27, Resulting Numbers: [27, 60, 27] Generated Node #0,3: 54:[27, 60, 27] Operation: 81/3=27 Exploring Operation: 81/27=3, Resulting Numbers: [60, 3, 3] Generated Node #0,4: 54:[60, 3, 3] Operation: 81/27=3 Moving to Node #0,2 Current State: 54:[27, 3, 21], Operations: ['81-60=21'] Exploring Operation: 21/3=7, Resulting Numbers: [27, 7] Generated Node #0,2,0: 54:[27, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [27, 18] Generated Node #0,2,1: 54:[27, 18] Operation: 21-3=18 Exploring Operation: 27/3=9, Resulting Numbers: [21, 9] Generated Node #0,2,2: 54:[21, 9] Operation: 27/3=9 Exploring Operation: 3+21=24, Resulting Numbers: [27, 24] Generated Node #0,2,3: 54:[27, 24] Operation: 3+21=24 Exploring Operation: 27-21=6, Resulting Numbers: [3, 6] Generated Node #0,2,4: 54:[3, 6] Operation: 27-21=6 Moving to Node #0,3 Current State: 54:[27, 60, 27], Operations: ['81/3=27'] Exploring Operation: 60-27=33, Resulting Numbers: [27, 33] Generated Node #0,3,0: 54:[27, 33] Operation: 60-27=33 Exploring Operation: 27+27=54, Resulting Numbers: [60, 54] Generated Node #0,3,1: 54:[60, 54] Operation: 27+27=54 Exploring Operation: 27/27=1, Resulting Numbers: [60, 1] Generated Node #0,3,2: 54:[60, 1] Operation: 27/27=1 Exploring Operation: 60-27=33, Resulting Numbers: [27, 33] Generated Node #0,3,3: 54:[27, 33] Operation: 60-27=33 Exploring Operation: 27-27=0, Resulting Numbers: [60, 0] Generated Node #0,3,4: 54:[60, 0] Operation: 27-27=0 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[27, 33], Operations: ['81/3=27', '60-27=33'] Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,54 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[60, 54], Operations: ['81/3=27', '27+27=54'] Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,54 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[27, 33], Operations: ['81/3=27', '60-27=33'] Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,54 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[60, 1], Operations: ['81/3=27', '27/27=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 54:[60, 0], Operations: ['81/3=27', '27-27=0'] Exploring Operation: 60-0=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 60*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 54:[60, 3, 54], Operations: ['81-27=54'] Exploring Operation: 60+3=63, Resulting Numbers: [54, 63] Generated Node #0,0,0: 54:[54, 63] Operation: 60+3=63 Exploring Operation: 60/3=20, Resulting Numbers: [54, 20] Generated Node #0,0,1: 54:[54, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [54, 57] Generated Node #0,0,2: 54:[54, 57] Operation: 60-3=57 Exploring Operation: 60-54=6, Resulting Numbers: [3, 6] Generated Node #0,0,3: 54:[3, 6] Operation: 60-54=6 Exploring Operation: 54/3=18, Resulting Numbers: [60, 18] Generated Node #0,0,4: 54:[60, 18] Operation: 54/3=18 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 54:[3, 6], Operations: ['81-27=54', '60-54=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[54, 20], Operations: ['81-27=54', '60/3=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,54 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,54 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[54, 57], Operations: ['81-27=54', '60-3=57'] Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,54 unequal: No Solution Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,54 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 54:[60, 18], Operations: ['81-27=54', '54/3=18'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,54 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[54, 63], Operations: ['81-27=54', '60+3=63'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,54 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,54 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: 54:[60, 3, 3], Operations: ['81/27=3'] Exploring Operation: 60/3=20, Resulting Numbers: [3, 20] Generated Node #0,4,0: 54:[3, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [3, 57] Generated Node #0,4,1: 54:[3, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [3, 20] Generated Node #0,4,2: 54:[3, 20] Operation: 60/3=20 Exploring Operation: 3+3=6, Resulting Numbers: [60, 6] Generated Node #0,4,3: 54:[60, 6] Operation: 3+3=6 Exploring Operation: 60-3=57, Resulting Numbers: [3, 57] Generated Node #0,4,4: 54:[3, 57] Operation: 60-3=57 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 54:[3, 20], Operations: ['81/27=3', '60/3=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,54 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 54:[3, 20], Operations: ['81/27=3', '60/3=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 54:[3, 57], Operations: ['81/27=3', '60-3=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[81, 27, 60, 3], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [60, 3, 3] Generated Node #0,4: 54:[60, 3, 3] Operation: 81/27=3 Moving to Node #0,4 Current State: 54:[60, 3, 3], Operations: ['81/27=3'] Exploring Operation: 60-3=57, Resulting Numbers: [3, 57] Generated Node #0,4,1: 54:[3, 57] Operation: 60-3=57 Moving to Node #0,4,1 Current State: 54:[3, 57], Operations: ['81/27=3', '60-3=57'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.940104
hs_5
mult_heuristic
[ 26, 9, 67, 54 ]
99
[ "26+67=93", "54/9=6", "93+6=99" ]
Current State: 99:[26, 9, 67, 54], Operations: [] Exploring Operation: 26+67=93, Resulting Numbers: [9, 54, 93] Generated Node #2: [9, 54, 93] from Operation: 26+67=93 Current State: 99:[9, 54, 93], Operations: ['26+67=93'] Exploring Operation: 54/9=6, Resulting Numbers: [93, 6] Generated Node #3: [93, 6] from Operation: 54/9=6 Current State: 99:[93, 6], Operations: ['26+67=93', '54/9=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[26, 9, 67, 54], Operations: [] Exploring Operation: 26+67=93, Resulting Numbers: [9, 54, 93] Generated Node #0,0: 99:[9, 54, 93] Operation: 26+67=93 Exploring Operation: 67-54=13, Resulting Numbers: [26, 9, 13] Generated Node #0,1: 99:[26, 9, 13] Operation: 67-54=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[26, 9, 13], Operations: ['67-54=13'] Exploring Operation: 26/13=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 99:[9, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [9, 13] Generated Node #0,1,1: 99:[9, 13] Operation: 26-13=13 Moving to Node #0,1,0 Current State: 99:[9, 2], Operations: ['67-54=13', '26/13=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[9, 13], Operations: ['67-54=13', '26-13=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[9, 54, 93], Operations: ['26+67=93'] Exploring Operation: 93-54=39, Resulting Numbers: [9, 39] Generated Node #0,0,0: 99:[9, 39] Operation: 93-54=39 Exploring Operation: 54/9=6, Resulting Numbers: [93, 6] Generated Node #0,0,1: 99:[93, 6] Operation: 54/9=6 Moving to Node #0,0,0 Current State: 99:[9, 39], Operations: ['26+67=93', '93-54=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[93, 6], Operations: ['26+67=93', '54/9=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[26, 9, 67, 54], Operations: [] Exploring Operation: 26+67=93, Resulting Numbers: [9, 54, 93] Generated Node #0,0: 99:[9, 54, 93] Operation: 26+67=93 Moving to Node #0,0 Current State: 99:[9, 54, 93], Operations: ['26+67=93'] Exploring Operation: 54/9=6, Resulting Numbers: [93, 6] Generated Node #0,0,1: 99:[93, 6] Operation: 54/9=6 Moving to Node #0,0,1 Current State: 99:[93, 6], Operations: ['26+67=93', '54/9=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 44, 79, 68, 70 ]
74
[ "79-68=11", "44/11=4", "70+4=74" ]
Current State: 74:[44, 79, 68, 70], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [44, 70, 11] Generated Node #2: [44, 70, 11] from Operation: 79-68=11 Current State: 74:[44, 70, 11], Operations: ['79-68=11'] Exploring Operation: 44/11=4, Resulting Numbers: [70, 4] Generated Node #3: [70, 4] from Operation: 44/11=4 Current State: 74:[70, 4], Operations: ['79-68=11', '44/11=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[44, 79, 68, 70], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [44, 68, 9] Generated Node #0,0: 74:[44, 68, 9] Operation: 79-70=9 Exploring Operation: 79-44=35, Resulting Numbers: [68, 70, 35] Generated Node #0,1: 74:[68, 70, 35] Operation: 79-44=35 Exploring Operation: 79-68=11, Resulting Numbers: [44, 70, 11] Generated Node #0,2: 74:[44, 70, 11] Operation: 79-68=11 Exploring Operation: 70-68=2, Resulting Numbers: [44, 79, 2] Generated Node #0,3: 74:[44, 79, 2] Operation: 70-68=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[68, 70, 35], Operations: ['79-44=35'] Exploring Operation: 70/35=2, Resulting Numbers: [68, 2] Generated Node #0,1,0: 74:[68, 2] Operation: 70/35=2 Exploring Operation: 70-35=35, Resulting Numbers: [68, 35] Generated Node #0,1,1: 74:[68, 35] Operation: 70-35=35 Exploring Operation: 70-68=2, Resulting Numbers: [35, 2] Generated Node #0,1,2: 74:[35, 2] Operation: 70-68=2 Exploring Operation: 68-35=33, Resulting Numbers: [70, 33] Generated Node #0,1,3: 74:[70, 33] Operation: 68-35=33 Moving to Node #0,1,2 Current State: 74:[35, 2], Operations: ['79-44=35', '70-68=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[68, 2], Operations: ['79-44=35', '70/35=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,74 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[70, 33], Operations: ['79-44=35', '68-35=33'] Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[68, 35], Operations: ['79-44=35', '70-35=35'] Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,74 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,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,3 Current State: 74:[44, 79, 2], Operations: ['70-68=2'] Exploring Operation: 44-2=42, Resulting Numbers: [79, 42] Generated Node #0,3,0: 74:[79, 42] Operation: 44-2=42 Exploring Operation: 79-44=35, Resulting Numbers: [2, 35] Generated Node #0,3,1: 74:[2, 35] Operation: 79-44=35 Exploring Operation: 79-2=77, Resulting Numbers: [44, 77] Generated Node #0,3,2: 74:[44, 77] Operation: 79-2=77 Exploring Operation: 44+2=46, Resulting Numbers: [79, 46] Generated Node #0,3,3: 74:[79, 46] Operation: 44+2=46 Moving to Node #0,3,1 Current State: 74:[2, 35], Operations: ['70-68=2', '79-44=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[44, 77], Operations: ['70-68=2', '79-2=77'] Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,74 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[79, 42], Operations: ['70-68=2', '44-2=42'] Exploring Operation: 79*42=3318, Resulting Numbers: [3318] 3318,74 unequal: No Solution Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 79+42=121, Resulting Numbers: [121] 121,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[79, 46], Operations: ['70-68=2', '44+2=46'] Exploring Operation: 79+46=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 79*46=3634, Resulting Numbers: [3634] 3634,74 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[44, 68, 9], Operations: ['79-70=9'] Exploring Operation: 44+9=53, Resulting Numbers: [68, 53] Generated Node #0,0,0: 74:[68, 53] Operation: 44+9=53 Exploring Operation: 44-9=35, Resulting Numbers: [68, 35] Generated Node #0,0,1: 74:[68, 35] Operation: 44-9=35 Exploring Operation: 68-44=24, Resulting Numbers: [9, 24] Generated Node #0,0,2: 74:[9, 24] Operation: 68-44=24 Exploring Operation: 68+9=77, Resulting Numbers: [44, 77] Generated Node #0,0,3: 74:[44, 77] Operation: 68+9=77 Moving to Node #0,0,1 Current State: 74:[68, 35], Operations: ['79-70=9', '44-9=35'] Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,74 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[44, 77], Operations: ['79-70=9', '68+9=77'] Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[9, 24], Operations: ['79-70=9', '68-44=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,74 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[68, 53], Operations: ['79-70=9', '44+9=53'] Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 68*53=3604, Resulting Numbers: [3604] 3604,74 unequal: No Solution Exploring Operation: 68+53=121, Resulting Numbers: [121] 121,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[44, 70, 11], Operations: ['79-68=11'] Exploring Operation: 70+11=81, Resulting Numbers: [44, 81] Generated Node #0,2,0: 74:[44, 81] Operation: 70+11=81 Exploring Operation: 44/11=4, Resulting Numbers: [70, 4] Generated Node #0,2,1: 74:[70, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [70, 33] Generated Node #0,2,2: 74:[70, 33] Operation: 44-11=33 Exploring Operation: 70-44=26, Resulting Numbers: [11, 26] Generated Node #0,2,3: 74:[11, 26] Operation: 70-44=26 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[70, 4], Operations: ['79-68=11', '44/11=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[44, 79, 68, 70], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [44, 70, 11] Generated Node #0,2: 74:[44, 70, 11] Operation: 79-68=11 Moving to Node #0,2 Current State: 74:[44, 70, 11], Operations: ['79-68=11'] Exploring Operation: 44/11=4, Resulting Numbers: [70, 4] Generated Node #0,2,1: 74:[70, 4] Operation: 44/11=4 Moving to Node #0,2,1 Current State: 74:[70, 4], Operations: ['79-68=11', '44/11=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.946181
hs_4
sum_heuristic
[ 26, 19, 96, 94 ]
90
[ "26+19=45", "96-94=2", "45*2=90" ]
Current State: 90:[26, 19, 96, 94], Operations: [] Exploring Operation: 26+19=45, Resulting Numbers: [96, 94, 45] Generated Node #2: [96, 94, 45] from Operation: 26+19=45 Current State: 90:[96, 94, 45], Operations: ['26+19=45'] Exploring Operation: 96-94=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 96-94=2 Current State: 90:[45, 2], Operations: ['26+19=45', '96-94=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[26, 19, 96, 94], Operations: [] Exploring Operation: 26+19=45, Resulting Numbers: [96, 94, 45] Generated Node #0,0: 90:[96, 94, 45] Operation: 26+19=45 Exploring Operation: 96-94=2, Resulting Numbers: [26, 19, 2] Generated Node #0,1: 90:[26, 19, 2] Operation: 96-94=2 Moving to Node #0,1 Current State: 90:[26, 19, 2], Operations: ['96-94=2'] Exploring Operation: 26-19=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 90:[2, 7] Operation: 26-19=7 Exploring Operation: 26+19=45, Resulting Numbers: [2, 45] Generated Node #0,1,1: 90:[2, 45] Operation: 26+19=45 Moving to Node #0,0 Current State: 90:[96, 94, 45], Operations: ['26+19=45'] Exploring Operation: 96-45=51, Resulting Numbers: [94, 51] Generated Node #0,0,0: 90:[94, 51] Operation: 96-45=51 Exploring Operation: 96-94=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 90:[45, 2] Operation: 96-94=2 Moving to Node #0,1,1 Current State: 90:[2, 45], Operations: ['96-94=2', '26+19=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[26, 19, 96, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [26, 19, 2] Generated Node #0,1: 90:[26, 19, 2] Operation: 96-94=2 Moving to Node #0,1 Current State: 90:[26, 19, 2], Operations: ['96-94=2'] Exploring Operation: 26+19=45, Resulting Numbers: [2, 45] Generated Node #0,1,1: 90:[2, 45] Operation: 26+19=45 Moving to Node #0,1,1 Current State: 90:[2, 45], Operations: ['96-94=2', '26+19=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 99, 77, 9, 8 ]
94
[ "99-77=22", "9*8=72", "22+72=94" ]
Current State: 94:[99, 77, 9, 8], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [9, 8, 22] Generated Node #2: [9, 8, 22] from Operation: 99-77=22 Current State: 94:[9, 8, 22], Operations: ['99-77=22'] Exploring Operation: 9*8=72, Resulting Numbers: [22, 72] Generated Node #3: [22, 72] from Operation: 9*8=72 Current State: 94:[22, 72], Operations: ['99-77=22', '9*8=72'] Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[99, 77, 9, 8], Operations: [] Exploring Operation: 77+9=86, Resulting Numbers: [99, 8, 86] Generated Node #0,0: 94:[99, 8, 86] Operation: 77+9=86 Exploring Operation: 77+8=85, Resulting Numbers: [99, 9, 85] Generated Node #0,1: 94:[99, 9, 85] Operation: 77+8=85 Moving to Node #0,0 Current State: 94:[99, 8, 86], Operations: ['77+9=86'] Exploring Operation: 99-8=91, Resulting Numbers: [86, 91] Generated Node #0,0,0: 94:[86, 91] Operation: 99-8=91 Exploring Operation: 8+86=94, Resulting Numbers: [99, 94] Generated Node #0,0,1: 94:[99, 94] Operation: 8+86=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[99, 94], Operations: ['77+9=86', '8+86=94'] Exploring Operation: 99+94=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[86, 91], Operations: ['77+9=86', '99-8=91'] Exploring Operation: 86+91=177, Resulting Numbers: [177] 177,94 unequal: No Solution Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,94 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: 94:[99, 9, 85], Operations: ['77+8=85'] Exploring Operation: 9+85=94, Resulting Numbers: [99, 94] Generated Node #0,1,0: 94:[99, 94] Operation: 9+85=94 Exploring Operation: 99-9=90, Resulting Numbers: [85, 90] Generated Node #0,1,1: 94:[85, 90] Operation: 99-9=90 Moving to Node #0,1,0 Current State: 94:[99, 94], Operations: ['77+8=85', '9+85=94'] Exploring Operation: 99+94=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[85, 90], Operations: ['77+8=85', '99-9=90'] Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 85+90=175, Resulting Numbers: [175] 175,94 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 39, 53, 21, 48 ]
41
[ "53-39=14", "48-21=27", "14+27=41" ]
Current State: 41:[39, 53, 21, 48], Operations: [] Exploring Operation: 53-39=14, Resulting Numbers: [21, 48, 14] Generated Node #2: [21, 48, 14] from Operation: 53-39=14 Current State: 41:[21, 48, 14], Operations: ['53-39=14'] Exploring Operation: 48-21=27, Resulting Numbers: [14, 27] Generated Node #3: [14, 27] from Operation: 48-21=27 Current State: 41:[14, 27], Operations: ['53-39=14', '48-21=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[39, 53, 21, 48], Operations: [] Exploring Operation: 53-21=32, Resulting Numbers: [39, 48, 32] Generated Node #0,0: 41:[39, 48, 32] Operation: 53-21=32 Exploring Operation: 39+21=60, Resulting Numbers: [53, 48, 60] Generated Node #0,1: 41:[53, 48, 60] Operation: 39+21=60 Exploring Operation: 48-21=27, Resulting Numbers: [39, 53, 27] Generated Node #0,2: 41:[39, 53, 27] Operation: 48-21=27 Moving to Node #0,0 Current State: 41:[39, 48, 32], Operations: ['53-21=32'] Exploring Operation: 48-32=16, Resulting Numbers: [39, 16] Generated Node #0,0,0: 41:[39, 16] Operation: 48-32=16 Exploring Operation: 39+32=71, Resulting Numbers: [48, 71] Generated Node #0,0,1: 41:[48, 71] Operation: 39+32=71 Exploring Operation: 48-39=9, Resulting Numbers: [32, 9] Generated Node #0,0,2: 41:[32, 9] Operation: 48-39=9 Moving to Node #0,2 Current State: 41:[39, 53, 27], Operations: ['48-21=27'] Exploring Operation: 53-39=14, Resulting Numbers: [27, 14] Generated Node #0,2,0: 41:[27, 14] Operation: 53-39=14 Exploring Operation: 39+27=66, Resulting Numbers: [53, 66] Generated Node #0,2,1: 41:[53, 66] Operation: 39+27=66 Exploring Operation: 53-27=26, Resulting Numbers: [39, 26] Generated Node #0,2,2: 41:[39, 26] Operation: 53-27=26 Moving to Node #0,1 Current State: 41:[53, 48, 60], Operations: ['39+21=60'] Exploring Operation: 60-48=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 41:[53, 12] Operation: 60-48=12 Exploring Operation: 60-53=7, Resulting Numbers: [48, 7] Generated Node #0,1,1: 41:[48, 7] Operation: 60-53=7 Exploring Operation: 53-48=5, Resulting Numbers: [60, 5] Generated Node #0,1,2: 41:[60, 5] Operation: 53-48=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[53, 12], Operations: ['39+21=60', '60-48=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,41 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[39, 53, 21, 48], Operations: [] Exploring Operation: 39+21=60, Resulting Numbers: [53, 48, 60] Generated Node #0,1: 41:[53, 48, 60] Operation: 39+21=60 Moving to Node #0,1 Current State: 41:[53, 48, 60], Operations: ['39+21=60'] Exploring Operation: 60-48=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 41:[53, 12] Operation: 60-48=12 Moving to Node #0,1,0 Current State: 41:[53, 12], Operations: ['39+21=60', '60-48=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 11, 17, 82, 33 ]
72
[ "11*17=187", "82+33=115", "187-115=72" ]
Current State: 72:[11, 17, 82, 33], Operations: [] Exploring Operation: 11*17=187, Resulting Numbers: [82, 33, 187] Generated Node #2: [82, 33, 187] from Operation: 11*17=187 Current State: 72:[82, 33, 187], Operations: ['11*17=187'] Exploring Operation: 82+33=115, Resulting Numbers: [187, 115] Generated Node #3: [187, 115] from Operation: 82+33=115 Current State: 72:[187, 115], Operations: ['11*17=187', '82+33=115'] Exploring Operation: 187-115=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[11, 17, 82, 33], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [17, 82, 3] Generated Node #0,0: 72:[17, 82, 3] Operation: 33/11=3 Exploring Operation: 82-11=71, Resulting Numbers: [17, 33, 71] Generated Node #0,1: 72:[17, 33, 71] Operation: 82-11=71 Moving to Node #0,1 Current State: 72:[17, 33, 71], Operations: ['82-11=71'] Exploring Operation: 33-17=16, Resulting Numbers: [71, 16] Generated Node #0,1,0: 72:[71, 16] Operation: 33-17=16 Exploring Operation: 71-33=38, Resulting Numbers: [17, 38] Generated Node #0,1,1: 72:[17, 38] Operation: 71-33=38 Moving to Node #0,0 Current State: 72:[17, 82, 3], Operations: ['33/11=3'] Exploring Operation: 82-3=79, Resulting Numbers: [17, 79] Generated Node #0,0,0: 72:[17, 79] Operation: 82-3=79 Exploring Operation: 82-17=65, Resulting Numbers: [3, 65] Generated Node #0,0,1: 72:[3, 65] Operation: 82-17=65 Moving to Node #0,1,0 Current State: 72:[71, 16], Operations: ['82-11=71', '33-17=16'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[17, 38], Operations: ['82-11=71', '71-33=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[3, 65], Operations: ['33/11=3', '82-17=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[17, 79], Operations: ['33/11=3', '82-3=79'] Exploring Operation: 17+79=96, Resulting Numbers: [96] 96,72 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,72 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 14, 67, 6, 18 ]
21
[ "67-18=49", "6*49=294", "294/14=21" ]
Current State: 21:[14, 67, 6, 18], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [14, 6, 49] Generated Node #2: [14, 6, 49] from Operation: 67-18=49 Current State: 21:[14, 6, 49], Operations: ['67-18=49'] Exploring Operation: 6*49=294, Resulting Numbers: [14, 294] Generated Node #3: [14, 294] from Operation: 6*49=294 Current State: 21:[14, 294], Operations: ['67-18=49', '6*49=294'] Exploring Operation: 294/14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[14, 67, 6, 18], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [67, 18, 8] Generated Node #0,0: 21:[67, 18, 8] Operation: 14-6=8 Exploring Operation: 18-14=4, Resulting Numbers: [67, 6, 4] Generated Node #0,1: 21:[67, 6, 4] Operation: 18-14=4 Exploring Operation: 14+6=20, Resulting Numbers: [67, 18, 20] Generated Node #0,2: 21:[67, 18, 20] Operation: 14+6=20 Exploring Operation: 67-14=53, Resulting Numbers: [6, 18, 53] Generated Node #0,3: 21:[6, 18, 53] Operation: 67-14=53 Exploring Operation: 67-18=49, Resulting Numbers: [14, 6, 49] Generated Node #0,4: 21:[14, 6, 49] Operation: 67-18=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[6, 18, 53], Operations: ['67-14=53'] Exploring Operation: 18-6=12, Resulting Numbers: [53, 12] Generated Node #0,3,0: 21:[53, 12] Operation: 18-6=12 Exploring Operation: 6+18=24, Resulting Numbers: [53, 24] Generated Node #0,3,1: 21:[53, 24] Operation: 6+18=24 Exploring Operation: 18/6=3, Resulting Numbers: [53, 3] Generated Node #0,3,2: 21:[53, 3] Operation: 18/6=3 Exploring Operation: 53-6=47, Resulting Numbers: [18, 47] Generated Node #0,3,3: 21:[18, 47] Operation: 53-6=47 Exploring Operation: 53-18=35, Resulting Numbers: [6, 35] Generated Node #0,3,4: 21:[6, 35] Operation: 53-18=35 Moving to Node #0,3,4 Current State: 21:[6, 35], Operations: ['67-14=53', '53-18=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,21 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[18, 47], Operations: ['67-14=53', '53-6=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,21 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[53, 3], Operations: ['67-14=53', '18/6=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[53, 24], Operations: ['67-14=53', '6+18=24'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,21 unequal: No Solution Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[53, 12], Operations: ['67-14=53', '18-6=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,21 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 21:[14, 6, 49], Operations: ['67-18=49'] Exploring Operation: 14-6=8, Resulting Numbers: [49, 8] Generated Node #0,4,0: 21:[49, 8] Operation: 14-6=8 Exploring Operation: 49-14=35, Resulting Numbers: [6, 35] Generated Node #0,4,1: 21:[6, 35] Operation: 49-14=35 Exploring Operation: 6+49=55, Resulting Numbers: [14, 55] Generated Node #0,4,2: 21:[14, 55] Operation: 6+49=55 Exploring Operation: 14+6=20, Resulting Numbers: [49, 20] Generated Node #0,4,3: 21:[49, 20] Operation: 14+6=20 Exploring Operation: 49-6=43, Resulting Numbers: [14, 43] Generated Node #0,4,4: 21:[14, 43] Operation: 49-6=43 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 21:[6, 35], Operations: ['67-18=49', '49-14=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,21 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,21 unequal: No Solution No 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: 21:[49, 8], Operations: ['67-18=49', '14-6=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,21 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,21 unequal: No Solution No 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: 21:[49, 20], Operations: ['67-18=49', '14+6=20'] Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,21 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,21 unequal: No Solution No 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: 21:[14, 43], Operations: ['67-18=49', '49-6=43'] Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,21 unequal: No Solution No 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: 21:[14, 55], Operations: ['67-18=49', '6+49=55'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,21 unequal: No Solution Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,21 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: 21:[67, 6, 4], Operations: ['18-14=4'] Exploring Operation: 6+4=10, Resulting Numbers: [67, 10] Generated Node #0,1,0: 21:[67, 10] Operation: 6+4=10 Exploring Operation: 6*4=24, Resulting Numbers: [67, 24] Generated Node #0,1,1: 21:[67, 24] Operation: 6*4=24 Exploring Operation: 67-6=61, Resulting Numbers: [4, 61] Generated Node #0,1,2: 21:[4, 61] Operation: 67-6=61 Exploring Operation: 6-4=2, Resulting Numbers: [67, 2] Generated Node #0,1,3: 21:[67, 2] Operation: 6-4=2 Exploring Operation: 67-4=63, Resulting Numbers: [6, 63] Generated Node #0,1,4: 21:[6, 63] Operation: 67-4=63 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[4, 61], Operations: ['18-14=4', '67-6=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,21 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 21:[6, 63], Operations: ['18-14=4', '67-4=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,21 unequal: No Solution No 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: 21:[67, 2], Operations: ['18-14=4', '6-4=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,21 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,21 unequal: No Solution No 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: 21:[67, 10], Operations: ['18-14=4', '6+4=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,21 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,21 unequal: No Solution No 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: 21:[67, 24], Operations: ['18-14=4', '6*4=24'] Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,21 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,21 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: 21:[67, 18, 8], Operations: ['14-6=8'] Exploring Operation: 67+8=75, Resulting Numbers: [18, 75] Generated Node #0,0,0: 21:[18, 75] Operation: 67+8=75 Exploring Operation: 67-18=49, Resulting Numbers: [8, 49] Generated Node #0,0,1: 21:[8, 49] Operation: 67-18=49 Exploring Operation: 18-8=10, Resulting Numbers: [67, 10] Generated Node #0,0,2: 21:[67, 10] Operation: 18-8=10 Exploring Operation: 18+8=26, Resulting Numbers: [67, 26] Generated Node #0,0,3: 21:[67, 26] Operation: 18+8=26 Exploring Operation: 67-8=59, Resulting Numbers: [18, 59] Generated Node #0,0,4: 21:[18, 59] Operation: 67-8=59 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[8, 49], Operations: ['14-6=8', '67-18=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,21 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,21 unequal: No Solution No 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: 21:[18, 59], Operations: ['14-6=8', '67-8=59'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,21 unequal: No Solution Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,21 unequal: No Solution No 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: 21:[67, 10], Operations: ['14-6=8', '18-8=10'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,21 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,21 unequal: No Solution No 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: 21:[67, 26], Operations: ['14-6=8', '18+8=26'] Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,21 unequal: No Solution Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,21 unequal: No Solution Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,21 unequal: No Solution No 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: 21:[18, 75], Operations: ['14-6=8', '67+8=75'] Exploring Operation: 18*75=1350, Resulting Numbers: [1350] 1350,21 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 18+75=93, Resulting Numbers: [93] 93,21 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: 21:[67, 18, 20], Operations: ['14+6=20'] Exploring Operation: 67-18=49, Resulting Numbers: [20, 49] Generated Node #0,2,0: 21:[20, 49] Operation: 67-18=49 Exploring Operation: 67+18=85, Resulting Numbers: [20, 85] Generated Node #0,2,1: 21:[20, 85] Operation: 67+18=85 Exploring Operation: 67-20=47, Resulting Numbers: [18, 47] Generated Node #0,2,2: 21:[18, 47] Operation: 67-20=47 Exploring Operation: 18+20=38, Resulting Numbers: [67, 38] Generated Node #0,2,3: 21:[67, 38] Operation: 18+20=38 Exploring Operation: 20-18=2, Resulting Numbers: [67, 2] Generated Node #0,2,4: 21:[67, 2] Operation: 20-18=2 Moving to Node #0,2,0 Current State: 21:[20, 49], Operations: ['14+6=20', '67-18=49'] Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,21 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[18, 47], Operations: ['14+6=20', '67-20=47'] Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,21 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,2,4 Current State: 21:[67, 2], Operations: ['14+6=20', '20-18=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[67, 38], Operations: ['14+6=20', '18+20=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,21 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,21 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[20, 85], Operations: ['14+6=20', '67+18=85'] Exploring Operation: 20+85=105, Resulting Numbers: [105] 105,21 unequal: No Solution Exploring Operation: 20*85=1700, Resulting Numbers: [1700] 1700,21 unequal: No Solution Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 87, 5, 27, 3 ]
15
[ "87-27=60", "60/5=12", "3+12=15" ]
Current State: 15:[87, 5, 27, 3], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [5, 3, 60] Generated Node #2: [5, 3, 60] from Operation: 87-27=60 Current State: 15:[5, 3, 60], Operations: ['87-27=60'] Exploring Operation: 60/5=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 60/5=12 Current State: 15:[3, 12], Operations: ['87-27=60', '60/5=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[87, 5, 27, 3], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [5, 3, 60] Generated Node #0,0: 15:[5, 3, 60] Operation: 87-27=60 Exploring Operation: 87-5=82, Resulting Numbers: [27, 3, 82] Generated Node #0,1: 15:[27, 3, 82] Operation: 87-5=82 Exploring Operation: 27-5=22, Resulting Numbers: [87, 3, 22] Generated Node #0,2: 15:[87, 3, 22] Operation: 27-5=22 Exploring Operation: 87/3=29, Resulting Numbers: [5, 27, 29] Generated Node #0,3: 15:[5, 27, 29] Operation: 87/3=29 Exploring Operation: 27/3=9, Resulting Numbers: [87, 5, 9] Generated Node #0,4: 15:[87, 5, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[5, 27, 29], Operations: ['87/3=29'] Exploring Operation: 29-5=24, Resulting Numbers: [27, 24] Generated Node #0,3,0: 15:[27, 24] Operation: 29-5=24 Exploring Operation: 5+27=32, Resulting Numbers: [29, 32] Generated Node #0,3,1: 15:[29, 32] Operation: 5+27=32 Exploring Operation: 29-27=2, Resulting Numbers: [5, 2] Generated Node #0,3,2: 15:[5, 2] Operation: 29-27=2 Exploring Operation: 27-5=22, Resulting Numbers: [29, 22] Generated Node #0,3,3: 15:[29, 22] Operation: 27-5=22 Exploring Operation: 5+29=34, Resulting Numbers: [27, 34] Generated Node #0,3,4: 15:[27, 34] Operation: 5+29=34 Moving to Node #0,3,2 Current State: 15:[5, 2], Operations: ['87/3=29', '29-27=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[29, 22], Operations: ['87/3=29', '27-5=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,15 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[27, 24], Operations: ['87/3=29', '29-5=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,15 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[29, 32], Operations: ['87/3=29', '5+27=32'] Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 29*32=928, Resulting Numbers: [928] 928,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[27, 34], Operations: ['87/3=29', '5+29=34'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,15 unequal: No Solution Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[5, 3, 60], Operations: ['87-27=60'] Exploring Operation: 60-5=55, Resulting Numbers: [3, 55] Generated Node #0,0,0: 15:[3, 55] Operation: 60-5=55 Exploring Operation: 5*3=15, Resulting Numbers: [60, 15] Generated Node #0,0,1: 15:[60, 15] Operation: 5*3=15 Exploring Operation: 60-3=57, Resulting Numbers: [5, 57] Generated Node #0,0,2: 15:[5, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [5, 20] Generated Node #0,0,3: 15:[5, 20] Operation: 60/3=20 Exploring Operation: 60/5=12, Resulting Numbers: [3, 12] Generated Node #0,0,4: 15:[3, 12] Operation: 60/5=12 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 15:[3, 12], Operations: ['87-27=60', '60/5=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[87, 5, 27, 3], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [5, 3, 60] Generated Node #0,0: 15:[5, 3, 60] Operation: 87-27=60 Moving to Node #0,0 Current State: 15:[5, 3, 60], Operations: ['87-27=60'] Exploring Operation: 60/5=12, Resulting Numbers: [3, 12] Generated Node #0,0,4: 15:[3, 12] Operation: 60/5=12 Moving to Node #0,0,4 Current State: 15:[3, 12], Operations: ['87-27=60', '60/5=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 48, 25, 96, 6 ]
33
[ "96-48=48", "48/6=8", "25+8=33" ]
Current State: 33:[48, 25, 96, 6], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [25, 6, 48] Generated Node #2: [25, 6, 48] from Operation: 96-48=48 Current State: 33:[25, 6, 48], Operations: ['96-48=48'] Exploring Operation: 48/6=8, Resulting Numbers: [25, 8] Generated Node #3: [25, 8] from Operation: 48/6=8 Current State: 33:[25, 8], Operations: ['96-48=48', '48/6=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[48, 25, 96, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [25, 96, 8] Generated Node #0,0: 33:[25, 96, 8] Operation: 48/6=8 Exploring Operation: 96/48=2, Resulting Numbers: [25, 6, 2] Generated Node #0,1: 33:[25, 6, 2] Operation: 96/48=2 Exploring Operation: 96/6=16, Resulting Numbers: [48, 25, 16] Generated Node #0,2: 33:[48, 25, 16] Operation: 96/6=16 Exploring Operation: 96-25=71, Resulting Numbers: [48, 6, 71] Generated Node #0,3: 33:[48, 6, 71] Operation: 96-25=71 Exploring Operation: 96-48=48, Resulting Numbers: [25, 6, 48] Generated Node #0,4: 33:[25, 6, 48] Operation: 96-48=48 Moving to Node #0,1 Current State: 33:[25, 6, 2], Operations: ['96/48=2'] Exploring Operation: 25+2=27, Resulting Numbers: [6, 27] Generated Node #0,1,0: 33:[6, 27] Operation: 25+2=27 Exploring Operation: 6*2=12, Resulting Numbers: [25, 12] Generated Node #0,1,1: 33:[25, 12] Operation: 6*2=12 Exploring Operation: 6/2=3, Resulting Numbers: [25, 3] Generated Node #0,1,2: 33:[25, 3] Operation: 6/2=3 Exploring Operation: 25+6=31, Resulting Numbers: [2, 31] Generated Node #0,1,3: 33:[2, 31] Operation: 25+6=31 Exploring Operation: 25-6=19, Resulting Numbers: [2, 19] Generated Node #0,1,4: 33:[2, 19] Operation: 25-6=19 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[2, 31], Operations: ['96/48=2', '25+6=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[48, 25, 96, 6], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [25, 6, 2] Generated Node #0,1: 33:[25, 6, 2] Operation: 96/48=2 Moving to Node #0,1 Current State: 33:[25, 6, 2], Operations: ['96/48=2'] Exploring Operation: 25+6=31, Resulting Numbers: [2, 31] Generated Node #0,1,3: 33:[2, 31] Operation: 25+6=31 Moving to Node #0,1,3 Current State: 33:[2, 31], Operations: ['96/48=2', '25+6=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 39, 87, 12, 1 ]
37
[ "87-39=48", "12-1=11", "48-11=37" ]
Current State: 37:[39, 87, 12, 1], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [12, 1, 48] Generated Node #2: [12, 1, 48] from Operation: 87-39=48 Current State: 37:[12, 1, 48], Operations: ['87-39=48'] Exploring Operation: 12-1=11, Resulting Numbers: [48, 11] Generated Node #3: [48, 11] from Operation: 12-1=11 Current State: 37:[48, 11], Operations: ['87-39=48', '12-1=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[39, 87, 12, 1], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [87, 12, 38] Generated Node #0,0: 37:[87, 12, 38] Operation: 39-1=38 Exploring Operation: 87-12=75, Resulting Numbers: [39, 1, 75] Generated Node #0,1: 37:[39, 1, 75] Operation: 87-12=75 Exploring Operation: 87-1=86, Resulting Numbers: [39, 12, 86] Generated Node #0,2: 37:[39, 12, 86] Operation: 87-1=86 Exploring Operation: 12+1=13, Resulting Numbers: [39, 87, 13] Generated Node #0,3: 37:[39, 87, 13] Operation: 12+1=13 Exploring Operation: 87-39=48, Resulting Numbers: [12, 1, 48] Generated Node #0,4: 37:[12, 1, 48] Operation: 87-39=48 Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[12, 1, 48], Operations: ['87-39=48'] Exploring Operation: 48-1=47, Resulting Numbers: [12, 47] Generated Node #0,4,0: 37:[12, 47] Operation: 48-1=47 Exploring Operation: 12*1=12, Resulting Numbers: [48, 12] Generated Node #0,4,1: 37:[48, 12] Operation: 12*1=12 Exploring Operation: 12/1=12, Resulting Numbers: [48, 12] Generated Node #0,4,2: 37:[48, 12] Operation: 12/1=12 Exploring Operation: 1*48=48, Resulting Numbers: [12, 48] Generated Node #0,4,3: 37:[12, 48] Operation: 1*48=48 Exploring Operation: 12+1=13, Resulting Numbers: [48, 13] Generated Node #0,4,4: 37:[48, 13] Operation: 12+1=13 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 37:[12, 47], Operations: ['87-39=48', '48-1=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,37 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,37 unequal: No Solution No 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: 37:[48, 13], Operations: ['87-39=48', '12+1=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,37 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,37 unequal: No Solution No 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: 37:[48, 12], Operations: ['87-39=48', '12*1=12'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,37 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,37 unequal: No Solution No 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: 37:[48, 12], Operations: ['87-39=48', '12/1=12'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,37 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,37 unequal: No Solution No 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: 37:[12, 48], Operations: ['87-39=48', '1*48=48'] Exploring Operation: 12*48=576, Resulting Numbers: [576] 576,37 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[87, 12, 38], Operations: ['39-1=38'] Exploring Operation: 87-12=75, Resulting Numbers: [38, 75] Generated Node #0,0,0: 37:[38, 75] Operation: 87-12=75 Exploring Operation: 38-12=26, Resulting Numbers: [87, 26] Generated Node #0,0,1: 37:[87, 26] Operation: 38-12=26 Exploring Operation: 12+38=50, Resulting Numbers: [87, 50] Generated Node #0,0,2: 37:[87, 50] Operation: 12+38=50 Exploring Operation: 87+12=99, Resulting Numbers: [38, 99] Generated Node #0,0,3: 37:[38, 99] Operation: 87+12=99 Exploring Operation: 87-38=49, Resulting Numbers: [12, 49] Generated Node #0,0,4: 37:[12, 49] Operation: 87-38=49 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 37:[12, 49], Operations: ['39-1=38', '87-38=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[39, 87, 12, 1], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [87, 12, 38] Generated Node #0,0: 37:[87, 12, 38] Operation: 39-1=38 Moving to Node #0,0 Current State: 37:[87, 12, 38], Operations: ['39-1=38'] Exploring Operation: 87-38=49, Resulting Numbers: [12, 49] Generated Node #0,0,4: 37:[12, 49] Operation: 87-38=49 Moving to Node #0,0,4 Current State: 37:[12, 49], Operations: ['39-1=38', '87-38=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 7, 44, 62, 5 ]
17
[ "7*5=35", "62-44=18", "35-18=17" ]
Current State: 17:[7, 44, 62, 5], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [44, 62, 35] Generated Node #2: [44, 62, 35] from Operation: 7*5=35 Current State: 17:[44, 62, 35], Operations: ['7*5=35'] Exploring Operation: 62-44=18, Resulting Numbers: [35, 18] Generated Node #3: [35, 18] from Operation: 62-44=18 Current State: 17:[35, 18], Operations: ['7*5=35', '62-44=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[7, 44, 62, 5], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [7, 5, 18] Generated Node #0,0: 17:[7, 5, 18] Operation: 62-44=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[7, 5, 18], Operations: ['62-44=18'] Exploring Operation: 7+5=12, Resulting Numbers: [18, 12] Generated Node #0,0,0: 17:[18, 12] Operation: 7+5=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[18, 12], Operations: ['62-44=18', '7+5=12'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 56, 60, 70, 46 ]
96
[ "60-56=4", "70-46=24", "4*24=96" ]
Current State: 96:[56, 60, 70, 46], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [70, 46, 4] Generated Node #2: [70, 46, 4] from Operation: 60-56=4 Current State: 96:[70, 46, 4], Operations: ['60-56=4'] Exploring Operation: 70-46=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 70-46=24 Current State: 96:[4, 24], Operations: ['60-56=4', '70-46=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[56, 60, 70, 46], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [60, 46, 14] Generated Node #0,0: 96:[60, 46, 14] Operation: 70-56=14 Exploring Operation: 70-60=10, Resulting Numbers: [56, 46, 10] Generated Node #0,1: 96:[56, 46, 10] Operation: 70-60=10 Exploring Operation: 70-46=24, Resulting Numbers: [56, 60, 24] Generated Node #0,2: 96:[56, 60, 24] Operation: 70-46=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[56, 46, 10], Operations: ['70-60=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46, 46] Generated Node #0,1,0: 96:[46, 46] Operation: 56-10=46 Exploring Operation: 56-46=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 96:[10, 10] Operation: 56-46=10 Exploring Operation: 56+46=102, Resulting Numbers: [10, 102] Generated Node #0,1,2: 96:[10, 102] Operation: 56+46=102 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[46, 46], Operations: ['70-60=10', '56-10=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[10, 10], Operations: ['70-60=10', '56-46=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[10, 102], Operations: ['70-60=10', '56+46=102'] Exploring Operation: 10*102=1020, Resulting Numbers: [1020] 1020,96 unequal: No Solution Exploring Operation: 10+102=112, Resulting Numbers: [112] 112,96 unequal: No Solution Exploring Operation: 102-10=92, Resulting Numbers: [92] 92,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[60, 46, 14], Operations: ['70-56=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46, 46] Generated Node #0,0,0: 96:[46, 46] Operation: 60-14=46 Exploring Operation: 60+46=106, Resulting Numbers: [14, 106] Generated Node #0,0,1: 96:[14, 106] Operation: 60+46=106 Exploring Operation: 60-46=14, Resulting Numbers: [14, 14] Generated Node #0,0,2: 96:[14, 14] Operation: 60-46=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[46, 46], Operations: ['70-56=14', '60-14=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[14, 14], Operations: ['70-56=14', '60-46=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[14, 106], Operations: ['70-56=14', '60+46=106'] Exploring Operation: 14*106=1484, Resulting Numbers: [1484] 1484,96 unequal: No Solution Exploring Operation: 106-14=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 14+106=120, Resulting Numbers: [120] 120,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[56, 60, 24], Operations: ['70-46=24'] Exploring Operation: 60-56=4, Resulting Numbers: [24, 4] Generated Node #0,2,0: 96:[24, 4] Operation: 60-56=4 Exploring Operation: 60-24=36, Resulting Numbers: [56, 36] Generated Node #0,2,1: 96:[56, 36] Operation: 60-24=36 Exploring Operation: 56-24=32, Resulting Numbers: [60, 32] Generated Node #0,2,2: 96:[60, 32] Operation: 56-24=32 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[24, 4], Operations: ['70-46=24', '60-56=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[56, 60, 70, 46], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [56, 60, 24] Generated Node #0,2: 96:[56, 60, 24] Operation: 70-46=24 Moving to Node #0,2 Current State: 96:[56, 60, 24], Operations: ['70-46=24'] Exploring Operation: 60-56=4, Resulting Numbers: [24, 4] Generated Node #0,2,0: 96:[24, 4] Operation: 60-56=4 Moving to Node #0,2,0 Current State: 96:[24, 4], Operations: ['70-46=24', '60-56=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 65, 3, 91, 90 ]
56
[ "91-65=26", "90/3=30", "26+30=56" ]
Current State: 56:[65, 3, 91, 90], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [3, 90, 26] Generated Node #2: [3, 90, 26] from Operation: 91-65=26 Current State: 56:[3, 90, 26], Operations: ['91-65=26'] Exploring Operation: 90/3=30, Resulting Numbers: [26, 30] Generated Node #3: [26, 30] from Operation: 90/3=30 Current State: 56:[26, 30], Operations: ['91-65=26', '90/3=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[65, 3, 91, 90], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [3, 90, 26] Generated Node #0,0: 56:[3, 90, 26] Operation: 91-65=26 Exploring Operation: 90-65=25, Resulting Numbers: [3, 91, 25] Generated Node #0,1: 56:[3, 91, 25] Operation: 90-65=25 Exploring Operation: 65-3=62, Resulting Numbers: [91, 90, 62] Generated Node #0,2: 56:[91, 90, 62] Operation: 65-3=62 Exploring Operation: 90/3=30, Resulting Numbers: [65, 91, 30] Generated Node #0,3: 56:[65, 91, 30] Operation: 90/3=30 Exploring Operation: 91-90=1, Resulting Numbers: [65, 3, 1] Generated Node #0,4: 56:[65, 3, 1] Operation: 91-90=1 Moving to Node #0,4 Current State: 56:[65, 3, 1], Operations: ['91-90=1'] Exploring Operation: 65-3=62, Resulting Numbers: [1, 62] Generated Node #0,4,0: 56:[1, 62] Operation: 65-3=62 Exploring Operation: 65*1=65, Resulting Numbers: [3, 65] Generated Node #0,4,1: 56:[3, 65] Operation: 65*1=65 Exploring Operation: 65-1=64, Resulting Numbers: [3, 64] Generated Node #0,4,2: 56:[3, 64] Operation: 65-1=64 Exploring Operation: 3-1=2, Resulting Numbers: [65, 2] Generated Node #0,4,3: 56:[65, 2] Operation: 3-1=2 Exploring Operation: 3+1=4, Resulting Numbers: [65, 4] Generated Node #0,4,4: 56:[65, 4] Operation: 3+1=4 Moving to Node #0,0 Current State: 56:[3, 90, 26], Operations: ['91-65=26'] Exploring Operation: 90-3=87, Resulting Numbers: [26, 87] Generated Node #0,0,0: 56:[26, 87] Operation: 90-3=87 Exploring Operation: 90-26=64, Resulting Numbers: [3, 64] Generated Node #0,0,1: 56:[3, 64] Operation: 90-26=64 Exploring Operation: 3+26=29, Resulting Numbers: [90, 29] Generated Node #0,0,2: 56:[90, 29] Operation: 3+26=29 Exploring Operation: 90/3=30, Resulting Numbers: [26, 30] Generated Node #0,0,3: 56:[26, 30] Operation: 90/3=30 Exploring Operation: 3+90=93, Resulting Numbers: [26, 93] Generated Node #0,0,4: 56:[26, 93] Operation: 3+90=93 Moving to Node #0,1 Current State: 56:[3, 91, 25], Operations: ['90-65=25'] Exploring Operation: 3+25=28, Resulting Numbers: [91, 28] Generated Node #0,1,0: 56:[91, 28] Operation: 3+25=28 Exploring Operation: 91-25=66, Resulting Numbers: [3, 66] Generated Node #0,1,1: 56:[3, 66] Operation: 91-25=66 Exploring Operation: 25-3=22, Resulting Numbers: [91, 22] Generated Node #0,1,2: 56:[91, 22] Operation: 25-3=22 Exploring Operation: 3+91=94, Resulting Numbers: [25, 94] Generated Node #0,1,3: 56:[25, 94] Operation: 3+91=94 Exploring Operation: 91-3=88, Resulting Numbers: [25, 88] Generated Node #0,1,4: 56:[25, 88] Operation: 91-3=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[3, 66], Operations: ['90-65=25', '91-25=66'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,56 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,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:[91, 28], Operations: ['90-65=25', '3+25=28'] Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,56 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,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,4 Current State: 56:[25, 88], Operations: ['90-65=25', '91-3=88'] Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 25*88=2200, Resulting Numbers: [2200] 2200,56 unequal: No Solution Exploring Operation: 25+88=113, Resulting Numbers: [113] 113,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,2 Current State: 56:[91, 22], Operations: ['90-65=25', '25-3=22'] Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,56 unequal: No Solution Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,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,3 Current State: 56:[25, 94], Operations: ['90-65=25', '3+91=94'] Exploring Operation: 25+94=119, Resulting Numbers: [119] 119,56 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 25*94=2350, Resulting Numbers: [2350] 2350,56 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: 56:[65, 91, 30], Operations: ['90/3=30'] Exploring Operation: 91-30=61, Resulting Numbers: [65, 61] Generated Node #0,3,0: 56:[65, 61] Operation: 91-30=61 Exploring Operation: 91-65=26, Resulting Numbers: [30, 26] Generated Node #0,3,1: 56:[30, 26] Operation: 91-65=26 Exploring Operation: 91+30=121, Resulting Numbers: [65, 121] Generated Node #0,3,2: 56:[65, 121] Operation: 91+30=121 Exploring Operation: 65+30=95, Resulting Numbers: [91, 95] Generated Node #0,3,3: 56:[91, 95] Operation: 65+30=95 Exploring Operation: 65-30=35, Resulting Numbers: [91, 35] Generated Node #0,3,4: 56:[91, 35] Operation: 65-30=35 Moving to Node #0,2 Current State: 56:[91, 90, 62], Operations: ['65-3=62'] Exploring Operation: 91+62=153, Resulting Numbers: [90, 153] Generated Node #0,2,0: 56:[90, 153] Operation: 91+62=153 Exploring Operation: 90-62=28, Resulting Numbers: [91, 28] Generated Node #0,2,1: 56:[91, 28] Operation: 90-62=28 Exploring Operation: 91+90=181, Resulting Numbers: [62, 181] Generated Node #0,2,2: 56:[62, 181] Operation: 91+90=181 Exploring Operation: 91-90=1, Resulting Numbers: [62, 1] Generated Node #0,2,3: 56:[62, 1] Operation: 91-90=1 Exploring Operation: 91-62=29, Resulting Numbers: [90, 29] Generated Node #0,2,4: 56:[90, 29] Operation: 91-62=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[62, 1], Operations: ['65-3=62', '91-90=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,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,2,1 Current State: 56:[91, 28], Operations: ['65-3=62', '90-62=28'] Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,56 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,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,2,4 Current State: 56:[90, 29], Operations: ['65-3=62', '91-62=29'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,56 unequal: No Solution Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,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,2,0 Current State: 56:[90, 153], Operations: ['65-3=62', '91+62=153'] Exploring Operation: 90*153=13770, Resulting Numbers: [13770] 13770,56 unequal: No Solution Exploring Operation: 153-90=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 90+153=243, Resulting Numbers: [243] 243,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,2,2 Current State: 56:[62, 181], Operations: ['65-3=62', '91+90=181'] Exploring Operation: 62*181=11222, Resulting Numbers: [11222] 11222,56 unequal: No Solution Exploring Operation: 62+181=243, Resulting Numbers: [243] 243,56 unequal: No Solution Exploring Operation: 181-62=119, Resulting Numbers: [119] 119,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 56:[26, 30], Operations: ['91-65=26', '90/3=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,56 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[65, 3, 91, 90], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [3, 90, 26] Generated Node #0,0: 56:[3, 90, 26] Operation: 91-65=26 Moving to Node #0,0 Current State: 56:[3, 90, 26], Operations: ['91-65=26'] Exploring Operation: 90/3=30, Resulting Numbers: [26, 30] Generated Node #0,0,3: 56:[26, 30] Operation: 90/3=30 Moving to Node #0,0,3 Current State: 56:[26, 30], Operations: ['91-65=26', '90/3=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 19, 2, 14, 32 ]
59
[ "19-14=5", "2*32=64", "64-5=59" ]
Current State: 59:[19, 2, 14, 32], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [2, 32, 5] Generated Node #2: [2, 32, 5] from Operation: 19-14=5 Current State: 59:[2, 32, 5], Operations: ['19-14=5'] Exploring Operation: 2*32=64, Resulting Numbers: [5, 64] Generated Node #3: [5, 64] from Operation: 2*32=64 Current State: 59:[5, 64], Operations: ['19-14=5', '2*32=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[19, 2, 14, 32], Operations: [] Exploring Operation: 2*14=28, Resulting Numbers: [19, 32, 28] Generated Node #0,0: 59:[19, 32, 28] Operation: 2*14=28 Exploring Operation: 19+14=33, Resulting Numbers: [2, 32, 33] Generated Node #0,1: 59:[2, 32, 33] Operation: 19+14=33 Exploring Operation: 19*2=38, Resulting Numbers: [14, 32, 38] Generated Node #0,2: 59:[14, 32, 38] Operation: 19*2=38 Exploring Operation: 2*32=64, Resulting Numbers: [19, 14, 64] Generated Node #0,3: 59:[19, 14, 64] Operation: 2*32=64 Exploring Operation: 19+2=21, Resulting Numbers: [14, 32, 21] Generated Node #0,4: 59:[14, 32, 21] Operation: 19+2=21 Moving to Node #0,3 Current State: 59:[19, 14, 64], Operations: ['2*32=64'] Exploring Operation: 19-14=5, Resulting Numbers: [64, 5] Generated Node #0,3,0: 59:[64, 5] Operation: 19-14=5 Exploring Operation: 19+14=33, Resulting Numbers: [64, 33] Generated Node #0,3,1: 59:[64, 33] Operation: 19+14=33 Exploring Operation: 14+64=78, Resulting Numbers: [19, 78] Generated Node #0,3,2: 59:[19, 78] Operation: 14+64=78 Exploring Operation: 64-14=50, Resulting Numbers: [19, 50] Generated Node #0,3,3: 59:[19, 50] Operation: 64-14=50 Exploring Operation: 64-19=45, Resulting Numbers: [14, 45] Generated Node #0,3,4: 59:[14, 45] Operation: 64-19=45 Moving to Node #0,2 Current State: 59:[14, 32, 38], Operations: ['19*2=38'] Exploring Operation: 32+38=70, Resulting Numbers: [14, 70] Generated Node #0,2,0: 59:[14, 70] Operation: 32+38=70 Exploring Operation: 38-14=24, Resulting Numbers: [32, 24] Generated Node #0,2,1: 59:[32, 24] Operation: 38-14=24 Exploring Operation: 14+38=52, Resulting Numbers: [32, 52] Generated Node #0,2,2: 59:[32, 52] Operation: 14+38=52 Exploring Operation: 32-14=18, Resulting Numbers: [38, 18] Generated Node #0,2,3: 59:[38, 18] Operation: 32-14=18 Exploring Operation: 14+32=46, Resulting Numbers: [38, 46] Generated Node #0,2,4: 59:[38, 46] Operation: 14+32=46 Moving to Node #0,0 Current State: 59:[19, 32, 28], Operations: ['2*14=28'] Exploring Operation: 32+28=60, Resulting Numbers: [19, 60] Generated Node #0,0,0: 59:[19, 60] Operation: 32+28=60 Exploring Operation: 32-19=13, Resulting Numbers: [28, 13] Generated Node #0,0,1: 59:[28, 13] Operation: 32-19=13 Exploring Operation: 19+28=47, Resulting Numbers: [32, 47] Generated Node #0,0,2: 59:[32, 47] Operation: 19+28=47 Exploring Operation: 28-19=9, Resulting Numbers: [32, 9] Generated Node #0,0,3: 59:[32, 9] Operation: 28-19=9 Exploring Operation: 19+32=51, Resulting Numbers: [28, 51] Generated Node #0,0,4: 59:[28, 51] Operation: 19+32=51 Moving to Node #0,1 Current State: 59:[2, 32, 33], Operations: ['19+14=33'] Exploring Operation: 32-2=30, Resulting Numbers: [33, 30] Generated Node #0,1,0: 59:[33, 30] Operation: 32-2=30 Exploring Operation: 2+33=35, Resulting Numbers: [32, 35] Generated Node #0,1,1: 59:[32, 35] Operation: 2+33=35 Exploring Operation: 2*33=66, Resulting Numbers: [32, 66] Generated Node #0,1,2: 59:[32, 66] Operation: 2*33=66 Exploring Operation: 2+32=34, Resulting Numbers: [33, 34] Generated Node #0,1,3: 59:[33, 34] Operation: 2+32=34 Exploring Operation: 2*32=64, Resulting Numbers: [33, 64] Generated Node #0,1,4: 59:[33, 64] Operation: 2*32=64 Moving to Node #0,4 Current State: 59:[14, 32, 21], Operations: ['19+2=21'] Exploring Operation: 32+21=53, Resulting Numbers: [14, 53] Generated Node #0,4,0: 59:[14, 53] Operation: 32+21=53 Exploring Operation: 21-14=7, Resulting Numbers: [32, 7] Generated Node #0,4,1: 59:[32, 7] Operation: 21-14=7 Exploring Operation: 14+32=46, Resulting Numbers: [21, 46] Generated Node #0,4,2: 59:[21, 46] Operation: 14+32=46 Exploring Operation: 32-14=18, Resulting Numbers: [21, 18] Generated Node #0,4,3: 59:[21, 18] Operation: 32-14=18 Exploring Operation: 14+21=35, Resulting Numbers: [32, 35] Generated Node #0,4,4: 59:[32, 35] Operation: 14+21=35 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[14, 53], Operations: ['19+2=21', '32+21=53'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,59 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[21, 46], Operations: ['19+2=21', '14+32=46'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,59 unequal: No Solution Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,59 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[32, 35], Operations: ['19+2=21', '14+21=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[32, 7], Operations: ['19+2=21', '21-14=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,59 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[21, 18], Operations: ['19+2=21', '32-14=18'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 59:[64, 33], Operations: ['2*32=64', '19+14=33'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,59 unequal: No Solution Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[33, 64], Operations: ['19+14=33', '2*32=64'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 33*64=2112, Resulting Numbers: [2112] 2112,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[32, 52], Operations: ['19*2=38', '14+38=52'] Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[38, 46], Operations: ['19*2=38', '14+32=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,59 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[32, 66], Operations: ['19+14=33', '2*33=66'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[28, 51], Operations: ['2*14=28', '19+32=51'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[32, 47], Operations: ['2*14=28', '19+28=47'] Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[19, 60], Operations: ['2*14=28', '32+28=60'] Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[19, 50], Operations: ['2*32=64', '64-14=50'] Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 19*50=950, Resulting Numbers: [950] 950,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[33, 34], Operations: ['19+14=33', '2+32=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 33*34=1122, Resulting Numbers: [1122] 1122,59 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[32, 35], Operations: ['19+14=33', '2+33=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,59 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[33, 30], Operations: ['19+14=33', '32-2=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,59 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[14, 70], Operations: ['19*2=38', '32+38=70'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[64, 5], Operations: ['2*32=64', '19-14=5'] Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,59 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[19, 2, 14, 32], Operations: [] Exploring Operation: 2*32=64, Resulting Numbers: [19, 14, 64] Generated Node #0,3: 59:[19, 14, 64] Operation: 2*32=64 Moving to Node #0,3 Current State: 59:[19, 14, 64], Operations: ['2*32=64'] Exploring Operation: 19-14=5, Resulting Numbers: [64, 5] Generated Node #0,3,0: 59:[64, 5] Operation: 19-14=5 Moving to Node #0,3,0 Current State: 59:[64, 5], Operations: ['2*32=64', '19-14=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.921007
hs_5
mult_heuristic
[ 83, 3, 98, 7 ]
66
[ "83-3=80", "98/7=14", "80-14=66" ]
Current State: 66:[83, 3, 98, 7], Operations: [] Exploring Operation: 83-3=80, Resulting Numbers: [98, 7, 80] Generated Node #2: [98, 7, 80] from Operation: 83-3=80 Current State: 66:[98, 7, 80], Operations: ['83-3=80'] Exploring Operation: 98/7=14, Resulting Numbers: [80, 14] Generated Node #3: [80, 14] from Operation: 98/7=14 Current State: 66:[80, 14], Operations: ['83-3=80', '98/7=14'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[83, 3, 98, 7], Operations: [] Exploring Operation: 83-7=76, Resulting Numbers: [3, 98, 76] Generated Node #0,0: 66:[3, 98, 76] Operation: 83-7=76 Exploring Operation: 98-83=15, Resulting Numbers: [3, 7, 15] Generated Node #0,1: 66:[3, 7, 15] Operation: 98-83=15 Exploring Operation: 98/7=14, Resulting Numbers: [83, 3, 14] Generated Node #0,2: 66:[83, 3, 14] Operation: 98/7=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[3, 7, 15], Operations: ['98-83=15'] Exploring Operation: 7+15=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 66:[3, 22] Operation: 7+15=22 Exploring Operation: 15-3=12, Resulting Numbers: [7, 12] Generated Node #0,1,1: 66:[7, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [7, 5] Generated Node #0,1,2: 66:[7, 5] Operation: 15/3=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[3, 22], Operations: ['98-83=15', '7+15=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[83, 3, 98, 7], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [3, 7, 15] Generated Node #0,1: 66:[3, 7, 15] Operation: 98-83=15 Moving to Node #0,1 Current State: 66:[3, 7, 15], Operations: ['98-83=15'] Exploring Operation: 7+15=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 66:[3, 22] Operation: 7+15=22 Moving to Node #0,1,0 Current State: 66:[3, 22], Operations: ['98-83=15', '7+15=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 68, 42, 1, 28 ]
53
[ "68-42=26", "28-1=27", "26+27=53" ]
Current State: 53:[68, 42, 1, 28], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [1, 28, 26] Generated Node #2: [1, 28, 26] from Operation: 68-42=26 Current State: 53:[1, 28, 26], Operations: ['68-42=26'] Exploring Operation: 28-1=27, Resulting Numbers: [26, 27] Generated Node #3: [26, 27] from Operation: 28-1=27 Current State: 53:[26, 27], Operations: ['68-42=26', '28-1=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[68, 42, 1, 28], Operations: [] Exploring Operation: 42+1=43, Resulting Numbers: [68, 28, 43] Generated Node #0,0: 53:[68, 28, 43] Operation: 42+1=43 Exploring Operation: 68*1=68, Resulting Numbers: [42, 28, 68] Generated Node #0,1: 53:[42, 28, 68] Operation: 68*1=68 Exploring Operation: 68-1=67, Resulting Numbers: [42, 28, 67] Generated Node #0,2: 53:[42, 28, 67] Operation: 68-1=67 Exploring Operation: 1+28=29, Resulting Numbers: [68, 42, 29] Generated Node #0,3: 53:[68, 42, 29] Operation: 1+28=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[68, 28, 43], Operations: ['42+1=43'] Exploring Operation: 28+43=71, Resulting Numbers: [68, 71] Generated Node #0,0,0: 53:[68, 71] Operation: 28+43=71 Exploring Operation: 68+28=96, Resulting Numbers: [43, 96] Generated Node #0,0,1: 53:[43, 96] Operation: 68+28=96 Exploring Operation: 68-28=40, Resulting Numbers: [43, 40] Generated Node #0,0,2: 53:[43, 40] Operation: 68-28=40 Exploring Operation: 68-43=25, Resulting Numbers: [28, 25] Generated Node #0,0,3: 53:[28, 25] Operation: 68-43=25 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[43, 40], Operations: ['42+1=43', '68-28=40'] Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,53 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[68, 71], Operations: ['42+1=43', '28+43=71'] Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,53 unequal: No Solution Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[43, 96], Operations: ['42+1=43', '68+28=96'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[68, 42, 1, 28], Operations: [] Exploring Operation: 42+1=43, Resulting Numbers: [68, 28, 43] Generated Node #0,0: 53:[68, 28, 43] Operation: 42+1=43 Moving to Node #0,0 Current State: 53:[68, 28, 43], Operations: ['42+1=43'] Exploring Operation: 68+28=96, Resulting Numbers: [43, 96] Generated Node #0,0,1: 53:[43, 96] Operation: 68+28=96 Moving to Node #0,0,1 Current State: 53:[43, 96], Operations: ['42+1=43', '68+28=96'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 91, 90, 39, 6 ]
34
[ "91-90=1", "39-6=33", "1+33=34" ]
Current State: 34:[91, 90, 39, 6], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [39, 6, 1] Generated Node #2: [39, 6, 1] from Operation: 91-90=1 Current State: 34:[39, 6, 1], Operations: ['91-90=1'] Exploring Operation: 39-6=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 39-6=33 Current State: 34:[1, 33], Operations: ['91-90=1', '39-6=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[91, 90, 39, 6], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [91, 39, 15] Generated Node #0,0: 34:[91, 39, 15] Operation: 90/6=15 Exploring Operation: 90-39=51, Resulting Numbers: [91, 6, 51] Generated Node #0,1: 34:[91, 6, 51] Operation: 90-39=51 Exploring Operation: 91-39=52, Resulting Numbers: [90, 6, 52] Generated Node #0,2: 34:[90, 6, 52] Operation: 91-39=52 Exploring Operation: 91-6=85, Resulting Numbers: [90, 39, 85] Generated Node #0,3: 34:[90, 39, 85] Operation: 91-6=85 Exploring Operation: 91-90=1, Resulting Numbers: [39, 6, 1] Generated Node #0,4: 34:[39, 6, 1] Operation: 91-90=1 Moving to Node #0,4 Current State: 34:[39, 6, 1], Operations: ['91-90=1'] Exploring Operation: 39*1=39, Resulting Numbers: [6, 39] Generated Node #0,4,0: 34:[6, 39] Operation: 39*1=39 Exploring Operation: 39-1=38, Resulting Numbers: [6, 38] Generated Node #0,4,1: 34:[6, 38] Operation: 39-1=38 Exploring Operation: 39/1=39, Resulting Numbers: [6, 39] Generated Node #0,4,2: 34:[6, 39] Operation: 39/1=39 Exploring Operation: 39-6=33, Resulting Numbers: [1, 33] Generated Node #0,4,3: 34:[1, 33] Operation: 39-6=33 Exploring Operation: 6-1=5, Resulting Numbers: [39, 5] Generated Node #0,4,4: 34:[39, 5] Operation: 6-1=5 Moving to Node #0,0 Current State: 34:[91, 39, 15], Operations: ['90/6=15'] Exploring Operation: 39+15=54, Resulting Numbers: [91, 54] Generated Node #0,0,0: 34:[91, 54] Operation: 39+15=54 Exploring Operation: 39-15=24, Resulting Numbers: [91, 24] Generated Node #0,0,1: 34:[91, 24] Operation: 39-15=24 Exploring Operation: 91-15=76, Resulting Numbers: [39, 76] Generated Node #0,0,2: 34:[39, 76] Operation: 91-15=76 Exploring Operation: 91-39=52, Resulting Numbers: [15, 52] Generated Node #0,0,3: 34:[15, 52] Operation: 91-39=52 Exploring Operation: 91+15=106, Resulting Numbers: [39, 106] Generated Node #0,0,4: 34:[39, 106] Operation: 91+15=106 Moving to Node #0,1 Current State: 34:[91, 6, 51], Operations: ['90-39=51'] Exploring Operation: 6+51=57, Resulting Numbers: [91, 57] Generated Node #0,1,0: 34:[91, 57] Operation: 6+51=57 Exploring Operation: 91-6=85, Resulting Numbers: [51, 85] Generated Node #0,1,1: 34:[51, 85] Operation: 91-6=85 Exploring Operation: 91+6=97, Resulting Numbers: [51, 97] Generated Node #0,1,2: 34:[51, 97] Operation: 91+6=97 Exploring Operation: 91-51=40, Resulting Numbers: [6, 40] Generated Node #0,1,3: 34:[6, 40] Operation: 91-51=40 Exploring Operation: 51-6=45, Resulting Numbers: [91, 45] Generated Node #0,1,4: 34:[91, 45] Operation: 51-6=45 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[6, 40], Operations: ['90-39=51', '91-51=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,34 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[91, 90, 39, 6], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [91, 6, 51] Generated Node #0,1: 34:[91, 6, 51] Operation: 90-39=51 Moving to Node #0,1 Current State: 34:[91, 6, 51], Operations: ['90-39=51'] Exploring Operation: 91-51=40, Resulting Numbers: [6, 40] Generated Node #0,1,3: 34:[6, 40] Operation: 91-51=40 Moving to Node #0,1,3 Current State: 34:[6, 40], Operations: ['90-39=51', '91-51=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 4, 37, 98, 39 ]
25
[ "98-37=61", "39+61=100", "100/4=25" ]
Current State: 25:[4, 37, 98, 39], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [4, 39, 61] Generated Node #2: [4, 39, 61] from Operation: 98-37=61 Current State: 25:[4, 39, 61], Operations: ['98-37=61'] Exploring Operation: 39+61=100, Resulting Numbers: [4, 100] Generated Node #3: [4, 100] from Operation: 39+61=100 Current State: 25:[4, 100], Operations: ['98-37=61', '39+61=100'] Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[4, 37, 98, 39], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [4, 39, 61] Generated Node #0,0: 25:[4, 39, 61] Operation: 98-37=61 Exploring Operation: 98-39=59, Resulting Numbers: [4, 37, 59] Generated Node #0,1: 25:[4, 37, 59] Operation: 98-39=59 Moving to Node #0,1 Current State: 25:[4, 37, 59], Operations: ['98-39=59'] Exploring Operation: 59-37=22, Resulting Numbers: [4, 22] Generated Node #0,1,0: 25:[4, 22] Operation: 59-37=22 Exploring Operation: 37-4=33, Resulting Numbers: [59, 33] Generated Node #0,1,1: 25:[59, 33] Operation: 37-4=33 Moving to Node #0,0 Current State: 25:[4, 39, 61], Operations: ['98-37=61'] Exploring Operation: 39-4=35, Resulting Numbers: [61, 35] Generated Node #0,0,0: 25:[61, 35] Operation: 39-4=35 Exploring Operation: 61-39=22, Resulting Numbers: [4, 22] Generated Node #0,0,1: 25:[4, 22] Operation: 61-39=22 Moving to Node #0,1,0 Current State: 25:[4, 22], Operations: ['98-39=59', '59-37=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[4, 22], Operations: ['98-37=61', '61-39=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[59, 33], Operations: ['98-39=59', '37-4=33'] Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[61, 35], Operations: ['98-37=61', '39-4=35'] Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 56, 53, 88 ]
29
[ "8+56=64", "88-53=35", "64-35=29" ]
Current State: 29:[8, 56, 53, 88], Operations: [] Exploring Operation: 8+56=64, Resulting Numbers: [53, 88, 64] Generated Node #2: [53, 88, 64] from Operation: 8+56=64 Current State: 29:[53, 88, 64], Operations: ['8+56=64'] Exploring Operation: 88-53=35, Resulting Numbers: [64, 35] Generated Node #3: [64, 35] from Operation: 88-53=35 Current State: 29:[64, 35], Operations: ['8+56=64', '88-53=35'] Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[8, 56, 53, 88], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [8, 53, 32] Generated Node #0,0: 29:[8, 53, 32] Operation: 88-56=32 Exploring Operation: 53-8=45, Resulting Numbers: [56, 88, 45] Generated Node #0,1: 29:[56, 88, 45] Operation: 53-8=45 Exploring Operation: 88-53=35, Resulting Numbers: [8, 56, 35] Generated Node #0,2: 29:[8, 56, 35] Operation: 88-53=35 Exploring Operation: 56-8=48, Resulting Numbers: [53, 88, 48] Generated Node #0,3: 29:[53, 88, 48] Operation: 56-8=48 Exploring Operation: 88/8=11, Resulting Numbers: [56, 53, 11] Generated Node #0,4: 29:[56, 53, 11] Operation: 88/8=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[8, 53, 32], Operations: ['88-56=32'] Exploring Operation: 53-32=21, Resulting Numbers: [8, 21] Generated Node #0,0,0: 29:[8, 21] Operation: 53-32=21 Exploring Operation: 53-8=45, Resulting Numbers: [32, 45] Generated Node #0,0,1: 29:[32, 45] Operation: 53-8=45 Exploring Operation: 32-8=24, Resulting Numbers: [53, 24] Generated Node #0,0,2: 29:[53, 24] Operation: 32-8=24 Exploring Operation: 8+32=40, Resulting Numbers: [53, 40] Generated Node #0,0,3: 29:[53, 40] Operation: 8+32=40 Exploring Operation: 8+53=61, Resulting Numbers: [32, 61] Generated Node #0,0,4: 29:[32, 61] Operation: 8+53=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[32, 45], Operations: ['88-56=32', '53-8=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,29 unequal: No Solution Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,29 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[8, 21], Operations: ['88-56=32', '53-32=21'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[8, 56, 53, 88], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [8, 53, 32] Generated Node #0,0: 29:[8, 53, 32] Operation: 88-56=32 Moving to Node #0,0 Current State: 29:[8, 53, 32], Operations: ['88-56=32'] Exploring Operation: 53-32=21, Resulting Numbers: [8, 21] Generated Node #0,0,0: 29:[8, 21] Operation: 53-32=21 Moving to Node #0,0,0 Current State: 29:[8, 21], Operations: ['88-56=32', '53-32=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 63, 83, 57, 18 ]
86
[ "63-57=6", "18/6=3", "83+3=86" ]
Current State: 86:[63, 83, 57, 18], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [83, 18, 6] Generated Node #2: [83, 18, 6] from Operation: 63-57=6 Current State: 86:[83, 18, 6], Operations: ['63-57=6'] Exploring Operation: 18/6=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 18/6=3 Current State: 86:[83, 3], Operations: ['63-57=6', '18/6=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[63, 83, 57, 18], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [83, 57, 45] Generated Node #0,0: 86:[83, 57, 45] Operation: 63-18=45 Exploring Operation: 57+18=75, Resulting Numbers: [63, 83, 75] Generated Node #0,1: 86:[63, 83, 75] Operation: 57+18=75 Exploring Operation: 57-18=39, Resulting Numbers: [63, 83, 39] Generated Node #0,2: 86:[63, 83, 39] Operation: 57-18=39 Exploring Operation: 63+18=81, Resulting Numbers: [83, 57, 81] Generated Node #0,3: 86:[83, 57, 81] Operation: 63+18=81 Exploring Operation: 63-57=6, Resulting Numbers: [83, 18, 6] Generated Node #0,4: 86:[83, 18, 6] Operation: 63-57=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[83, 57, 45], Operations: ['63-18=45'] Exploring Operation: 83-57=26, Resulting Numbers: [45, 26] Generated Node #0,0,0: 86:[45, 26] Operation: 83-57=26 Exploring Operation: 83-45=38, Resulting Numbers: [57, 38] Generated Node #0,0,1: 86:[57, 38] Operation: 83-45=38 Exploring Operation: 57-45=12, Resulting Numbers: [83, 12] Generated Node #0,0,2: 86:[83, 12] Operation: 57-45=12 Exploring Operation: 83+57=140, Resulting Numbers: [45, 140] Generated Node #0,0,3: 86:[45, 140] Operation: 83+57=140 Exploring Operation: 57+45=102, Resulting Numbers: [83, 102] Generated Node #0,0,4: 86:[83, 102] Operation: 57+45=102 Moving to Node #0,0,2 Current State: 86:[83, 12], Operations: ['63-18=45', '57-45=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,86 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,86 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[57, 38], Operations: ['63-18=45', '83-45=38'] Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,86 unequal: No Solution Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[45, 26], Operations: ['63-18=45', '83-57=26'] Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,86 unequal: No Solution Moving to Node #0,0,4 Current State: 86:[83, 102], Operations: ['63-18=45', '57+45=102'] Exploring Operation: 83*102=8466, Resulting Numbers: [8466] 8466,86 unequal: No Solution Exploring Operation: 83+102=185, Resulting Numbers: [185] 185,86 unequal: No Solution Exploring Operation: 102-83=19, Resulting Numbers: [19] 19,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[45, 140], Operations: ['63-18=45', '83+57=140'] Exploring Operation: 45*140=6300, Resulting Numbers: [6300] 6300,86 unequal: No Solution Exploring Operation: 45+140=185, Resulting Numbers: [185] 185,86 unequal: No Solution Exploring Operation: 140-45=95, Resulting Numbers: [95] 95,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[83, 57, 81], Operations: ['63+18=81'] Exploring Operation: 81-57=24, Resulting Numbers: [83, 24] Generated Node #0,3,0: 86:[83, 24] Operation: 81-57=24 Exploring Operation: 83-81=2, Resulting Numbers: [57, 2] Generated Node #0,3,1: 86:[57, 2] Operation: 83-81=2 Exploring Operation: 83+57=140, Resulting Numbers: [81, 140] Generated Node #0,3,2: 86:[81, 140] Operation: 83+57=140 Exploring Operation: 83-57=26, Resulting Numbers: [81, 26] Generated Node #0,3,3: 86:[81, 26] Operation: 83-57=26 Exploring Operation: 57+81=138, Resulting Numbers: [83, 138] Generated Node #0,3,4: 86:[83, 138] Operation: 57+81=138 Moving to Node #0,3,1 Current State: 86:[57, 2], Operations: ['63+18=81', '83-81=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,86 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[81, 26], Operations: ['63+18=81', '83-57=26'] Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,86 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,86 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[83, 24], Operations: ['63+18=81', '81-57=24'] Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,86 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,86 unequal: No Solution Moving to Node #0,3,4 Current State: 86:[83, 138], Operations: ['63+18=81', '57+81=138'] Exploring Operation: 83+138=221, Resulting Numbers: [221] 221,86 unequal: No Solution Exploring Operation: 83*138=11454, Resulting Numbers: [11454] 11454,86 unequal: No Solution Exploring Operation: 138-83=55, Resulting Numbers: [55] 55,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[81, 140], Operations: ['63+18=81', '83+57=140'] Exploring Operation: 81*140=11340, Resulting Numbers: [11340] 11340,86 unequal: No Solution Exploring Operation: 140-81=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 81+140=221, Resulting Numbers: [221] 221,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[83, 18, 6], Operations: ['63-57=6'] Exploring Operation: 18/6=3, Resulting Numbers: [83, 3] Generated Node #0,4,0: 86:[83, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [83, 12] Generated Node #0,4,1: 86:[83, 12] Operation: 18-6=12 Exploring Operation: 18+6=24, Resulting Numbers: [83, 24] Generated Node #0,4,2: 86:[83, 24] Operation: 18+6=24 Exploring Operation: 83+6=89, Resulting Numbers: [18, 89] Generated Node #0,4,3: 86:[18, 89] Operation: 83+6=89 Exploring Operation: 83+18=101, Resulting Numbers: [6, 101] Generated Node #0,4,4: 86:[6, 101] Operation: 83+18=101 Moving to Node #0,4,0 Current State: 86:[83, 3], Operations: ['63-57=6', '18/6=3'] Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,86 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[63, 83, 57, 18], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [83, 18, 6] Generated Node #0,4: 86:[83, 18, 6] Operation: 63-57=6 Moving to Node #0,4 Current State: 86:[83, 18, 6], Operations: ['63-57=6'] Exploring Operation: 18/6=3, Resulting Numbers: [83, 3] Generated Node #0,4,0: 86:[83, 3] Operation: 18/6=3 Moving to Node #0,4,0 Current State: 86:[83, 3], Operations: ['63-57=6', '18/6=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 3, 21, 91, 19 ]
29
[ "21+19=40", "3*40=120", "120-91=29" ]
Current State: 29:[3, 21, 91, 19], Operations: [] Exploring Operation: 21+19=40, Resulting Numbers: [3, 91, 40] Generated Node #2: [3, 91, 40] from Operation: 21+19=40 Current State: 29:[3, 91, 40], Operations: ['21+19=40'] Exploring Operation: 3*40=120, Resulting Numbers: [91, 120] Generated Node #3: [91, 120] from Operation: 3*40=120 Current State: 29:[91, 120], Operations: ['21+19=40', '3*40=120'] Exploring Operation: 120-91=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 21, 91, 19], Operations: [] Exploring Operation: 3+19=22, Resulting Numbers: [21, 91, 22] Generated Node #0,0: 29:[21, 91, 22] Operation: 3+19=22 Exploring Operation: 91-21=70, Resulting Numbers: [3, 19, 70] Generated Node #0,1: 29:[3, 19, 70] Operation: 91-21=70 Exploring Operation: 91-3=88, Resulting Numbers: [21, 19, 88] Generated Node #0,2: 29:[21, 19, 88] Operation: 91-3=88 Exploring Operation: 3+21=24, Resulting Numbers: [91, 19, 24] Generated Node #0,3: 29:[91, 19, 24] Operation: 3+21=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[21, 91, 22], Operations: ['3+19=22'] Exploring Operation: 21+91=112, Resulting Numbers: [22, 112] Generated Node #0,0,0: 29:[22, 112] Operation: 21+91=112 Exploring Operation: 91-22=69, Resulting Numbers: [21, 69] Generated Node #0,0,1: 29:[21, 69] Operation: 91-22=69 Exploring Operation: 91-21=70, Resulting Numbers: [22, 70] Generated Node #0,0,2: 29:[22, 70] Operation: 91-21=70 Exploring Operation: 21+22=43, Resulting Numbers: [91, 43] Generated Node #0,0,3: 29:[91, 43] Operation: 21+22=43 Moving to Node #0,0,1 Current State: 29:[21, 69], Operations: ['3+19=22', '91-22=69'] Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,29 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[22, 70], Operations: ['3+19=22', '91-21=70'] Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,29 unequal: No Solution Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,29 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[91, 43], Operations: ['3+19=22', '21+22=43'] Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,29 unequal: No Solution Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[22, 112], Operations: ['3+19=22', '21+91=112'] Exploring Operation: 22+112=134, Resulting Numbers: [134] 134,29 unequal: No Solution Exploring Operation: 22*112=2464, Resulting Numbers: [2464] 2464,29 unequal: No Solution Exploring Operation: 112-22=90, Resulting Numbers: [90] 90,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:[3, 19, 70], Operations: ['91-21=70'] Exploring Operation: 70-3=67, Resulting Numbers: [19, 67] Generated Node #0,1,0: 29:[19, 67] Operation: 70-3=67 Exploring Operation: 3+19=22, Resulting Numbers: [70, 22] Generated Node #0,1,1: 29:[70, 22] Operation: 3+19=22 Exploring Operation: 19-3=16, Resulting Numbers: [70, 16] Generated Node #0,1,2: 29:[70, 16] Operation: 19-3=16 Exploring Operation: 70-19=51, Resulting Numbers: [3, 51] Generated Node #0,1,3: 29:[3, 51] Operation: 70-19=51 Moving to Node #0,1,0 Current State: 29:[19, 67], Operations: ['91-21=70', '70-3=67'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,29 unequal: No Solution Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[3, 51], Operations: ['91-21=70', '70-19=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,29 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[70, 22], Operations: ['91-21=70', '3+19=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,29 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,29 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[70, 16], Operations: ['91-21=70', '19-3=16'] Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,29 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,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:[21, 19, 88], Operations: ['91-3=88'] Exploring Operation: 21+19=40, Resulting Numbers: [88, 40] Generated Node #0,2,0: 29:[88, 40] Operation: 21+19=40 Exploring Operation: 88-19=69, Resulting Numbers: [21, 69] Generated Node #0,2,1: 29:[21, 69] Operation: 88-19=69 Exploring Operation: 88-21=67, Resulting Numbers: [19, 67] Generated Node #0,2,2: 29:[19, 67] Operation: 88-21=67 Exploring Operation: 21-19=2, Resulting Numbers: [88, 2] Generated Node #0,2,3: 29:[88, 2] Operation: 21-19=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[21, 69], Operations: ['91-3=88', '88-19=69'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,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,2,2 Current State: 29:[19, 67], Operations: ['91-3=88', '88-21=67'] Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,29 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,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,2,0 Current State: 29:[88, 40], Operations: ['91-3=88', '21+19=40'] Exploring Operation: 88+40=128, Resulting Numbers: [128] 128,29 unequal: No Solution Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 88*40=3520, Resulting Numbers: [3520] 3520,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,2,3 Current State: 29:[88, 2], Operations: ['91-3=88', '21-19=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[91, 19, 24], Operations: ['3+21=24'] Exploring Operation: 91+19=110, Resulting Numbers: [24, 110] Generated Node #0,3,0: 29:[24, 110] Operation: 91+19=110 Exploring Operation: 19+24=43, Resulting Numbers: [91, 43] Generated Node #0,3,1: 29:[91, 43] Operation: 19+24=43 Exploring Operation: 91-19=72, Resulting Numbers: [24, 72] Generated Node #0,3,2: 29:[24, 72] Operation: 91-19=72 Exploring Operation: 91-24=67, Resulting Numbers: [19, 67] Generated Node #0,3,3: 29:[19, 67] Operation: 91-24=67 Moving to Node #0,3,2 Current State: 29:[24, 72], Operations: ['3+21=24', '91-19=72'] Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,29 unequal: No Solution Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[19, 67], Operations: ['3+21=24', '91-24=67'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[91, 43], Operations: ['3+21=24', '19+24=43'] Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,29 unequal: No Solution Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,29 unequal: No Solution Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[24, 110], Operations: ['3+21=24', '91+19=110'] Exploring Operation: 24*110=2640, Resulting Numbers: [2640] 2640,29 unequal: No Solution Exploring Operation: 24+110=134, Resulting Numbers: [134] 134,29 unequal: No Solution Exploring Operation: 110-24=86, Resulting Numbers: [86] 86,29 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
[ 31, 58, 59, 22 ]
64
[ "58-31=27", "59-22=37", "27+37=64" ]
Current State: 64:[31, 58, 59, 22], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [59, 22, 27] Generated Node #2: [59, 22, 27] from Operation: 58-31=27 Current State: 64:[59, 22, 27], Operations: ['58-31=27'] Exploring Operation: 59-22=37, Resulting Numbers: [27, 37] Generated Node #3: [27, 37] from Operation: 59-22=37 Current State: 64:[27, 37], Operations: ['58-31=27', '59-22=37'] Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[31, 58, 59, 22], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [31, 59, 36] Generated Node #0,0: 64:[31, 59, 36] Operation: 58-22=36 Exploring Operation: 59-58=1, Resulting Numbers: [31, 22, 1] Generated Node #0,1: 64:[31, 22, 1] Operation: 59-58=1 Exploring Operation: 31-22=9, Resulting Numbers: [58, 59, 9] Generated Node #0,2: 64:[58, 59, 9] Operation: 31-22=9 Moving to Node #0,1 Current State: 64:[31, 22, 1], Operations: ['59-58=1'] Exploring Operation: 22-1=21, Resulting Numbers: [31, 21] Generated Node #0,1,0: 64:[31, 21] Operation: 22-1=21 Exploring Operation: 31+1=32, Resulting Numbers: [22, 32] Generated Node #0,1,1: 64:[22, 32] Operation: 31+1=32 Exploring Operation: 31-22=9, Resulting Numbers: [1, 9] Generated Node #0,1,2: 64:[1, 9] Operation: 31-22=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[1, 9], Operations: ['59-58=1', '31-22=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[31, 21], Operations: ['59-58=1', '22-1=21'] Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,64 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[22, 32], Operations: ['59-58=1', '31+1=32'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,64 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,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:[31, 59, 36], Operations: ['58-22=36'] Exploring Operation: 59-31=28, Resulting Numbers: [36, 28] Generated Node #0,0,0: 64:[36, 28] Operation: 59-31=28 Exploring Operation: 36-31=5, Resulting Numbers: [59, 5] Generated Node #0,0,1: 64:[59, 5] Operation: 36-31=5 Exploring Operation: 31+36=67, Resulting Numbers: [59, 67] Generated Node #0,0,2: 64:[59, 67] Operation: 31+36=67 Moving to Node #0,2 Current State: 64:[58, 59, 9], Operations: ['31-22=9'] Exploring Operation: 59+9=68, Resulting Numbers: [58, 68] Generated Node #0,2,0: 64:[58, 68] Operation: 59+9=68 Exploring Operation: 58+9=67, Resulting Numbers: [59, 67] Generated Node #0,2,1: 64:[59, 67] Operation: 58+9=67 Exploring Operation: 59-58=1, Resulting Numbers: [9, 1] Generated Node #0,2,2: 64:[9, 1] Operation: 59-58=1 Moving to Node #0,2,2 Current State: 64:[9, 1], Operations: ['31-22=9', '59-58=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[59, 5], Operations: ['58-22=36', '36-31=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,64 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[31, 58, 59, 22], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [31, 59, 36] Generated Node #0,0: 64:[31, 59, 36] Operation: 58-22=36 Moving to Node #0,0 Current State: 64:[31, 59, 36], Operations: ['58-22=36'] Exploring Operation: 36-31=5, Resulting Numbers: [59, 5] Generated Node #0,0,1: 64:[59, 5] Operation: 36-31=5 Moving to Node #0,0,1 Current State: 64:[59, 5], Operations: ['58-22=36', '36-31=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.973958
hs_3
sum_heuristic
[ 11, 80, 30, 26 ]
95
[ "11+80=91", "30-26=4", "91+4=95" ]
Current State: 95:[11, 80, 30, 26], Operations: [] Exploring Operation: 11+80=91, Resulting Numbers: [30, 26, 91] Generated Node #2: [30, 26, 91] from Operation: 11+80=91 Current State: 95:[30, 26, 91], Operations: ['11+80=91'] Exploring Operation: 30-26=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 30-26=4 Current State: 95:[91, 4], Operations: ['11+80=91', '30-26=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[11, 80, 30, 26], Operations: [] Exploring Operation: 11+80=91, Resulting Numbers: [30, 26, 91] Generated Node #0,0: 95:[30, 26, 91] Operation: 11+80=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[30, 26, 91], Operations: ['11+80=91'] Exploring Operation: 30-26=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 95:[91, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 95:[91, 4], Operations: ['11+80=91', '30-26=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[11, 80, 30, 26], Operations: [] Exploring Operation: 11+80=91, Resulting Numbers: [30, 26, 91] Generated Node #0,0: 95:[30, 26, 91] Operation: 11+80=91 Moving to Node #0,0 Current State: 95:[30, 26, 91], Operations: ['11+80=91'] Exploring Operation: 30-26=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 95:[91, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 95:[91, 4], Operations: ['11+80=91', '30-26=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 3, 82, 54 ]
16
[ "3*54=162", "162-82=80", "80/5=16" ]
Current State: 16:[5, 3, 82, 54], Operations: [] Exploring Operation: 3*54=162, Resulting Numbers: [5, 82, 162] Generated Node #2: [5, 82, 162] from Operation: 3*54=162 Current State: 16:[5, 82, 162], Operations: ['3*54=162'] Exploring Operation: 162-82=80, Resulting Numbers: [5, 80] Generated Node #3: [5, 80] from Operation: 162-82=80 Current State: 16:[5, 80], Operations: ['3*54=162', '162-82=80'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 3, 82, 54], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [5, 82, 18] Generated Node #0,0: 16:[5, 82, 18] Operation: 54/3=18 Exploring Operation: 82-54=28, Resulting Numbers: [5, 3, 28] Generated Node #0,1: 16:[5, 3, 28] Operation: 82-54=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[5, 3, 28], Operations: ['82-54=28'] Exploring Operation: 28-3=25, Resulting Numbers: [5, 25] Generated Node #0,1,0: 16:[5, 25] Operation: 28-3=25 Exploring Operation: 28-5=23, Resulting Numbers: [3, 23] Generated Node #0,1,1: 16:[3, 23] Operation: 28-5=23 Moving to Node #0,1,1 Current State: 16:[3, 23], Operations: ['82-54=28', '28-5=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[5, 25], Operations: ['82-54=28', '28-3=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[5, 82, 18], Operations: ['54/3=18'] Exploring Operation: 82-18=64, Resulting Numbers: [5, 64] Generated Node #0,0,0: 16:[5, 64] Operation: 82-18=64 Exploring Operation: 82-5=77, Resulting Numbers: [18, 77] Generated Node #0,0,1: 16:[18, 77] Operation: 82-5=77 Moving to Node #0,0,0 Current State: 16:[5, 64], Operations: ['54/3=18', '82-18=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[18, 77], Operations: ['54/3=18', '82-5=77'] Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,16 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
[ 88, 81, 73, 80 ]
98
[ "81-73=8", "80/8=10", "88+10=98" ]
Current State: 98:[88, 81, 73, 80], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [88, 80, 8] Generated Node #2: [88, 80, 8] from Operation: 81-73=8 Current State: 98:[88, 80, 8], Operations: ['81-73=8'] Exploring Operation: 80/8=10, Resulting Numbers: [88, 10] Generated Node #3: [88, 10] from Operation: 80/8=10 Current State: 98:[88, 10], Operations: ['81-73=8', '80/8=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[88, 81, 73, 80], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [88, 81, 7] Generated Node #0,0: 98:[88, 81, 7] Operation: 80-73=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[88, 81, 7], Operations: ['80-73=7'] Exploring Operation: 88-81=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 98:[7, 7] Operation: 88-81=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[7, 7], Operations: ['80-73=7', '88-81=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,98 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
[ 56, 92, 5, 44 ]
75
[ "92-56=36", "44-5=39", "36+39=75" ]
Current State: 75:[56, 92, 5, 44], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [5, 44, 36] Generated Node #2: [5, 44, 36] from Operation: 92-56=36 Current State: 75:[5, 44, 36], Operations: ['92-56=36'] Exploring Operation: 44-5=39, Resulting Numbers: [36, 39] Generated Node #3: [36, 39] from Operation: 44-5=39 Current State: 75:[36, 39], Operations: ['92-56=36', '44-5=39'] Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[56, 92, 5, 44], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [92, 5, 12] Generated Node #0,0: 75:[92, 5, 12] Operation: 56-44=12 Exploring Operation: 92-56=36, Resulting Numbers: [5, 44, 36] Generated Node #0,1: 75:[5, 44, 36] Operation: 92-56=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[92, 5, 12], Operations: ['56-44=12'] Exploring Operation: 92-5=87, Resulting Numbers: [12, 87] Generated Node #0,0,0: 75:[12, 87] Operation: 92-5=87 Exploring Operation: 92-12=80, Resulting Numbers: [5, 80] Generated Node #0,0,1: 75:[5, 80] Operation: 92-12=80 Moving to Node #0,0,1 Current State: 75:[5, 80], Operations: ['56-44=12', '92-12=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[56, 92, 5, 44], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [92, 5, 12] Generated Node #0,0: 75:[92, 5, 12] Operation: 56-44=12 Moving to Node #0,0 Current State: 75:[92, 5, 12], Operations: ['56-44=12'] Exploring Operation: 92-12=80, Resulting Numbers: [5, 80] Generated Node #0,0,1: 75:[5, 80] Operation: 92-12=80 Moving to Node #0,0,1 Current State: 75:[5, 80], Operations: ['56-44=12', '92-12=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 24, 96, 95, 36 ]
93
[ "96-24=72", "72/36=2", "95-2=93" ]
Current State: 93:[24, 96, 95, 36], Operations: [] Exploring Operation: 96-24=72, Resulting Numbers: [95, 36, 72] Generated Node #2: [95, 36, 72] from Operation: 96-24=72 Current State: 93:[95, 36, 72], Operations: ['96-24=72'] Exploring Operation: 72/36=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 72/36=2 Current State: 93:[95, 2], Operations: ['96-24=72', '72/36=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[24, 96, 95, 36], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [96, 36, 71] Generated Node #0,0: 93:[96, 36, 71] Operation: 95-24=71 Exploring Operation: 96-95=1, Resulting Numbers: [24, 36, 1] Generated Node #0,1: 93:[24, 36, 1] Operation: 96-95=1 Exploring Operation: 96/24=4, Resulting Numbers: [95, 36, 4] Generated Node #0,2: 93:[95, 36, 4] Operation: 96/24=4 Exploring Operation: 36-24=12, Resulting Numbers: [96, 95, 12] Generated Node #0,3: 93:[96, 95, 12] Operation: 36-24=12 Exploring Operation: 96-24=72, Resulting Numbers: [95, 36, 72] Generated Node #0,4: 93:[95, 36, 72] Operation: 96-24=72 Moving to Node #0,2 Current State: 93:[95, 36, 4], Operations: ['96/24=4'] Exploring Operation: 36-4=32, Resulting Numbers: [95, 32] Generated Node #0,2,0: 93:[95, 32] Operation: 36-4=32 Exploring Operation: 95+4=99, Resulting Numbers: [36, 99] Generated Node #0,2,1: 93:[36, 99] Operation: 95+4=99 Exploring Operation: 36/4=9, Resulting Numbers: [95, 9] Generated Node #0,2,2: 93:[95, 9] Operation: 36/4=9 Exploring Operation: 36+4=40, Resulting Numbers: [95, 40] Generated Node #0,2,3: 93:[95, 40] Operation: 36+4=40 Exploring Operation: 95-4=91, Resulting Numbers: [36, 91] Generated Node #0,2,4: 93:[36, 91] Operation: 95-4=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[95, 32], Operations: ['96/24=4', '36-4=32'] Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,93 unequal: No Solution Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,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,2,4 Current State: 93:[36, 91], Operations: ['96/24=4', '95-4=91'] Exploring Operation: 36+91=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 36*91=3276, Resulting Numbers: [3276] 3276,93 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,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,2,2 Current State: 93:[95, 9], Operations: ['96/24=4', '36/4=9'] Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,93 unequal: No Solution Exploring Operation: 95*9=855, Resulting Numbers: [855] 855,93 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,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,2,1 Current State: 93:[36, 99], Operations: ['96/24=4', '95+4=99'] Exploring Operation: 36*99=3564, Resulting Numbers: [3564] 3564,93 unequal: No Solution Exploring Operation: 36+99=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,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,2,3 Current State: 93:[95, 40], Operations: ['96/24=4', '36+4=40'] Exploring Operation: 95+40=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,93 unequal: No Solution Exploring Operation: 95*40=3800, Resulting Numbers: [3800] 3800,93 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: 93:[96, 95, 12], Operations: ['36-24=12'] Exploring Operation: 96/12=8, Resulting Numbers: [95, 8] Generated Node #0,3,0: 93:[95, 8] Operation: 96/12=8 Exploring Operation: 96-12=84, Resulting Numbers: [95, 84] Generated Node #0,3,1: 93:[95, 84] Operation: 96-12=84 Exploring Operation: 96-95=1, Resulting Numbers: [12, 1] Generated Node #0,3,2: 93:[12, 1] Operation: 96-95=1 Exploring Operation: 95-12=83, Resulting Numbers: [96, 83] Generated Node #0,3,3: 93:[96, 83] Operation: 95-12=83 Exploring Operation: 96+12=108, Resulting Numbers: [95, 108] Generated Node #0,3,4: 93:[95, 108] Operation: 96+12=108 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[95, 8], Operations: ['36-24=12', '96/12=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,93 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,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,3,1 Current State: 93:[95, 84], Operations: ['36-24=12', '96-12=84'] Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 95*84=7980, Resulting Numbers: [7980] 7980,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,3,2 Current State: 93:[12, 1], Operations: ['36-24=12', '96-95=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,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,3,3 Current State: 93:[96, 83], Operations: ['36-24=12', '95-12=83'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 96+83=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 96*83=7968, Resulting Numbers: [7968] 7968,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,3,4 Current State: 93:[95, 108], Operations: ['36-24=12', '96+12=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 95+108=203, Resulting Numbers: [203] 203,93 unequal: No Solution Exploring Operation: 95*108=10260, Resulting Numbers: [10260] 10260,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:[24, 36, 1], Operations: ['96-95=1'] Exploring Operation: 36-24=12, Resulting Numbers: [1, 12] Generated Node #0,1,0: 93:[1, 12] Operation: 36-24=12 Exploring Operation: 24*1=24, Resulting Numbers: [36, 24] Generated Node #0,1,1: 93:[36, 24] Operation: 24*1=24 Exploring Operation: 24/1=24, Resulting Numbers: [36, 24] Generated Node #0,1,2: 93:[36, 24] Operation: 24/1=24 Exploring Operation: 24+1=25, Resulting Numbers: [36, 25] Generated Node #0,1,3: 93:[36, 25] Operation: 24+1=25 Exploring Operation: 36-1=35, Resulting Numbers: [24, 35] Generated Node #0,1,4: 93:[24, 35] Operation: 36-1=35 Moving to Node #0,4 Current State: 93:[95, 36, 72], Operations: ['96-24=72'] Exploring Operation: 72-36=36, Resulting Numbers: [95, 36] Generated Node #0,4,0: 93:[95, 36] Operation: 72-36=36 Exploring Operation: 95-72=23, Resulting Numbers: [36, 23] Generated Node #0,4,1: 93:[36, 23] Operation: 95-72=23 Exploring Operation: 36+72=108, Resulting Numbers: [95, 108] Generated Node #0,4,2: 93:[95, 108] Operation: 36+72=108 Exploring Operation: 95-36=59, Resulting Numbers: [72, 59] Generated Node #0,4,3: 93:[72, 59] Operation: 95-36=59 Exploring Operation: 72/36=2, Resulting Numbers: [95, 2] Generated Node #0,4,4: 93:[95, 2] Operation: 72/36=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 93:[95, 2], Operations: ['96-24=72', '72/36=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[24, 96, 95, 36], Operations: [] Exploring Operation: 96-24=72, Resulting Numbers: [95, 36, 72] Generated Node #0,4: 93:[95, 36, 72] Operation: 96-24=72 Moving to Node #0,4 Current State: 93:[95, 36, 72], Operations: ['96-24=72'] Exploring Operation: 72/36=2, Resulting Numbers: [95, 2] Generated Node #0,4,4: 93:[95, 2] Operation: 72/36=2 Moving to Node #0,4,4 Current State: 93:[95, 2], Operations: ['96-24=72', '72/36=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
sum_heuristic
[ 4, 20, 16, 32 ]
17
[ "20+16=36", "32+36=68", "68/4=17" ]
Current State: 17:[4, 20, 16, 32], Operations: [] Exploring Operation: 20+16=36, Resulting Numbers: [4, 32, 36] Generated Node #2: [4, 32, 36] from Operation: 20+16=36 Current State: 17:[4, 32, 36], Operations: ['20+16=36'] Exploring Operation: 32+36=68, Resulting Numbers: [4, 68] Generated Node #3: [4, 68] from Operation: 32+36=68 Current State: 17:[4, 68], Operations: ['20+16=36', '32+36=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[4, 20, 16, 32], Operations: [] Exploring Operation: 32-4=28, Resulting Numbers: [20, 16, 28] Generated Node #0,0: 17:[20, 16, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [20, 16, 8] Generated Node #0,1: 17:[20, 16, 8] Operation: 32/4=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[20, 16, 8], Operations: ['32/4=8'] Exploring Operation: 16+8=24, Resulting Numbers: [20, 24] Generated Node #0,1,0: 17:[20, 24] Operation: 16+8=24 Exploring Operation: 20-8=12, Resulting Numbers: [16, 12] Generated Node #0,1,1: 17:[16, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[16, 12], Operations: ['32/4=8', '20-8=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[20, 24], Operations: ['32/4=8', '16+8=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[20, 16, 28], Operations: ['32-4=28'] Exploring Operation: 28-20=8, Resulting Numbers: [16, 8] Generated Node #0,0,0: 17:[16, 8] Operation: 28-20=8 Exploring Operation: 28-16=12, Resulting Numbers: [20, 12] Generated Node #0,0,1: 17:[20, 12] Operation: 28-16=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[20, 12], Operations: ['32-4=28', '28-16=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[16, 8], Operations: ['32-4=28', '28-20=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 83, 69, 60, 3 ]
95
[ "83+69=152", "60-3=57", "152-57=95" ]
Current State: 95:[83, 69, 60, 3], Operations: [] Exploring Operation: 83+69=152, Resulting Numbers: [60, 3, 152] Generated Node #2: [60, 3, 152] from Operation: 83+69=152 Current State: 95:[60, 3, 152], Operations: ['83+69=152'] Exploring Operation: 60-3=57, Resulting Numbers: [152, 57] Generated Node #3: [152, 57] from Operation: 60-3=57 Current State: 95:[152, 57], Operations: ['83+69=152', '60-3=57'] Exploring Operation: 152-57=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[83, 69, 60, 3], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [83, 69, 20] Generated Node #0,0: 95:[83, 69, 20] Operation: 60/3=20 Exploring Operation: 69-60=9, Resulting Numbers: [83, 3, 9] Generated Node #0,1: 95:[83, 3, 9] Operation: 69-60=9 Exploring Operation: 83-60=23, Resulting Numbers: [69, 3, 23] Generated Node #0,2: 95:[69, 3, 23] Operation: 83-60=23 Moving to Node #0,1 Current State: 95:[83, 3, 9], Operations: ['69-60=9'] Exploring Operation: 83+3=86, Resulting Numbers: [9, 86] Generated Node #0,1,0: 95:[9, 86] Operation: 83+3=86 Exploring Operation: 9-3=6, Resulting Numbers: [83, 6] Generated Node #0,1,1: 95:[83, 6] Operation: 9-3=6 Exploring Operation: 83+9=92, Resulting Numbers: [3, 92] Generated Node #0,1,2: 95:[3, 92] Operation: 83+9=92 Moving to Node #0,2 Current State: 95:[69, 3, 23], Operations: ['83-60=23'] Exploring Operation: 69/3=23, Resulting Numbers: [23, 23] Generated Node #0,2,0: 95:[23, 23] Operation: 69/3=23 Exploring Operation: 69/23=3, Resulting Numbers: [3, 3] Generated Node #0,2,1: 95:[3, 3] Operation: 69/23=3 Exploring Operation: 69+23=92, Resulting Numbers: [3, 92] Generated Node #0,2,2: 95:[3, 92] Operation: 69+23=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[3, 3], Operations: ['83-60=23', '69/23=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,95 unequal: No Solution No 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: 95:[3, 92], Operations: ['83-60=23', '69+23=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,95 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[83, 69, 60, 3], Operations: [] Exploring Operation: 83-60=23, Resulting Numbers: [69, 3, 23] Generated Node #0,2: 95:[69, 3, 23] Operation: 83-60=23 Moving to Node #0,2 Current State: 95:[69, 3, 23], Operations: ['83-60=23'] Exploring Operation: 69+23=92, Resulting Numbers: [3, 92] Generated Node #0,2,2: 95:[3, 92] Operation: 69+23=92 Moving to Node #0,2,2 Current State: 95:[3, 92], Operations: ['83-60=23', '69+23=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 54, 6, 32, 2 ]
89
[ "54+32=86", "6/2=3", "86+3=89" ]
Current State: 89:[54, 6, 32, 2], Operations: [] Exploring Operation: 54+32=86, Resulting Numbers: [6, 2, 86] Generated Node #2: [6, 2, 86] from Operation: 54+32=86 Current State: 89:[6, 2, 86], Operations: ['54+32=86'] Exploring Operation: 6/2=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 6/2=3 Current State: 89:[86, 3], Operations: ['54+32=86', '6/2=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[54, 6, 32, 2], Operations: [] Exploring Operation: 32*2=64, Resulting Numbers: [54, 6, 64] Generated Node #0,0: 89:[54, 6, 64] Operation: 32*2=64 Moving to Node #0,0 Current State: 89:[54, 6, 64], Operations: ['32*2=64'] Exploring Operation: 54+6=60, Resulting Numbers: [64, 60] Generated Node #0,0,0: 89:[64, 60] Operation: 54+6=60 Moving to Node #0,0,0 Current State: 89:[64, 60], Operations: ['32*2=64', '54+6=60'] Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,89 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 39, 3, 72, 41 ]
86
[ "39*3=117", "72-41=31", "117-31=86" ]
Current State: 86:[39, 3, 72, 41], Operations: [] Exploring Operation: 39*3=117, Resulting Numbers: [72, 41, 117] Generated Node #2: [72, 41, 117] from Operation: 39*3=117 Current State: 86:[72, 41, 117], Operations: ['39*3=117'] Exploring Operation: 72-41=31, Resulting Numbers: [117, 31] Generated Node #3: [117, 31] from Operation: 72-41=31 Current State: 86:[117, 31], Operations: ['39*3=117', '72-41=31'] Exploring Operation: 117-31=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[39, 3, 72, 41], Operations: [] Exploring Operation: 72-41=31, Resulting Numbers: [39, 3, 31] Generated Node #0,0: 86:[39, 3, 31] Operation: 72-41=31 Exploring Operation: 72-39=33, Resulting Numbers: [3, 41, 33] Generated Node #0,1: 86:[3, 41, 33] Operation: 72-39=33 Exploring Operation: 39+3=42, Resulting Numbers: [72, 41, 42] Generated Node #0,2: 86:[72, 41, 42] Operation: 39+3=42 Exploring Operation: 3+72=75, Resulting Numbers: [39, 41, 75] Generated Node #0,3: 86:[39, 41, 75] Operation: 3+72=75 Exploring Operation: 41-39=2, Resulting Numbers: [3, 72, 2] Generated Node #0,4: 86:[3, 72, 2] Operation: 41-39=2 Moving to Node #0,1 Current State: 86:[3, 41, 33], Operations: ['72-39=33'] Exploring Operation: 41+33=74, Resulting Numbers: [3, 74] Generated Node #0,1,0: 86:[3, 74] Operation: 41+33=74 Exploring Operation: 33/3=11, Resulting Numbers: [41, 11] Generated Node #0,1,1: 86:[41, 11] Operation: 33/3=11 Exploring Operation: 3+33=36, Resulting Numbers: [41, 36] Generated Node #0,1,2: 86:[41, 36] Operation: 3+33=36 Exploring Operation: 41-33=8, Resulting Numbers: [3, 8] Generated Node #0,1,3: 86:[3, 8] Operation: 41-33=8 Exploring Operation: 3+41=44, Resulting Numbers: [33, 44] Generated Node #0,1,4: 86:[33, 44] Operation: 3+41=44 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[3, 8], Operations: ['72-39=33', '41-33=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,86 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[41, 36], Operations: ['72-39=33', '3+33=36'] Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,86 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[41, 11], Operations: ['72-39=33', '33/3=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 86:[33, 44], Operations: ['72-39=33', '3+41=44'] Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,86 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[3, 74], Operations: ['72-39=33', '41+33=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,86 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,86 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: 86:[3, 72, 2], Operations: ['41-39=2'] Exploring Operation: 72-3=69, Resulting Numbers: [2, 69] Generated Node #0,4,0: 86:[2, 69] Operation: 72-3=69 Exploring Operation: 3-2=1, Resulting Numbers: [72, 1] Generated Node #0,4,1: 86:[72, 1] Operation: 3-2=1 Exploring Operation: 72+2=74, Resulting Numbers: [3, 74] Generated Node #0,4,2: 86:[3, 74] Operation: 72+2=74 Exploring Operation: 3+72=75, Resulting Numbers: [2, 75] Generated Node #0,4,3: 86:[2, 75] Operation: 3+72=75 Exploring Operation: 72/2=36, Resulting Numbers: [3, 36] Generated Node #0,4,4: 86:[3, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[3, 36], Operations: ['41-39=2', '72/2=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[2, 75], Operations: ['41-39=2', '3+72=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,86 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 86:[3, 74], Operations: ['41-39=2', '72+2=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,86 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[72, 1], Operations: ['41-39=2', '3-2=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[2, 69], Operations: ['41-39=2', '72-3=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,86 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: 86:[39, 3, 31], Operations: ['72-41=31'] Exploring Operation: 3+31=34, Resulting Numbers: [39, 34] Generated Node #0,0,0: 86:[39, 34] Operation: 3+31=34 Exploring Operation: 3*31=93, Resulting Numbers: [39, 93] Generated Node #0,0,1: 86:[39, 93] Operation: 3*31=93 Exploring Operation: 39+31=70, Resulting Numbers: [3, 70] Generated Node #0,0,2: 86:[3, 70] Operation: 39+31=70 Exploring Operation: 39+3=42, Resulting Numbers: [31, 42] Generated Node #0,0,3: 86:[31, 42] Operation: 39+3=42 Exploring Operation: 39-31=8, Resulting Numbers: [3, 8] Generated Node #0,0,4: 86:[3, 8] Operation: 39-31=8 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[3, 8], Operations: ['72-41=31', '39-31=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[39, 93], Operations: ['72-41=31', '3*31=93'] Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 39+93=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 39*93=3627, Resulting Numbers: [3627] 3627,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[39, 34], Operations: ['72-41=31', '3+31=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[31, 42], Operations: ['72-41=31', '39+3=42'] Exploring Operation: 31*42=1302, Resulting Numbers: [1302] 1302,86 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[3, 70], Operations: ['72-41=31', '39+31=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,86 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: 86:[72, 41, 42], Operations: ['39+3=42'] Exploring Operation: 42-41=1, Resulting Numbers: [72, 1] Generated Node #0,2,0: 86:[72, 1] Operation: 42-41=1 Exploring Operation: 72-41=31, Resulting Numbers: [42, 31] Generated Node #0,2,1: 86:[42, 31] Operation: 72-41=31 Exploring Operation: 72-42=30, Resulting Numbers: [41, 30] Generated Node #0,2,2: 86:[41, 30] Operation: 72-42=30 Exploring Operation: 41+42=83, Resulting Numbers: [72, 83] Generated Node #0,2,3: 86:[72, 83] Operation: 41+42=83 Exploring Operation: 72+41=113, Resulting Numbers: [42, 113] Generated Node #0,2,4: 86:[42, 113] Operation: 72+41=113 Moving to Node #0,3 Current State: 86:[39, 41, 75], Operations: ['3+72=75'] Exploring Operation: 75-39=36, Resulting Numbers: [41, 36] Generated Node #0,3,0: 86:[41, 36] Operation: 75-39=36 Exploring Operation: 41-39=2, Resulting Numbers: [75, 2] Generated Node #0,3,1: 86:[75, 2] Operation: 41-39=2 Exploring Operation: 39+41=80, Resulting Numbers: [75, 80] Generated Node #0,3,2: 86:[75, 80] Operation: 39+41=80 Exploring Operation: 75-41=34, Resulting Numbers: [39, 34] Generated Node #0,3,3: 86:[39, 34] Operation: 75-41=34 Exploring Operation: 39+75=114, Resulting Numbers: [41, 114] Generated Node #0,3,4: 86:[41, 114] Operation: 39+75=114 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[41, 36], Operations: ['3+72=75', '75-39=36'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,86 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[75, 2], Operations: ['3+72=75', '41-39=2'] Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,86 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[39, 34], Operations: ['3+72=75', '75-41=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[75, 80], Operations: ['3+72=75', '39+41=80'] Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,86 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 86:[41, 114], Operations: ['3+72=75', '39+75=114'] Exploring Operation: 41*114=4674, Resulting Numbers: [4674] 4674,86 unequal: No Solution Exploring Operation: 41+114=155, Resulting Numbers: [155] 155,86 unequal: No Solution Exploring Operation: 114-41=73, Resulting Numbers: [73] 73,86 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: 86:[42, 31], Operations: ['39+3=42', '72-41=31'] Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,86 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[41, 30], Operations: ['39+3=42', '72-42=30'] Exploring Operation: 41+30=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 41*30=1230, Resulting Numbers: [1230] 1230,86 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[72, 1], Operations: ['39+3=42', '42-41=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[72, 83], Operations: ['39+3=42', '41+42=83'] Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,86 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,86 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[42, 113], Operations: ['39+3=42', '72+41=113'] Exploring Operation: 113-42=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 42+113=155, Resulting Numbers: [155] 155,86 unequal: No Solution Exploring Operation: 42*113=4746, Resulting Numbers: [4746] 4746,86 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 30, 93, 77, 5 ]
19
[ "93-30=63", "77+5=82", "82-63=19" ]
Current State: 19:[30, 93, 77, 5], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [77, 5, 63] Generated Node #2: [77, 5, 63] from Operation: 93-30=63 Current State: 19:[77, 5, 63], Operations: ['93-30=63'] Exploring Operation: 77+5=82, Resulting Numbers: [63, 82] Generated Node #3: [63, 82] from Operation: 77+5=82 Current State: 19:[63, 82], Operations: ['93-30=63', '77+5=82'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[30, 93, 77, 5], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [77, 5, 63] Generated Node #0,0: 19:[77, 5, 63] Operation: 93-30=63 Exploring Operation: 77-30=47, Resulting Numbers: [93, 5, 47] Generated Node #0,1: 19:[93, 5, 47] Operation: 77-30=47 Exploring Operation: 30-5=25, Resulting Numbers: [93, 77, 25] Generated Node #0,2: 19:[93, 77, 25] Operation: 30-5=25 Exploring Operation: 93-77=16, Resulting Numbers: [30, 5, 16] Generated Node #0,3: 19:[30, 5, 16] Operation: 93-77=16 Exploring Operation: 93-5=88, Resulting Numbers: [30, 77, 88] Generated Node #0,4: 19:[30, 77, 88] Operation: 93-5=88 Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[30, 5, 16], Operations: ['93-77=16'] Exploring Operation: 5+16=21, Resulting Numbers: [30, 21] Generated Node #0,3,0: 19:[30, 21] Operation: 5+16=21 Exploring Operation: 30-16=14, Resulting Numbers: [5, 14] Generated Node #0,3,1: 19:[5, 14] Operation: 30-16=14 Exploring Operation: 30+5=35, Resulting Numbers: [16, 35] Generated Node #0,3,2: 19:[16, 35] Operation: 30+5=35 Exploring Operation: 30/5=6, Resulting Numbers: [16, 6] Generated Node #0,3,3: 19:[16, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [16, 25] Generated Node #0,3,4: 19:[16, 25] Operation: 30-5=25 Moving to Node #0,3,4 Current State: 19:[16, 25], Operations: ['93-77=16', '30-5=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[30, 21], Operations: ['93-77=16', '5+16=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[16, 6], Operations: ['93-77=16', '30/5=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[5, 14], Operations: ['93-77=16', '30-16=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[30, 93, 77, 5], Operations: [] Exploring Operation: 93-77=16, Resulting Numbers: [30, 5, 16] Generated Node #0,3: 19:[30, 5, 16] Operation: 93-77=16 Moving to Node #0,3 Current State: 19:[30, 5, 16], Operations: ['93-77=16'] Exploring Operation: 30-16=14, Resulting Numbers: [5, 14] Generated Node #0,3,1: 19:[5, 14] Operation: 30-16=14 Moving to Node #0,3,1 Current State: 19:[5, 14], Operations: ['93-77=16', '30-16=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 12, 18, 39, 68 ]
42
[ "12*39=468", "468/18=26", "68-26=42" ]
Current State: 42:[12, 18, 39, 68], Operations: [] Exploring Operation: 12*39=468, Resulting Numbers: [18, 68, 468] Generated Node #2: [18, 68, 468] from Operation: 12*39=468 Current State: 42:[18, 68, 468], Operations: ['12*39=468'] Exploring Operation: 468/18=26, Resulting Numbers: [68, 26] Generated Node #3: [68, 26] from Operation: 468/18=26 Current State: 42:[68, 26], Operations: ['12*39=468', '468/18=26'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[12, 18, 39, 68], Operations: [] Exploring Operation: 68-18=50, Resulting Numbers: [12, 39, 50] Generated Node #0,0: 42:[12, 39, 50] Operation: 68-18=50 Moving to Node #0,0 Current State: 42:[12, 39, 50], Operations: ['68-18=50'] Exploring Operation: 50-39=11, Resulting Numbers: [12, 11] Generated Node #0,0,0: 42:[12, 11] Operation: 50-39=11 Moving to Node #0,0,0 Current State: 42:[12, 11], Operations: ['68-18=50', '50-39=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 44, 23, 43, 51 ]
28
[ "44-43=1", "51-23=28", "1*28=28" ]
Current State: 28:[44, 23, 43, 51], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [23, 51, 1] Generated Node #2: [23, 51, 1] from Operation: 44-43=1 Current State: 28:[23, 51, 1], Operations: ['44-43=1'] Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #3: [1, 28] from Operation: 51-23=28 Current State: 28:[1, 28], Operations: ['44-43=1', '51-23=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[44, 23, 43, 51], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [23, 51, 1] Generated Node #0,0: 28:[23, 51, 1] Operation: 44-43=1 Exploring Operation: 51-43=8, Resulting Numbers: [44, 23, 8] Generated Node #0,1: 28:[44, 23, 8] Operation: 51-43=8 Exploring Operation: 51-44=7, Resulting Numbers: [23, 43, 7] Generated Node #0,2: 28:[23, 43, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[23, 43, 7], Operations: ['51-44=7'] Exploring Operation: 43-23=20, Resulting Numbers: [7, 20] Generated Node #0,2,0: 28:[7, 20] Operation: 43-23=20 Exploring Operation: 43-7=36, Resulting Numbers: [23, 36] Generated Node #0,2,1: 28:[23, 36] Operation: 43-7=36 Exploring Operation: 23+7=30, Resulting Numbers: [43, 30] Generated Node #0,2,2: 28:[43, 30] Operation: 23+7=30 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[7, 20], Operations: ['51-44=7', '43-23=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,28 unequal: No Solution No 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: 28:[23, 36], Operations: ['51-44=7', '43-7=36'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,28 unequal: No Solution No 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: 28:[43, 30], Operations: ['51-44=7', '23+7=30'] Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,28 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,28 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: 28:[44, 23, 8], Operations: ['51-43=8'] Exploring Operation: 23-8=15, Resulting Numbers: [44, 15] Generated Node #0,1,0: 28:[44, 15] Operation: 23-8=15 Exploring Operation: 44-23=21, Resulting Numbers: [8, 21] Generated Node #0,1,1: 28:[8, 21] Operation: 44-23=21 Exploring Operation: 44-8=36, Resulting Numbers: [23, 36] Generated Node #0,1,2: 28:[23, 36] Operation: 44-8=36 Moving to Node #0,1,1 Current State: 28:[8, 21], Operations: ['51-43=8', '44-23=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,28 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[23, 36], Operations: ['51-43=8', '44-8=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,28 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[44, 15], Operations: ['51-43=8', '23-8=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,28 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,28 unequal: No Solution No 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: 28:[23, 51, 1], Operations: ['44-43=1'] Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 28:[1, 28] Operation: 51-23=28 Exploring Operation: 23+1=24, Resulting Numbers: [51, 24] Generated Node #0,0,1: 28:[51, 24] Operation: 23+1=24 Exploring Operation: 51-1=50, Resulting Numbers: [23, 50] Generated Node #0,0,2: 28:[23, 50] Operation: 51-1=50 Moving to Node #0,0,0 Current State: 28:[1, 28], Operations: ['44-43=1', '51-23=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[44, 23, 43, 51], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [23, 51, 1] Generated Node #0,0: 28:[23, 51, 1] Operation: 44-43=1 Moving to Node #0,0 Current State: 28:[23, 51, 1], Operations: ['44-43=1'] Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 28:[1, 28] Operation: 51-23=28 Moving to Node #0,0,0 Current State: 28:[1, 28], Operations: ['44-43=1', '51-23=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 11, 33, 11, 47 ]
55
[ "33/11=3", "11+47=58", "58-3=55" ]
Current State: 55:[11, 33, 11, 47], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [47, 3] Generated Node #2: [47, 3] from Operation: 33/11=3 Current State: 55:[47, 3], Operations: ['33/11=3'] Exploring Operation: 11+47=58, Resulting Numbers: [3, 58] Generated Node #3: [3, 58] from Operation: 11+47=58 Current State: 55:[3, 58], Operations: ['33/11=3', '11+47=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[11, 33, 11, 47], Operations: [] Exploring Operation: 47-33=14, Resulting Numbers: [11, 11, 14] Generated Node #0,0: 55:[11, 11, 14] Operation: 47-33=14 Moving to Node #0,0 Current State: 55:[11, 11, 14], Operations: ['47-33=14'] Exploring Operation: 14-11=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 55:[11, 3] Operation: 14-11=3 Moving to Node #0,0,0 Current State: 55:[11, 3], Operations: ['47-33=14', '14-11=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,55 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 99, 38, 97 ]
15
[ "99/11=9", "38+97=135", "135/9=15" ]
Current State: 15:[11, 99, 38, 97], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [38, 97, 9] Generated Node #2: [38, 97, 9] from Operation: 99/11=9 Current State: 15:[38, 97, 9], Operations: ['99/11=9'] Exploring Operation: 38+97=135, Resulting Numbers: [9, 135] Generated Node #3: [9, 135] from Operation: 38+97=135 Current State: 15:[9, 135], Operations: ['99/11=9', '38+97=135'] Exploring Operation: 135/9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[11, 99, 38, 97], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [38, 97, 9] Generated Node #0,0: 15:[38, 97, 9] Operation: 99/11=9 Exploring Operation: 99-38=61, Resulting Numbers: [11, 97, 61] Generated Node #0,1: 15:[11, 97, 61] Operation: 99-38=61 Exploring Operation: 99-97=2, Resulting Numbers: [11, 38, 2] Generated Node #0,2: 15:[11, 38, 2] Operation: 99-97=2 Moving to Node #0,2 Current State: 15:[11, 38, 2], Operations: ['99-97=2'] Exploring Operation: 38/2=19, Resulting Numbers: [11, 19] Generated Node #0,2,0: 15:[11, 19] Operation: 38/2=19 Exploring Operation: 38-11=27, Resulting Numbers: [2, 27] Generated Node #0,2,1: 15:[2, 27] Operation: 38-11=27 Exploring Operation: 11+2=13, Resulting Numbers: [38, 13] Generated Node #0,2,2: 15:[38, 13] Operation: 11+2=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[11, 19], Operations: ['99-97=2', '38/2=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[2, 27], Operations: ['99-97=2', '38-11=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[38, 13], Operations: ['99-97=2', '11+2=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[38, 97, 9], Operations: ['99/11=9'] Exploring Operation: 38-9=29, Resulting Numbers: [97, 29] Generated Node #0,0,0: 15:[97, 29] Operation: 38-9=29 Exploring Operation: 97-9=88, Resulting Numbers: [38, 88] Generated Node #0,0,1: 15:[38, 88] Operation: 97-9=88 Exploring Operation: 97-38=59, Resulting Numbers: [9, 59] Generated Node #0,0,2: 15:[9, 59] Operation: 97-38=59 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[9, 59], Operations: ['99/11=9', '97-38=59'] Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,15 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[97, 29], Operations: ['99/11=9', '38-9=29'] Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 97+29=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 97*29=2813, Resulting Numbers: [2813] 2813,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[38, 88], Operations: ['99/11=9', '97-9=88'] Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,15 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 15:[11, 97, 61], Operations: ['99-38=61'] Exploring Operation: 61-11=50, Resulting Numbers: [97, 50] Generated Node #0,1,0: 15:[97, 50] Operation: 61-11=50 Exploring Operation: 97-11=86, Resulting Numbers: [61, 86] Generated Node #0,1,1: 15:[61, 86] Operation: 97-11=86 Exploring Operation: 97-61=36, Resulting Numbers: [11, 36] Generated Node #0,1,2: 15:[11, 36] Operation: 97-61=36 Moving to Node #0,1,2 Current State: 15:[11, 36], Operations: ['99-38=61', '97-61=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,15 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[97, 50], Operations: ['99-38=61', '61-11=50'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 97+50=147, Resulting Numbers: [147] 147,15 unequal: No Solution Exploring Operation: 97*50=4850, Resulting Numbers: [4850] 4850,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[61, 86], Operations: ['99-38=61', '97-11=86'] Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,15 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,15 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,15 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 63, 71, 87, 66 ]
73
[ "71*66=4686", "4686-87=4599", "4599/63=73" ]
Current State: 73:[63, 71, 87, 66], Operations: [] Exploring Operation: 71*66=4686, Resulting Numbers: [63, 87, 4686] Generated Node #2: [63, 87, 4686] from Operation: 71*66=4686 Current State: 73:[63, 87, 4686], Operations: ['71*66=4686'] Exploring Operation: 4686-87=4599, Resulting Numbers: [63, 4599] Generated Node #3: [63, 4599] from Operation: 4686-87=4599 Current State: 73:[63, 4599], Operations: ['71*66=4686', '4686-87=4599'] Exploring Operation: 4599/63=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[63, 71, 87, 66], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [63, 66, 16] Generated Node #0,0: 73:[63, 66, 16] Operation: 87-71=16 Exploring Operation: 87-66=21, Resulting Numbers: [63, 71, 21] Generated Node #0,1: 73:[63, 71, 21] Operation: 87-66=21 Exploring Operation: 63+66=129, Resulting Numbers: [71, 87, 129] Generated Node #0,2: 73:[71, 87, 129] Operation: 63+66=129 Exploring Operation: 87-63=24, Resulting Numbers: [71, 66, 24] Generated Node #0,3: 73:[71, 66, 24] Operation: 87-63=24 Moving to Node #0,3 Current State: 73:[71, 66, 24], Operations: ['87-63=24'] Exploring Operation: 71-24=47, Resulting Numbers: [66, 47] Generated Node #0,3,0: 73:[66, 47] Operation: 71-24=47 Exploring Operation: 66+24=90, Resulting Numbers: [71, 90] Generated Node #0,3,1: 73:[71, 90] Operation: 66+24=90 Exploring Operation: 71+24=95, Resulting Numbers: [66, 95] Generated Node #0,3,2: 73:[66, 95] Operation: 71+24=95 Exploring Operation: 66-24=42, Resulting Numbers: [71, 42] Generated Node #0,3,3: 73:[71, 42] Operation: 66-24=42 Moving to Node #0,1 Current State: 73:[63, 71, 21], Operations: ['87-66=21'] Exploring Operation: 63+21=84, Resulting Numbers: [71, 84] Generated Node #0,1,0: 73:[71, 84] Operation: 63+21=84 Exploring Operation: 63-21=42, Resulting Numbers: [71, 42] Generated Node #0,1,1: 73:[71, 42] Operation: 63-21=42 Exploring Operation: 71-21=50, Resulting Numbers: [63, 50] Generated Node #0,1,2: 73:[63, 50] Operation: 71-21=50 Exploring Operation: 71+21=92, Resulting Numbers: [63, 92] Generated Node #0,1,3: 73:[63, 92] Operation: 71+21=92 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[71, 84], Operations: ['87-66=21', '63+21=84'] Exploring Operation: 71+84=155, Resulting Numbers: [155] 155,73 unequal: No Solution Exploring Operation: 71*84=5964, Resulting Numbers: [5964] 5964,73 unequal: No Solution Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,73 unequal: No Solution No 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: 73:[63, 92], Operations: ['87-66=21', '71+21=92'] Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 63*92=5796, Resulting Numbers: [5796] 5796,73 unequal: No Solution Exploring Operation: 63+92=155, Resulting Numbers: [155] 155,73 unequal: No Solution No 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: 73:[71, 42], Operations: ['87-66=21', '63-21=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,73 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,73 unequal: No Solution No 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: 73:[63, 50], Operations: ['87-66=21', '71-21=50'] Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,73 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,73 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: 73:[71, 87, 129], Operations: ['63+66=129'] Exploring Operation: 71+87=158, Resulting Numbers: [129, 158] Generated Node #0,2,0: 73:[129, 158] Operation: 71+87=158 Exploring Operation: 87-71=16, Resulting Numbers: [129, 16] Generated Node #0,2,1: 73:[129, 16] Operation: 87-71=16 Exploring Operation: 129-87=42, Resulting Numbers: [71, 42] Generated Node #0,2,2: 73:[71, 42] Operation: 129-87=42 Exploring Operation: 129-71=58, Resulting Numbers: [87, 58] Generated Node #0,2,3: 73:[87, 58] Operation: 129-71=58 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[87, 58], Operations: ['63+66=129', '129-71=58'] Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 87*58=5046, Resulting Numbers: [5046] 5046,73 unequal: No Solution Exploring Operation: 87+58=145, Resulting Numbers: [145] 145,73 unequal: No Solution No 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: 73:[71, 42], Operations: ['63+66=129', '129-87=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,73 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,73 unequal: No Solution No 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: 73:[129, 16], Operations: ['63+66=129', '87-71=16'] Exploring Operation: 129-16=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 129*16=2064, Resulting Numbers: [2064] 2064,73 unequal: No Solution Exploring Operation: 129+16=145, Resulting Numbers: [145] 145,73 unequal: No Solution No 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: 73:[129, 158], Operations: ['63+66=129', '71+87=158'] Exploring Operation: 158-129=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 129*158=20382, Resulting Numbers: [20382] 20382,73 unequal: No Solution Exploring Operation: 129+158=287, Resulting Numbers: [287] 287,73 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: 73:[63, 66, 16], Operations: ['87-71=16'] Exploring Operation: 66-16=50, Resulting Numbers: [63, 50] Generated Node #0,0,0: 73:[63, 50] Operation: 66-16=50 Exploring Operation: 63-16=47, Resulting Numbers: [66, 47] Generated Node #0,0,1: 73:[66, 47] Operation: 63-16=47 Exploring Operation: 63+16=79, Resulting Numbers: [66, 79] Generated Node #0,0,2: 73:[66, 79] Operation: 63+16=79 Exploring Operation: 66+16=82, Resulting Numbers: [63, 82] Generated Node #0,0,3: 73:[63, 82] Operation: 66+16=82 Moving to Node #0,0,2 Current State: 73:[66, 79], Operations: ['87-71=16', '63+16=79'] Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,73 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[63, 82], Operations: ['87-71=16', '66+16=82'] Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 63*82=5166, Resulting Numbers: [5166] 5166,73 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[71, 90], Operations: ['87-63=24', '66+24=90'] Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,73 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[66, 95], Operations: ['87-63=24', '71+24=95'] Exploring Operation: 66*95=6270, Resulting Numbers: [6270] 6270,73 unequal: No Solution Exploring Operation: 66+95=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[63, 50], Operations: ['87-71=16', '66-16=50'] Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[66, 47], Operations: ['87-63=24', '71-24=47'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 66*47=3102, Resulting Numbers: [3102] 3102,73 unequal: No Solution Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[66, 47], Operations: ['87-71=16', '63-16=47'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 66*47=3102, Resulting Numbers: [3102] 3102,73 unequal: No Solution Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[71, 42], Operations: ['87-63=24', '66-24=42'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,73 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 6, 63, 94 ]
34
[ "6/2=3", "94-63=31", "3+31=34" ]
Current State: 34:[2, 6, 63, 94], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [63, 94, 3] Generated Node #2: [63, 94, 3] from Operation: 6/2=3 Current State: 34:[63, 94, 3], Operations: ['6/2=3'] Exploring Operation: 94-63=31, Resulting Numbers: [3, 31] Generated Node #3: [3, 31] from Operation: 94-63=31 Current State: 34:[3, 31], Operations: ['6/2=3', '94-63=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 6, 63, 94], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [2, 6, 31] Generated Node #0,0: 34:[2, 6, 31] Operation: 94-63=31 Exploring Operation: 63-6=57, Resulting Numbers: [2, 94, 57] Generated Node #0,1: 34:[2, 94, 57] Operation: 63-6=57 Exploring Operation: 94/2=47, Resulting Numbers: [6, 63, 47] Generated Node #0,2: 34:[6, 63, 47] Operation: 94/2=47 Exploring Operation: 94-6=88, Resulting Numbers: [2, 63, 88] Generated Node #0,3: 34:[2, 63, 88] Operation: 94-6=88 Exploring Operation: 6/2=3, Resulting Numbers: [63, 94, 3] Generated Node #0,4: 34:[63, 94, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[2, 6, 31], Operations: ['94-63=31'] Exploring Operation: 2+31=33, Resulting Numbers: [6, 33] Generated Node #0,0,0: 34:[6, 33] Operation: 2+31=33 Exploring Operation: 6+31=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 34:[2, 37] Operation: 6+31=37 Exploring Operation: 6-2=4, Resulting Numbers: [31, 4] Generated Node #0,0,2: 34:[31, 4] Operation: 6-2=4 Exploring Operation: 2*6=12, Resulting Numbers: [31, 12] Generated Node #0,0,3: 34:[31, 12] Operation: 2*6=12 Exploring Operation: 6/2=3, Resulting Numbers: [31, 3] Generated Node #0,0,4: 34:[31, 3] Operation: 6/2=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[2, 37], Operations: ['94-63=31', '6+31=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,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,4 Current State: 34:[31, 3], Operations: ['94-63=31', '6/2=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[2, 6, 63, 94], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [2, 6, 31] Generated Node #0,0: 34:[2, 6, 31] Operation: 94-63=31 Moving to Node #0,0 Current State: 34:[2, 6, 31], Operations: ['94-63=31'] Exploring Operation: 6/2=3, Resulting Numbers: [31, 3] Generated Node #0,0,4: 34:[31, 3] Operation: 6/2=3 Moving to Node #0,0,4 Current State: 34:[31, 3], Operations: ['94-63=31', '6/2=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 55, 92, 36, 12 ]
40
[ "92-55=37", "36/12=3", "37+3=40" ]
Current State: 40:[55, 92, 36, 12], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [36, 12, 37] Generated Node #2: [36, 12, 37] from Operation: 92-55=37 Current State: 40:[36, 12, 37], Operations: ['92-55=37'] Exploring Operation: 36/12=3, Resulting Numbers: [37, 3] Generated Node #3: [37, 3] from Operation: 36/12=3 Current State: 40:[37, 3], Operations: ['92-55=37', '36/12=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[55, 92, 36, 12], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [55, 12, 56] Generated Node #0,0: 40:[55, 12, 56] Operation: 92-36=56 Exploring Operation: 55-36=19, Resulting Numbers: [92, 12, 19] Generated Node #0,1: 40:[92, 12, 19] Operation: 55-36=19 Exploring Operation: 92-55=37, Resulting Numbers: [36, 12, 37] Generated Node #0,2: 40:[36, 12, 37] Operation: 92-55=37 Exploring Operation: 55-12=43, Resulting Numbers: [92, 36, 43] Generated Node #0,3: 40:[92, 36, 43] Operation: 55-12=43 Moving to Node #0,2 Current State: 40:[36, 12, 37], Operations: ['92-55=37'] Exploring Operation: 37-36=1, Resulting Numbers: [12, 1] Generated Node #0,2,0: 40:[12, 1] Operation: 37-36=1 Exploring Operation: 36/12=3, Resulting Numbers: [37, 3] Generated Node #0,2,1: 40:[37, 3] Operation: 36/12=3 Exploring Operation: 36-12=24, Resulting Numbers: [37, 24] Generated Node #0,2,2: 40:[37, 24] Operation: 36-12=24 Exploring Operation: 37-12=25, Resulting Numbers: [36, 25] Generated Node #0,2,3: 40:[36, 25] Operation: 37-12=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[12, 1], Operations: ['92-55=37', '37-36=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,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,2,1 Current State: 40:[37, 3], Operations: ['92-55=37', '36/12=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[55, 92, 36, 12], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [36, 12, 37] Generated Node #0,2: 40:[36, 12, 37] Operation: 92-55=37 Moving to Node #0,2 Current State: 40:[36, 12, 37], Operations: ['92-55=37'] Exploring Operation: 36/12=3, Resulting Numbers: [37, 3] Generated Node #0,2,1: 40:[37, 3] Operation: 36/12=3 Moving to Node #0,2,1 Current State: 40:[37, 3], Operations: ['92-55=37', '36/12=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 50, 48, 14, 32 ]
31
[ "48*32=1536", "14+1536=1550", "1550/50=31" ]
Current State: 31:[50, 48, 14, 32], Operations: [] Exploring Operation: 48*32=1536, Resulting Numbers: [50, 14, 1536] Generated Node #2: [50, 14, 1536] from Operation: 48*32=1536 Current State: 31:[50, 14, 1536], Operations: ['48*32=1536'] Exploring Operation: 14+1536=1550, Resulting Numbers: [50, 1550] Generated Node #3: [50, 1550] from Operation: 14+1536=1550 Current State: 31:[50, 1550], Operations: ['48*32=1536', '14+1536=1550'] Exploring Operation: 1550/50=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[50, 48, 14, 32], Operations: [] Exploring Operation: 50-14=36, Resulting Numbers: [48, 32, 36] Generated Node #0,0: 31:[48, 32, 36] Operation: 50-14=36 Exploring Operation: 50-32=18, Resulting Numbers: [48, 14, 18] Generated Node #0,1: 31:[48, 14, 18] Operation: 50-32=18 Exploring Operation: 32-14=18, Resulting Numbers: [50, 48, 18] Generated Node #0,2: 31:[50, 48, 18] Operation: 32-14=18 Exploring Operation: 50-48=2, Resulting Numbers: [14, 32, 2] Generated Node #0,3: 31:[14, 32, 2] Operation: 50-48=2 Exploring Operation: 48-14=34, Resulting Numbers: [50, 32, 34] Generated Node #0,4: 31:[50, 32, 34] Operation: 48-14=34 Moving to Node #0,0 Current State: 31:[48, 32, 36], Operations: ['50-14=36'] Exploring Operation: 48-36=12, Resulting Numbers: [32, 12] Generated Node #0,0,0: 31:[32, 12] Operation: 48-36=12 Exploring Operation: 48+32=80, Resulting Numbers: [36, 80] Generated Node #0,0,1: 31:[36, 80] Operation: 48+32=80 Exploring Operation: 48+36=84, Resulting Numbers: [32, 84] Generated Node #0,0,2: 31:[32, 84] Operation: 48+36=84 Exploring Operation: 36-32=4, Resulting Numbers: [48, 4] Generated Node #0,0,3: 31:[48, 4] Operation: 36-32=4 Exploring Operation: 48-32=16, Resulting Numbers: [36, 16] Generated Node #0,0,4: 31:[36, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[32, 12], Operations: ['50-14=36', '48-36=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,31 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 31:[36, 16], Operations: ['50-14=36', '48-32=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,31 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[48, 4], Operations: ['50-14=36', '36-32=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,31 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[36, 80], Operations: ['50-14=36', '48+32=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[32, 84], Operations: ['50-14=36', '48+36=84'] Exploring Operation: 32+84=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 32*84=2688, Resulting Numbers: [2688] 2688,31 unequal: No Solution Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,31 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: 31:[50, 32, 34], Operations: ['48-14=34'] Exploring Operation: 34-32=2, Resulting Numbers: [50, 2] Generated Node #0,4,0: 31:[50, 2] Operation: 34-32=2 Exploring Operation: 50+34=84, Resulting Numbers: [32, 84] Generated Node #0,4,1: 31:[32, 84] Operation: 50+34=84 Exploring Operation: 50+32=82, Resulting Numbers: [34, 82] Generated Node #0,4,2: 31:[34, 82] Operation: 50+32=82 Exploring Operation: 50-32=18, Resulting Numbers: [34, 18] Generated Node #0,4,3: 31:[34, 18] Operation: 50-32=18 Exploring Operation: 50-34=16, Resulting Numbers: [32, 16] Generated Node #0,4,4: 31:[32, 16] Operation: 50-34=16 Moving to Node #0,1 Current State: 31:[48, 14, 18], Operations: ['50-32=18'] Exploring Operation: 18-14=4, Resulting Numbers: [48, 4] Generated Node #0,1,0: 31:[48, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [48, 32] Generated Node #0,1,1: 31:[48, 32] Operation: 14+18=32 Exploring Operation: 48-18=30, Resulting Numbers: [14, 30] Generated Node #0,1,2: 31:[14, 30] Operation: 48-18=30 Exploring Operation: 48+14=62, Resulting Numbers: [18, 62] Generated Node #0,1,3: 31:[18, 62] Operation: 48+14=62 Exploring Operation: 48-14=34, Resulting Numbers: [18, 34] Generated Node #0,1,4: 31:[18, 34] Operation: 48-14=34 Moving to Node #0,3 Current State: 31:[14, 32, 2], Operations: ['50-48=2'] Exploring Operation: 32-2=30, Resulting Numbers: [14, 30] Generated Node #0,3,0: 31:[14, 30] Operation: 32-2=30 Exploring Operation: 32+2=34, Resulting Numbers: [14, 34] Generated Node #0,3,1: 31:[14, 34] Operation: 32+2=34 Exploring Operation: 14*2=28, Resulting Numbers: [32, 28] Generated Node #0,3,2: 31:[32, 28] Operation: 14*2=28 Exploring Operation: 14-2=12, Resulting Numbers: [32, 12] Generated Node #0,3,3: 31:[32, 12] Operation: 14-2=12 Exploring Operation: 14+2=16, Resulting Numbers: [32, 16] Generated Node #0,3,4: 31:[32, 16] Operation: 14+2=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[32, 28], Operations: ['50-48=2', '14*2=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,31 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 31:[32, 16], Operations: ['50-48=2', '14+2=16'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 32*16=512, Resulting Numbers: [512] 512,31 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[14, 30], Operations: ['50-48=2', '32-2=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[14, 34], Operations: ['50-48=2', '32+2=34'] Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,31 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[32, 12], Operations: ['50-48=2', '14-2=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,31 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: 31:[50, 48, 18], Operations: ['32-14=18'] Exploring Operation: 50-18=32, Resulting Numbers: [48, 32] Generated Node #0,2,0: 31:[48, 32] Operation: 50-18=32 Exploring Operation: 50-48=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 31:[18, 2] Operation: 50-48=2 Exploring Operation: 48-18=30, Resulting Numbers: [50, 30] Generated Node #0,2,2: 31:[50, 30] Operation: 48-18=30 Exploring Operation: 50+18=68, Resulting Numbers: [48, 68] Generated Node #0,2,3: 31:[48, 68] Operation: 50+18=68 Exploring Operation: 48+18=66, Resulting Numbers: [50, 66] Generated Node #0,2,4: 31:[50, 66] Operation: 48+18=66 Moving to Node #0,4,3 Current State: 31:[34, 18], Operations: ['48-14=34', '50-32=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,31 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[18, 34], Operations: ['50-32=18', '48-14=34'] Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,31 unequal: No Solution Moving to Node #0,4,4 Current State: 31:[32, 16], Operations: ['48-14=34', '50-34=16'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 32*16=512, Resulting Numbers: [512] 512,31 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[48, 32], Operations: ['50-32=18', '14+18=32'] Exploring Operation: 48+32=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 48*32=1536, Resulting Numbers: [1536] 1536,31 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[48, 32], Operations: ['32-14=18', '50-18=32'] Exploring Operation: 48+32=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 48*32=1536, Resulting Numbers: [1536] 1536,31 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[14, 30], Operations: ['50-32=18', '48-18=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[50, 30], Operations: ['32-14=18', '48-18=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[18, 2], Operations: ['32-14=18', '50-48=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[18, 62], Operations: ['50-32=18', '48+14=62'] Exploring Operation: 18*62=1116, Resulting Numbers: [1116] 1116,31 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[48, 4], Operations: ['50-32=18', '18-14=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,31 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,4,0 Current State: 31:[50, 2], Operations: ['48-14=34', '34-32=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,31 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[50, 66], Operations: ['32-14=18', '48+18=66'] Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,31 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[48, 68], Operations: ['32-14=18', '50+18=68'] Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,31 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,31 unequal: No Solution Moving to Node #0,4,2 Current State: 31:[34, 82], Operations: ['48-14=34', '50+32=82'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,31 unequal: No Solution Moving to Node #0,4,1 Current State: 31:[32, 84], Operations: ['48-14=34', '50+34=84'] Exploring Operation: 32*84=2688, Resulting Numbers: [2688] 2688,31 unequal: No Solution Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 32+84=116, Resulting Numbers: [116] 116,31 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 73, 3, 4, 9 ]
10
[ "73+3=76", "76/4=19", "19-9=10" ]
Current State: 10:[73, 3, 4, 9], Operations: [] Exploring Operation: 73+3=76, Resulting Numbers: [4, 9, 76] Generated Node #2: [4, 9, 76] from Operation: 73+3=76 Current State: 10:[4, 9, 76], Operations: ['73+3=76'] Exploring Operation: 76/4=19, Resulting Numbers: [9, 19] Generated Node #3: [9, 19] from Operation: 76/4=19 Current State: 10:[9, 19], Operations: ['73+3=76', '76/4=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[73, 3, 4, 9], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [73, 3, 5] Generated Node #0,0: 10:[73, 3, 5] Operation: 9-4=5 Exploring Operation: 4-3=1, Resulting Numbers: [73, 9, 1] Generated Node #0,1: 10:[73, 9, 1] Operation: 4-3=1 Exploring Operation: 73-4=69, Resulting Numbers: [3, 9, 69] Generated Node #0,2: 10:[3, 9, 69] Operation: 73-4=69 Exploring Operation: 73-9=64, Resulting Numbers: [3, 4, 64] Generated Node #0,3: 10:[3, 4, 64] Operation: 73-9=64 Exploring Operation: 73-3=70, Resulting Numbers: [4, 9, 70] Generated Node #0,4: 10:[4, 9, 70] Operation: 73-3=70 Moving to Node #0,3 Current State: 10:[3, 4, 64], Operations: ['73-9=64'] Exploring Operation: 4-3=1, Resulting Numbers: [64, 1] Generated Node #0,3,0: 10:[64, 1] Operation: 4-3=1 Exploring Operation: 64/4=16, Resulting Numbers: [3, 16] Generated Node #0,3,1: 10:[3, 16] Operation: 64/4=16 Exploring Operation: 3+4=7, Resulting Numbers: [64, 7] Generated Node #0,3,2: 10:[64, 7] Operation: 3+4=7 Exploring Operation: 64-3=61, Resulting Numbers: [4, 61] Generated Node #0,3,3: 10:[4, 61] Operation: 64-3=61 Exploring Operation: 64-4=60, Resulting Numbers: [3, 60] Generated Node #0,3,4: 10:[3, 60] Operation: 64-4=60 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[3, 16], Operations: ['73-9=64', '64/4=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 10:[3, 60], Operations: ['73-9=64', '64-4=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[4, 61], Operations: ['73-9=64', '64-3=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[64, 1], Operations: ['73-9=64', '4-3=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[64, 7], Operations: ['73-9=64', '3+4=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 10:[3, 9, 69], Operations: ['73-4=69'] Exploring Operation: 9/3=3, Resulting Numbers: [69, 3] Generated Node #0,2,0: 10:[69, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [69, 6] Generated Node #0,2,1: 10:[69, 6] Operation: 9-3=6 Exploring Operation: 69-3=66, Resulting Numbers: [9, 66] Generated Node #0,2,2: 10:[9, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [9, 23] Generated Node #0,2,3: 10:[9, 23] Operation: 69/3=23 Exploring Operation: 69-9=60, Resulting Numbers: [3, 60] Generated Node #0,2,4: 10:[3, 60] Operation: 69-9=60 Moving to Node #0,4 Current State: 10:[4, 9, 70], Operations: ['73-3=70'] Exploring Operation: 4+70=74, Resulting Numbers: [9, 74] Generated Node #0,4,0: 10:[9, 74] Operation: 4+70=74 Exploring Operation: 70-4=66, Resulting Numbers: [9, 66] Generated Node #0,4,1: 10:[9, 66] Operation: 70-4=66 Exploring Operation: 4+9=13, Resulting Numbers: [70, 13] Generated Node #0,4,2: 10:[70, 13] Operation: 4+9=13 Exploring Operation: 70-9=61, Resulting Numbers: [4, 61] Generated Node #0,4,3: 10:[4, 61] Operation: 70-9=61 Exploring Operation: 9-4=5, Resulting Numbers: [70, 5] Generated Node #0,4,4: 10:[70, 5] Operation: 9-4=5 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 10:[4, 61], Operations: ['73-3=70', '70-9=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,10 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 10:[9, 66], Operations: ['73-3=70', '70-4=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[70, 5], Operations: ['73-3=70', '9-4=5'] Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 10:[70, 13], Operations: ['73-3=70', '4+9=13'] Exploring Operation: 70*13=910, Resulting Numbers: [910] 910,10 unequal: No Solution Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 10:[9, 74], Operations: ['73-3=70', '4+70=74'] Exploring Operation: 9*74=666, Resulting Numbers: [666] 666,10 unequal: No Solution Exploring Operation: 9+74=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[73, 3, 5], Operations: ['9-4=5'] Exploring Operation: 73-5=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 10:[3, 68] Operation: 73-5=68 Exploring Operation: 5-3=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 10:[73, 2] Operation: 5-3=2 Exploring Operation: 73+3=76, Resulting Numbers: [5, 76] Generated Node #0,0,2: 10:[5, 76] Operation: 73+3=76 Exploring Operation: 3+5=8, Resulting Numbers: [73, 8] Generated Node #0,0,3: 10:[73, 8] Operation: 3+5=8 Exploring Operation: 73-3=70, Resulting Numbers: [5, 70] Generated Node #0,0,4: 10:[5, 70] Operation: 73-3=70 Moving to Node #0,1 Current State: 10:[73, 9, 1], Operations: ['4-3=1'] Exploring Operation: 9+1=10, Resulting Numbers: [73, 10] Generated Node #0,1,0: 10:[73, 10] Operation: 9+1=10 Exploring Operation: 73/1=73, Resulting Numbers: [9, 73] Generated Node #0,1,1: 10:[9, 73] Operation: 73/1=73 Exploring Operation: 73*1=73, Resulting Numbers: [9, 73] Generated Node #0,1,2: 10:[9, 73] Operation: 73*1=73 Exploring Operation: 73-9=64, Resulting Numbers: [1, 64] Generated Node #0,1,3: 10:[1, 64] Operation: 73-9=64 Exploring Operation: 73-1=72, Resulting Numbers: [9, 72] Generated Node #0,1,4: 10:[9, 72] Operation: 73-1=72 Moving to Node #0,2,3 Current State: 10:[9, 23], Operations: ['73-4=69', '69/3=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,10 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[3, 60], Operations: ['73-4=69', '69-9=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[1, 64], Operations: ['4-3=1', '73-9=64'] Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[9, 66], Operations: ['73-4=69', '69-3=66'] Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,10 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[3, 68], Operations: ['9-4=5', '73-5=68'] Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,10 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[5, 70], Operations: ['9-4=5', '73-3=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[69, 6], Operations: ['73-4=69', '9-3=6'] Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,10 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[69, 3], Operations: ['73-4=69', '9/3=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,10 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[9, 72], Operations: ['4-3=1', '73-1=72'] Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,10 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[73, 10], Operations: ['4-3=1', '9+1=10'] Exploring Operation: 73*10=730, Resulting Numbers: [730] 730,10 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[73, 2], Operations: ['9-4=5', '5-3=2'] Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,10 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[9, 73], Operations: ['4-3=1', '73/1=73'] Exploring Operation: 9*73=657, Resulting Numbers: [657] 657,10 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 9+73=82, Resulting Numbers: [82] 82,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[9, 73], Operations: ['4-3=1', '73*1=73'] Exploring Operation: 9*73=657, Resulting Numbers: [657] 657,10 unequal: No Solution Exploring Operation: 9+73=82, Resulting Numbers: [82] 82,10 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[73, 8], Operations: ['9-4=5', '3+5=8'] Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,10 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[5, 76], Operations: ['9-4=5', '73+3=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,10 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 31, 27, 88, 62 ]
30
[ "31-27=4", "88-62=26", "4+26=30" ]
Current State: 30:[31, 27, 88, 62], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [88, 62, 4] Generated Node #2: [88, 62, 4] from Operation: 31-27=4 Current State: 30:[88, 62, 4], Operations: ['31-27=4'] Exploring Operation: 88-62=26, Resulting Numbers: [4, 26] Generated Node #3: [4, 26] from Operation: 88-62=26 Current State: 30:[4, 26], Operations: ['31-27=4', '88-62=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[31, 27, 88, 62], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [31, 27, 26] Generated Node #0,0: 30:[31, 27, 26] Operation: 88-62=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[31, 27, 26], Operations: ['88-62=26'] Exploring Operation: 27-26=1, Resulting Numbers: [31, 1] Generated Node #0,0,0: 30:[31, 1] Operation: 27-26=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[31, 1], Operations: ['88-62=26', '27-26=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[31, 27, 88, 62], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [31, 27, 26] Generated Node #0,0: 30:[31, 27, 26] Operation: 88-62=26 Moving to Node #0,0 Current State: 30:[31, 27, 26], Operations: ['88-62=26'] Exploring Operation: 27-26=1, Resulting Numbers: [31, 1] Generated Node #0,0,0: 30:[31, 1] Operation: 27-26=1 Moving to Node #0,0,0 Current State: 30:[31, 1], Operations: ['88-62=26', '27-26=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 26, 55, 72, 84 ]
75
[ "26+55=81", "72+84=156", "156-81=75" ]
Current State: 75:[26, 55, 72, 84], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [72, 84, 81] Generated Node #2: [72, 84, 81] from Operation: 26+55=81 Current State: 75:[72, 84, 81], Operations: ['26+55=81'] Exploring Operation: 72+84=156, Resulting Numbers: [81, 156] Generated Node #3: [81, 156] from Operation: 72+84=156 Current State: 75:[81, 156], Operations: ['26+55=81', '72+84=156'] Exploring Operation: 156-81=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[26, 55, 72, 84], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [72, 84, 81] Generated Node #0,0: 75:[72, 84, 81] Operation: 26+55=81 Exploring Operation: 55-26=29, Resulting Numbers: [72, 84, 29] Generated Node #0,1: 75:[72, 84, 29] Operation: 55-26=29 Exploring Operation: 72-55=17, Resulting Numbers: [26, 84, 17] Generated Node #0,2: 75:[26, 84, 17] Operation: 72-55=17 Exploring Operation: 84-72=12, Resulting Numbers: [26, 55, 12] Generated Node #0,3: 75:[26, 55, 12] Operation: 84-72=12 Exploring Operation: 84-55=29, Resulting Numbers: [26, 72, 29] Generated Node #0,4: 75:[26, 72, 29] Operation: 84-55=29 Moving to Node #0,4 Current State: 75:[26, 72, 29], Operations: ['84-55=29'] Exploring Operation: 26+29=55, Resulting Numbers: [72, 55] Generated Node #0,4,0: 75:[72, 55] Operation: 26+29=55 Exploring Operation: 72-29=43, Resulting Numbers: [26, 43] Generated Node #0,4,1: 75:[26, 43] Operation: 72-29=43 Exploring Operation: 26+72=98, Resulting Numbers: [29, 98] Generated Node #0,4,2: 75:[29, 98] Operation: 26+72=98 Exploring Operation: 72-26=46, Resulting Numbers: [29, 46] Generated Node #0,4,3: 75:[29, 46] Operation: 72-26=46 Exploring Operation: 29-26=3, Resulting Numbers: [72, 3] Generated Node #0,4,4: 75:[72, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 75:[72, 3], Operations: ['84-55=29', '29-26=3'] Exploring Operation: 72*3=216, Resulting Numbers: [216] 216,75 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[26, 55, 72, 84], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [26, 72, 29] Generated Node #0,4: 75:[26, 72, 29] Operation: 84-55=29 Moving to Node #0,4 Current State: 75:[26, 72, 29], Operations: ['84-55=29'] Exploring Operation: 29-26=3, Resulting Numbers: [72, 3] Generated Node #0,4,4: 75:[72, 3] Operation: 29-26=3 Moving to Node #0,4,4 Current State: 75:[72, 3], Operations: ['84-55=29', '29-26=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 14, 24, 69, 3 ]
13
[ "24-14=10", "69/3=23", "23-10=13" ]
Current State: 13:[14, 24, 69, 3], Operations: [] Exploring Operation: 24-14=10, Resulting Numbers: [69, 3, 10] Generated Node #2: [69, 3, 10] from Operation: 24-14=10 Current State: 13:[69, 3, 10], Operations: ['24-14=10'] Exploring Operation: 69/3=23, Resulting Numbers: [10, 23] Generated Node #3: [10, 23] from Operation: 69/3=23 Current State: 13:[10, 23], Operations: ['24-14=10', '69/3=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[14, 24, 69, 3], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [14, 24, 23] Generated Node #0,0: 13:[14, 24, 23] Operation: 69/3=23 Exploring Operation: 69-24=45, Resulting Numbers: [14, 3, 45] Generated Node #0,1: 13:[14, 3, 45] Operation: 69-24=45 Moving to Node #0,0 Current State: 13:[14, 24, 23], Operations: ['69/3=23'] Exploring Operation: 24-14=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 13:[23, 10] Operation: 24-14=10 Exploring Operation: 24-23=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 13:[14, 1] Operation: 24-23=1 Moving to Node #0,1 Current State: 13:[14, 3, 45], Operations: ['69-24=45'] Exploring Operation: 45-14=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 13:[3, 31] Operation: 45-14=31 Exploring Operation: 45/3=15, Resulting Numbers: [14, 15] Generated Node #0,1,1: 13:[14, 15] Operation: 45/3=15 Moving to Node #0,1,1 Current State: 13:[14, 15], Operations: ['69-24=45', '45/3=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[23, 10], Operations: ['69/3=23', '24-14=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[14, 24, 69, 3], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [14, 24, 23] Generated Node #0,0: 13:[14, 24, 23] Operation: 69/3=23 Moving to Node #0,0 Current State: 13:[14, 24, 23], Operations: ['69/3=23'] Exploring Operation: 24-14=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 13:[23, 10] Operation: 24-14=10 Moving to Node #0,0,0 Current State: 13:[23, 10], Operations: ['69/3=23', '24-14=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 35, 18, 17, 85 ]
22
[ "35-18=17", "85/17=5", "17+5=22" ]
Current State: 22:[35, 18, 17, 85], Operations: [] Exploring Operation: 35-18=17, Resulting Numbers: [17, 85, 17] Generated Node #2: [17, 85, 17] from Operation: 35-18=17 Current State: 22:[17, 85, 17], Operations: ['35-18=17'] Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,22 equal: Goal Reached Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[35, 18, 17, 85], Operations: [] Exploring Operation: 85-17=68, Resulting Numbers: [35, 18, 68] Generated Node #0,0: 22:[35, 18, 68] Operation: 85-17=68 Exploring Operation: 85-35=50, Resulting Numbers: [18, 17, 50] Generated Node #0,1: 22:[18, 17, 50] Operation: 85-35=50 Exploring Operation: 85/17=5, Resulting Numbers: [35, 18, 5] Generated Node #0,2: 22:[35, 18, 5] Operation: 85/17=5 Exploring Operation: 85-18=67, Resulting Numbers: [35, 17, 67] Generated Node #0,3: 22:[35, 17, 67] Operation: 85-18=67 Exploring Operation: 35-17=18, Resulting Numbers: [18, 85, 18] Generated Node #0,4: 22:[18, 85, 18] Operation: 35-17=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[35, 18, 5], Operations: ['85/17=5'] Exploring Operation: 18+5=23, Resulting Numbers: [35, 23] Generated Node #0,2,0: 22:[35, 23] Operation: 18+5=23 Exploring Operation: 18-5=13, Resulting Numbers: [35, 13] Generated Node #0,2,1: 22:[35, 13] Operation: 18-5=13 Exploring Operation: 35/5=7, Resulting Numbers: [18, 7] Generated Node #0,2,2: 22:[18, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [18, 30] Generated Node #0,2,3: 22:[18, 30] Operation: 35-5=30 Exploring Operation: 35-18=17, Resulting Numbers: [5, 17] Generated Node #0,2,4: 22:[5, 17] Operation: 35-18=17 Moving to Node #0,2,2 Current State: 22:[18, 7], Operations: ['85/17=5', '35/5=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,22 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[5, 17], Operations: ['85/17=5', '35-18=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[35, 18, 17, 85], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [35, 18, 5] Generated Node #0,2: 22:[35, 18, 5] Operation: 85/17=5 Moving to Node #0,2 Current State: 22:[35, 18, 5], Operations: ['85/17=5'] Exploring Operation: 35-18=17, Resulting Numbers: [5, 17] Generated Node #0,2,4: 22:[5, 17] Operation: 35-18=17 Moving to Node #0,2,4 Current State: 22:[5, 17], Operations: ['85/17=5', '35-18=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 3, 30, 21, 90 ]
20
[ "3*30=90", "90/90=1", "21-1=20" ]
Current State: 20:[3, 30, 21, 90], Operations: [] Exploring Operation: 3*30=90, Resulting Numbers: [21, 90, 90] Generated Node #2: [21, 90, 90] from Operation: 3*30=90 Current State: 20:[21, 90, 90], Operations: ['3*30=90'] Exploring Operation: 90/90=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 90/90=1 Current State: 20:[21, 1], Operations: ['3*30=90', '90/90=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[3, 30, 21, 90], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [3, 21, 3] Generated Node #0,0: 20:[3, 21, 3] Operation: 90/30=3 Moving to Node #0,0 Current State: 20:[3, 21, 3], Operations: ['90/30=3'] Exploring Operation: 3+3=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 20:[21, 6] Operation: 3+3=6 Moving to Node #0,0,0 Current State: 20:[21, 6], Operations: ['90/30=3', '3+3=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,20 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 51, 23, 2, 2 ]
74
[ "51+23=74", "2-2=0", "74+0=74" ]
Current State: 74:[51, 23, 2, 2], Operations: [] Exploring Operation: 51+23=74, Resulting Numbers: [2, 2, 74] Generated Node #2: [2, 2, 74] from Operation: 51+23=74 Current State: 74:[2, 2, 74], Operations: ['51+23=74'] Exploring Operation: 2-2=0, Resulting Numbers: [74, 0] Generated Node #3: [74, 0] from Operation: 2-2=0 Current State: 74:[74, 0], Operations: ['51+23=74', '2-2=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[51, 23, 2, 2], Operations: [] Exploring Operation: 51+23=74, Resulting Numbers: [2, 2, 74] Generated Node #0,0: 74:[2, 2, 74] Operation: 51+23=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[2, 2, 74], Operations: ['51+23=74'] Exploring Operation: 74/2=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 74:[2, 37] Operation: 74/2=37 Moving to Node #0,0,0 Current State: 74:[2, 37], Operations: ['51+23=74', '74/2=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[51, 23, 2, 2], Operations: [] Exploring Operation: 51+23=74, Resulting Numbers: [2, 2, 74] Generated Node #0,0: 74:[2, 2, 74] Operation: 51+23=74 Moving to Node #0,0 Current State: 74:[2, 2, 74], Operations: ['51+23=74'] Exploring Operation: 74/2=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 74:[2, 37] Operation: 74/2=37 Moving to Node #0,0,0 Current State: 74:[2, 37], Operations: ['51+23=74', '74/2=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 35, 23, 52, 40 ]
80
[ "35-23=12", "52+40=92", "92-12=80" ]
Current State: 80:[35, 23, 52, 40], Operations: [] Exploring Operation: 35-23=12, Resulting Numbers: [52, 40, 12] Generated Node #2: [52, 40, 12] from Operation: 35-23=12 Current State: 80:[52, 40, 12], Operations: ['35-23=12'] Exploring Operation: 52+40=92, Resulting Numbers: [12, 92] Generated Node #3: [12, 92] from Operation: 52+40=92 Current State: 80:[12, 92], Operations: ['35-23=12', '52+40=92'] Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[35, 23, 52, 40], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [23, 40, 17] Generated Node #0,0: 80:[23, 40, 17] Operation: 52-35=17 Exploring Operation: 35+52=87, Resulting Numbers: [23, 40, 87] Generated Node #0,1: 80:[23, 40, 87] Operation: 35+52=87 Moving to Node #0,0 Current State: 80:[23, 40, 17], Operations: ['52-35=17'] Exploring Operation: 23-17=6, Resulting Numbers: [40, 6] Generated Node #0,0,0: 80:[40, 6] Operation: 23-17=6 Exploring Operation: 23+17=40, Resulting Numbers: [40, 40] Generated Node #0,0,1: 80:[40, 40] Operation: 23+17=40 Moving to Node #0,1 Current State: 80:[23, 40, 87], Operations: ['35+52=87'] Exploring Operation: 40-23=17, Resulting Numbers: [87, 17] Generated Node #0,1,0: 80:[87, 17] Operation: 40-23=17 Exploring Operation: 87-40=47, Resulting Numbers: [23, 47] Generated Node #0,1,1: 80:[23, 47] Operation: 87-40=47 Moving to Node #0,0,1 Current State: 80:[40, 40], Operations: ['52-35=17', '23+17=40'] Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[35, 23, 52, 40], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [23, 40, 17] Generated Node #0,0: 80:[23, 40, 17] Operation: 52-35=17 Moving to Node #0,0 Current State: 80:[23, 40, 17], Operations: ['52-35=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40, 40] Generated Node #0,0,1: 80:[40, 40] Operation: 23+17=40 Moving to Node #0,0,1 Current State: 80:[40, 40], Operations: ['52-35=17', '23+17=40'] Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 58, 89, 91, 46 ]
35
[ "91-89=2", "46/2=23", "58-23=35" ]
Current State: 35:[58, 89, 91, 46], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [58, 46, 2] Generated Node #2: [58, 46, 2] from Operation: 91-89=2 Current State: 35:[58, 46, 2], Operations: ['91-89=2'] Exploring Operation: 46/2=23, Resulting Numbers: [58, 23] Generated Node #3: [58, 23] from Operation: 46/2=23 Current State: 35:[58, 23], Operations: ['91-89=2', '46/2=23'] Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[58, 89, 91, 46], Operations: [] Exploring Operation: 91-46=45, Resulting Numbers: [58, 89, 45] Generated Node #0,0: 35:[58, 89, 45] Operation: 91-46=45 Exploring Operation: 89-58=31, Resulting Numbers: [91, 46, 31] Generated Node #0,1: 35:[91, 46, 31] Operation: 89-58=31 Exploring Operation: 91-58=33, Resulting Numbers: [89, 46, 33] Generated Node #0,2: 35:[89, 46, 33] Operation: 91-58=33 Exploring Operation: 91-89=2, Resulting Numbers: [58, 46, 2] Generated Node #0,3: 35:[58, 46, 2] Operation: 91-89=2 Exploring Operation: 89-46=43, Resulting Numbers: [58, 91, 43] Generated Node #0,4: 35:[58, 91, 43] Operation: 89-46=43 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[58, 46, 2], Operations: ['91-89=2'] Exploring Operation: 46/2=23, Resulting Numbers: [58, 23] Generated Node #0,3,0: 35:[58, 23] Operation: 46/2=23 Exploring Operation: 58-46=12, Resulting Numbers: [2, 12] Generated Node #0,3,1: 35:[2, 12] Operation: 58-46=12 Exploring Operation: 46-2=44, Resulting Numbers: [58, 44] Generated Node #0,3,2: 35:[58, 44] Operation: 46-2=44 Exploring Operation: 58/2=29, Resulting Numbers: [46, 29] Generated Node #0,3,3: 35:[46, 29] Operation: 58/2=29 Exploring Operation: 58-2=56, Resulting Numbers: [46, 56] Generated Node #0,3,4: 35:[46, 56] Operation: 58-2=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[2, 12], Operations: ['91-89=2', '58-46=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[46, 29], Operations: ['91-89=2', '58/2=29'] Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,35 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[58, 44], Operations: ['91-89=2', '46-2=44'] Exploring Operation: 58*44=2552, Resulting Numbers: [2552] 2552,35 unequal: No Solution Exploring Operation: 58+44=102, Resulting Numbers: [102] 102,35 unequal: No Solution Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 35:[46, 56], Operations: ['91-89=2', '58-2=56'] Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,35 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[58, 23], Operations: ['91-89=2', '46/2=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,35 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[58, 89, 91, 46], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [58, 46, 2] Generated Node #0,3: 35:[58, 46, 2] Operation: 91-89=2 Moving to Node #0,3 Current State: 35:[58, 46, 2], Operations: ['91-89=2'] Exploring Operation: 46/2=23, Resulting Numbers: [58, 23] Generated Node #0,3,0: 35:[58, 23] Operation: 46/2=23 Moving to Node #0,3,0 Current State: 35:[58, 23], Operations: ['91-89=2', '46/2=23'] Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic
[ 54, 51, 38, 3 ]
47
[ "54-51=3", "3*3=9", "38+9=47" ]
Current State: 47:[54, 51, 38, 3], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [38, 3, 3] Generated Node #2: [38, 3, 3] from Operation: 54-51=3 Current State: 47:[38, 3, 3], Operations: ['54-51=3'] Exploring Operation: 3*3=9, Resulting Numbers: [38, 9] Generated Node #3: [38, 9] from Operation: 3*3=9 Current State: 47:[38, 9], Operations: ['54-51=3', '3*3=9'] Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[54, 51, 38, 3], Operations: [] Exploring Operation: 54-3=51, Resulting Numbers: [51, 38, 51] Generated Node #0,0: 47:[51, 38, 51] Operation: 54-3=51 Moving to Node #0,0 Current State: 47:[51, 38, 51], Operations: ['54-3=51'] Exploring Operation: 51-38=13, Resulting Numbers: [51, 13] Generated Node #0,0,0: 47:[51, 13] Operation: 51-38=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[51, 13], Operations: ['54-3=51', '51-38=13'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 27, 95, 99, 90 ]
92
[ "99-90=9", "27/9=3", "95-3=92" ]
Current State: 92:[27, 95, 99, 90], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [27, 95, 9] Generated Node #2: [27, 95, 9] from Operation: 99-90=9 Current State: 92:[27, 95, 9], Operations: ['99-90=9'] Exploring Operation: 27/9=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 27/9=3 Current State: 92:[95, 3], Operations: ['99-90=9', '27/9=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[27, 95, 99, 90], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [27, 99, 5] Generated Node #0,0: 92:[27, 99, 5] Operation: 95-90=5 Exploring Operation: 99-95=4, Resulting Numbers: [27, 90, 4] Generated Node #0,1: 92:[27, 90, 4] Operation: 99-95=4 Exploring Operation: 99-90=9, Resulting Numbers: [27, 95, 9] Generated Node #0,2: 92:[27, 95, 9] Operation: 99-90=9 Moving to Node #0,1 Current State: 92:[27, 90, 4], Operations: ['99-95=4'] Exploring Operation: 27+4=31, Resulting Numbers: [90, 31] Generated Node #0,1,0: 92:[90, 31] Operation: 27+4=31 Exploring Operation: 27-4=23, Resulting Numbers: [90, 23] Generated Node #0,1,1: 92:[90, 23] Operation: 27-4=23 Exploring Operation: 90+4=94, Resulting Numbers: [27, 94] Generated Node #0,1,2: 92:[27, 94] Operation: 90+4=94 Moving to Node #0,0 Current State: 92:[27, 99, 5], Operations: ['95-90=5'] Exploring Operation: 27+5=32, Resulting Numbers: [99, 32] Generated Node #0,0,0: 92:[99, 32] Operation: 27+5=32 Exploring Operation: 99-5=94, Resulting Numbers: [27, 94] Generated Node #0,0,1: 92:[27, 94] Operation: 99-5=94 Exploring Operation: 27-5=22, Resulting Numbers: [99, 22] Generated Node #0,0,2: 92:[99, 22] Operation: 27-5=22 Moving to Node #0,2 Current State: 92:[27, 95, 9], Operations: ['99-90=9'] Exploring Operation: 95-9=86, Resulting Numbers: [27, 86] Generated Node #0,2,0: 92:[27, 86] Operation: 95-9=86 Exploring Operation: 27-9=18, Resulting Numbers: [95, 18] Generated Node #0,2,1: 92:[95, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [95, 3] Generated Node #0,2,2: 92:[95, 3] Operation: 27/9=3 Moving to Node #0,1,1 Current State: 92:[90, 23], Operations: ['99-95=4', '27-4=23'] Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,92 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[95, 3], Operations: ['99-90=9', '27/9=3'] Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,92 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[27, 95, 99, 90], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [27, 95, 9] Generated Node #0,2: 92:[27, 95, 9] Operation: 99-90=9 Moving to Node #0,2 Current State: 92:[27, 95, 9], Operations: ['99-90=9'] Exploring Operation: 27/9=3, Resulting Numbers: [95, 3] Generated Node #0,2,2: 92:[95, 3] Operation: 27/9=3 Moving to Node #0,2,2 Current State: 92:[95, 3], Operations: ['99-90=9', '27/9=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.980903
hs_3
mult_heuristic
[ 45, 70, 28, 3 ]
37
[ "45*3=135", "70+28=98", "135-98=37" ]
Current State: 37:[45, 70, 28, 3], Operations: [] Exploring Operation: 45*3=135, Resulting Numbers: [70, 28, 135] Generated Node #2: [70, 28, 135] from Operation: 45*3=135 Current State: 37:[70, 28, 135], Operations: ['45*3=135'] Exploring Operation: 70+28=98, Resulting Numbers: [135, 98] Generated Node #3: [135, 98] from Operation: 70+28=98 Current State: 37:[135, 98], Operations: ['45*3=135', '70+28=98'] Exploring Operation: 135-98=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[45, 70, 28, 3], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [45, 3, 42] Generated Node #0,0: 37:[45, 3, 42] Operation: 70-28=42 Exploring Operation: 45-3=42, Resulting Numbers: [70, 28, 42] Generated Node #0,1: 37:[70, 28, 42] Operation: 45-3=42 Moving to Node #0,0 Current State: 37:[45, 3, 42], Operations: ['70-28=42'] Exploring Operation: 42-3=39, Resulting Numbers: [45, 39] Generated Node #0,0,0: 37:[45, 39] Operation: 42-3=39 Exploring Operation: 45-3=42, Resulting Numbers: [42, 42] Generated Node #0,0,1: 37:[42, 42] Operation: 45-3=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[45, 39], Operations: ['70-28=42', '42-3=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[42, 42], Operations: ['70-28=42', '45-3=42'] Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 37:[70, 28, 42], Operations: ['45-3=42'] Exploring Operation: 70-42=28, Resulting Numbers: [28, 28] Generated Node #0,1,0: 37:[28, 28] Operation: 70-42=28 Exploring Operation: 70-28=42, Resulting Numbers: [42, 42] Generated Node #0,1,1: 37:[42, 42] Operation: 70-28=42 Moving to Node #0,1,1 Current State: 37:[42, 42], Operations: ['45-3=42', '70-28=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[28, 28], Operations: ['45-3=42', '70-42=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 91, 76, 39, 40 ]
14
[ "91-76=15", "40-39=1", "15-1=14" ]
Current State: 14:[91, 76, 39, 40], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [39, 40, 15] Generated Node #2: [39, 40, 15] from Operation: 91-76=15 Current State: 14:[39, 40, 15], Operations: ['91-76=15'] Exploring Operation: 40-39=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 40-39=1 Current State: 14:[15, 1], Operations: ['91-76=15', '40-39=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[91, 76, 39, 40], Operations: [] Exploring Operation: 76-40=36, Resulting Numbers: [91, 39, 36] Generated Node #0,0: 14:[91, 39, 36] Operation: 76-40=36 Exploring Operation: 91-76=15, Resulting Numbers: [39, 40, 15] Generated Node #0,1: 14:[39, 40, 15] Operation: 91-76=15 Exploring Operation: 91-40=51, Resulting Numbers: [76, 39, 51] Generated Node #0,2: 14:[76, 39, 51] Operation: 91-40=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[39, 40, 15], Operations: ['91-76=15'] Exploring Operation: 39-15=24, Resulting Numbers: [40, 24] Generated Node #0,1,0: 14:[40, 24] Operation: 39-15=24 Exploring Operation: 40-39=1, Resulting Numbers: [15, 1] Generated Node #0,1,1: 14:[15, 1] Operation: 40-39=1 Exploring Operation: 40-15=25, Resulting Numbers: [39, 25] Generated Node #0,1,2: 14:[39, 25] Operation: 40-15=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[15, 1], Operations: ['91-76=15', '40-39=1'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[91, 76, 39, 40], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [39, 40, 15] Generated Node #0,1: 14:[39, 40, 15] Operation: 91-76=15 Moving to Node #0,1 Current State: 14:[39, 40, 15], Operations: ['91-76=15'] Exploring Operation: 40-39=1, Resulting Numbers: [15, 1] Generated Node #0,1,1: 14:[15, 1] Operation: 40-39=1 Moving to Node #0,1,1 Current State: 14:[15, 1], Operations: ['91-76=15', '40-39=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 2, 72, 5, 5 ]
11
[ "72/2=36", "5*5=25", "36-25=11" ]
Current State: 11:[2, 72, 5, 5], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [5, 5, 36] Generated Node #2: [5, 5, 36] from Operation: 72/2=36 Current State: 11:[5, 5, 36], Operations: ['72/2=36'] Exploring Operation: 5*5=25, Resulting Numbers: [36, 25] Generated Node #3: [36, 25] from Operation: 5*5=25 Current State: 11:[36, 25], Operations: ['72/2=36', '5*5=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 72, 5, 5], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [5, 5, 36] Generated Node #0,0: 11:[5, 5, 36] Operation: 72/2=36 Exploring Operation: 2*5=10, Resulting Numbers: [72, 5, 10] Generated Node #0,1: 11:[72, 5, 10] Operation: 2*5=10 Exploring Operation: 2*5=10, Resulting Numbers: [72, 5, 10] Generated Node #0,2: 11:[72, 5, 10] Operation: 2*5=10 Exploring Operation: 72-2=70, Resulting Numbers: [5, 5, 70] Generated Node #0,3: 11:[5, 5, 70] Operation: 72-2=70 Moving to Node #0,0 Current State: 11:[5, 5, 36], Operations: ['72/2=36'] Exploring Operation: 5/5=1, Resulting Numbers: [36, 1] Generated Node #0,0,0: 11:[36, 1] Operation: 5/5=1 Exploring Operation: 36-5=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 11:[5, 31] Operation: 36-5=31 Exploring Operation: 36-5=31, Resulting Numbers: [5, 31] Generated Node #0,0,2: 11:[5, 31] Operation: 36-5=31 Exploring Operation: 5+5=10, Resulting Numbers: [36, 10] Generated Node #0,0,3: 11:[36, 10] Operation: 5+5=10 Moving to Node #0,2 Current State: 11:[72, 5, 10], Operations: ['2*5=10'] Exploring Operation: 72+5=77, Resulting Numbers: [10, 77] Generated Node #0,2,0: 11:[10, 77] Operation: 72+5=77 Exploring Operation: 72-5=67, Resulting Numbers: [10, 67] Generated Node #0,2,1: 11:[10, 67] Operation: 72-5=67 Exploring Operation: 72-10=62, Resulting Numbers: [5, 62] Generated Node #0,2,2: 11:[5, 62] Operation: 72-10=62 Exploring Operation: 5+10=15, Resulting Numbers: [72, 15] Generated Node #0,2,3: 11:[72, 15] Operation: 5+10=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[10, 67], Operations: ['2*5=10', '72-5=67'] Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,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,2,2 Current State: 11:[5, 62], Operations: ['2*5=10', '72-10=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,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,2,3 Current State: 11:[72, 15], Operations: ['2*5=10', '5+10=15'] Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,11 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,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,2,0 Current State: 11:[10, 77], Operations: ['2*5=10', '72+5=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,11 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: 11:[72, 5, 10], Operations: ['2*5=10'] Exploring Operation: 72+5=77, Resulting Numbers: [10, 77] Generated Node #0,1,0: 11:[10, 77] Operation: 72+5=77 Exploring Operation: 5+10=15, Resulting Numbers: [72, 15] Generated Node #0,1,1: 11:[72, 15] Operation: 5+10=15 Exploring Operation: 72-5=67, Resulting Numbers: [10, 67] Generated Node #0,1,2: 11:[10, 67] Operation: 72-5=67 Exploring Operation: 72-10=62, Resulting Numbers: [5, 62] Generated Node #0,1,3: 11:[5, 62] Operation: 72-10=62 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[10, 67], Operations: ['2*5=10', '72-5=67'] Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,11 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,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,1,3 Current State: 11:[5, 62], Operations: ['2*5=10', '72-10=62'] Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,11 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,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,1,1 Current State: 11:[72, 15], Operations: ['2*5=10', '5+10=15'] Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,11 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,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,1,0 Current State: 11:[10, 77], Operations: ['2*5=10', '72+5=77'] Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,11 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: 11:[5, 5, 70], Operations: ['72-2=70'] Exploring Operation: 70-5=65, Resulting Numbers: [5, 65] Generated Node #0,3,0: 11:[5, 65] Operation: 70-5=65 Exploring Operation: 70/5=14, Resulting Numbers: [5, 14] Generated Node #0,3,1: 11:[5, 14] Operation: 70/5=14 Exploring Operation: 5+5=10, Resulting Numbers: [70, 10] Generated Node #0,3,2: 11:[70, 10] Operation: 5+5=10 Exploring Operation: 70/5=14, Resulting Numbers: [5, 14] Generated Node #0,3,3: 11:[5, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[5, 14], Operations: ['72-2=70', '70/5=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,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:[5, 14], Operations: ['72-2=70', '70/5=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,11 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,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,0 Current State: 11:[5, 65], Operations: ['72-2=70', '70-5=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 5*65=325, Resulting Numbers: [325] 325,11 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,11 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,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:[70, 10], Operations: ['72-2=70', '5+5=10'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,11 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: 11:[5, 31], Operations: ['72/2=36', '36-5=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,11 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[36, 10], Operations: ['72/2=36', '5+5=10'] Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,11 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[5, 31], Operations: ['72/2=36', '36-5=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[36, 1], Operations: ['72/2=36', '5/5=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 13, 65, 13, 82 ]
43
[ "65-13=52", "13+82=95", "95-52=43" ]
Current State: 43:[13, 65, 13, 82], Operations: [] Exploring Operation: 65-13=52, Resulting Numbers: [82, 52] Generated Node #2: [82, 52] from Operation: 65-13=52 Current State: 43:[82, 52], Operations: ['65-13=52'] Exploring Operation: 13+82=95, Resulting Numbers: [52, 95] Generated Node #3: [52, 95] from Operation: 13+82=95 Current State: 43:[52, 95], Operations: ['65-13=52', '13+82=95'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[13, 65, 13, 82], Operations: [] Exploring Operation: 13+13=26, Resulting Numbers: [65, 82, 26] Generated Node #0,0: 43:[65, 82, 26] Operation: 13+13=26 Exploring Operation: 65-13=52, Resulting Numbers: [13, 82, 52] Generated Node #0,1: 43:[13, 82, 52] Operation: 65-13=52 Moving to Node #0,0 Current State: 43:[65, 82, 26], Operations: ['13+13=26'] Exploring Operation: 82-26=56, Resulting Numbers: [65, 56] Generated Node #0,0,0: 43:[65, 56] Operation: 82-26=56 Exploring Operation: 82-65=17, Resulting Numbers: [26, 17] Generated Node #0,0,1: 43:[26, 17] Operation: 82-65=17 Moving to Node #0,1 Current State: 43:[13, 82, 52], Operations: ['65-13=52'] Exploring Operation: 82-13=69, Resulting Numbers: [52, 69] Generated Node #0,1,0: 43:[52, 69] Operation: 82-13=69 Exploring Operation: 52-13=39, Resulting Numbers: [82, 39] Generated Node #0,1,1: 43:[82, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[52, 69], Operations: ['65-13=52', '82-13=69'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[82, 39], Operations: ['65-13=52', '52-13=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[13, 65, 13, 82], Operations: [] Exploring Operation: 65-13=52, Resulting Numbers: [13, 82, 52] Generated Node #0,1: 43:[13, 82, 52] Operation: 65-13=52 Moving to Node #0,1 Current State: 43:[13, 82, 52], Operations: ['65-13=52'] Exploring Operation: 52-13=39, Resulting Numbers: [82, 39] Generated Node #0,1,1: 43:[82, 39] Operation: 52-13=39 Moving to Node #0,1,1 Current State: 43:[82, 39], Operations: ['65-13=52', '52-13=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 34, 44, 68, 68 ]
40
[ "68+68=136", "136/34=4", "44-4=40" ]
Current State: 40:[34, 44, 68, 68], Operations: [] Exploring Operation: 68+68=136, Resulting Numbers: [34, 44, 136] Generated Node #2: [34, 44, 136] from Operation: 68+68=136 Current State: 40:[34, 44, 136], Operations: ['68+68=136'] Exploring Operation: 136/34=4, Resulting Numbers: [44, 4] Generated Node #3: [44, 4] from Operation: 136/34=4 Current State: 40:[44, 4], Operations: ['68+68=136', '136/34=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[34, 44, 68, 68], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [44, 68, 2] Generated Node #0,0: 40:[44, 68, 2] Operation: 68/34=2 Exploring Operation: 68/34=2, Resulting Numbers: [44, 68, 2] Generated Node #0,1: 40:[44, 68, 2] Operation: 68/34=2 Exploring Operation: 68-68=0, Resulting Numbers: [34, 44, 0] Generated Node #0,2: 40:[34, 44, 0] Operation: 68-68=0 Exploring Operation: 68/68=1, Resulting Numbers: [34, 44, 1] Generated Node #0,3: 40:[34, 44, 1] Operation: 68/68=1 Moving to Node #0,3 Current State: 40:[34, 44, 1], Operations: ['68/68=1'] Exploring Operation: 44-1=43, Resulting Numbers: [34, 43] Generated Node #0,3,0: 40:[34, 43] Operation: 44-1=43 Exploring Operation: 34+1=35, Resulting Numbers: [44, 35] Generated Node #0,3,1: 40:[44, 35] Operation: 34+1=35 Exploring Operation: 44-34=10, Resulting Numbers: [1, 10] Generated Node #0,3,2: 40:[1, 10] Operation: 44-34=10 Exploring Operation: 34*1=34, Resulting Numbers: [44, 34] Generated Node #0,3,3: 40:[44, 34] Operation: 34*1=34 Moving to Node #0,2 Current State: 40:[34, 44, 0], Operations: ['68-68=0'] Exploring Operation: 34+0=34, Resulting Numbers: [44, 34] Generated Node #0,2,0: 40:[44, 34] Operation: 34+0=34 Exploring Operation: 34*0=0, Resulting Numbers: [44, 0] Generated Node #0,2,1: 40:[44, 0] Operation: 34*0=0 Exploring Operation: 44*0=0, Resulting Numbers: [34, 0] Generated Node #0,2,2: 40:[34, 0] Operation: 44*0=0 Exploring Operation: 44-34=10, Resulting Numbers: [0, 10] Generated Node #0,2,3: 40:[0, 10] Operation: 44-34=10 Moving to Node #0,1 Current State: 40:[44, 68, 2], Operations: ['68/34=2'] Exploring Operation: 44/2=22, Resulting Numbers: [68, 22] Generated Node #0,1,0: 40:[68, 22] Operation: 44/2=22 Exploring Operation: 44-2=42, Resulting Numbers: [68, 42] Generated Node #0,1,1: 40:[68, 42] Operation: 44-2=42 Exploring Operation: 68/2=34, Resulting Numbers: [44, 34] Generated Node #0,1,2: 40:[44, 34] Operation: 68/2=34 Exploring Operation: 68-44=24, Resulting Numbers: [2, 24] Generated Node #0,1,3: 40:[2, 24] Operation: 68-44=24 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[2, 24], Operations: ['68/34=2', '68-44=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,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,2 Current State: 40:[44, 34], Operations: ['68/34=2', '68/2=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,40 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,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,0 Current State: 40:[68, 22], Operations: ['68/34=2', '44/2=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[68, 42], Operations: ['68/34=2', '44-2=42'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,40 unequal: No Solution Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,40 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: 40:[44, 68, 2], Operations: ['68/34=2'] Exploring Operation: 68/2=34, Resulting Numbers: [44, 34] Generated Node #0,0,0: 40:[44, 34] Operation: 68/2=34 Exploring Operation: 44-2=42, Resulting Numbers: [68, 42] Generated Node #0,0,1: 40:[68, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [68, 22] Generated Node #0,0,2: 40:[68, 22] Operation: 44/2=22 Exploring Operation: 68-44=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 40:[2, 24] Operation: 68-44=24 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[2, 24], Operations: ['68/34=2', '68-44=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,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,0 Current State: 40:[44, 34], Operations: ['68/34=2', '68/2=34'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,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,1 Current State: 40:[68, 42], Operations: ['68/34=2', '44-2=42'] Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,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,2 Current State: 40:[68, 22], Operations: ['68/34=2', '44/2=22'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,40 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,40 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: 40:[1, 10], Operations: ['68/68=1', '44-34=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[0, 10], Operations: ['68-68=0', '44-34=10'] Exploring Operation: 0+10=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 0*10=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[44, 0], Operations: ['68-68=0', '34*0=0'] Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 44*0=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[34, 0], Operations: ['68-68=0', '44*0=0'] Exploring Operation: 34*0=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[44, 35], Operations: ['68/68=1', '34+1=35'] Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,40 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,40 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[34, 43], Operations: ['68/68=1', '44-1=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,40 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[44, 34], Operations: ['68/68=1', '34*1=34'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[44, 34], Operations: ['68-68=0', '34+0=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,40 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 79, 81, 53, 96 ]
10
[ "81-79=2", "53*2=106", "106-96=10" ]
Current State: 10:[79, 81, 53, 96], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [53, 96, 2] Generated Node #2: [53, 96, 2] from Operation: 81-79=2 Current State: 10:[53, 96, 2], Operations: ['81-79=2'] Exploring Operation: 53*2=106, Resulting Numbers: [96, 106] Generated Node #3: [96, 106] from Operation: 53*2=106 Current State: 10:[96, 106], Operations: ['81-79=2', '53*2=106'] Exploring Operation: 106-96=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[79, 81, 53, 96], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [53, 96, 2] Generated Node #0,0: 10:[53, 96, 2] Operation: 81-79=2 Exploring Operation: 96-79=17, Resulting Numbers: [81, 53, 17] Generated Node #0,1: 10:[81, 53, 17] Operation: 96-79=17 Exploring Operation: 96-81=15, Resulting Numbers: [79, 53, 15] Generated Node #0,2: 10:[79, 53, 15] Operation: 96-81=15 Exploring Operation: 79-53=26, Resulting Numbers: [81, 96, 26] Generated Node #0,3: 10:[81, 96, 26] Operation: 79-53=26 Moving to Node #0,2 Current State: 10:[79, 53, 15], Operations: ['96-81=15'] Exploring Operation: 79+53=132, Resulting Numbers: [15, 132] Generated Node #0,2,0: 10:[15, 132] Operation: 79+53=132 Exploring Operation: 53-15=38, Resulting Numbers: [79, 38] Generated Node #0,2,1: 10:[79, 38] Operation: 53-15=38 Exploring Operation: 79-53=26, Resulting Numbers: [15, 26] Generated Node #0,2,2: 10:[15, 26] Operation: 79-53=26 Exploring Operation: 79-15=64, Resulting Numbers: [53, 64] Generated Node #0,2,3: 10:[53, 64] Operation: 79-15=64 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[15, 26], Operations: ['96-81=15', '79-53=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[79, 38], Operations: ['96-81=15', '53-15=38'] Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[53, 64], Operations: ['96-81=15', '79-15=64'] Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,10 unequal: No Solution Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[15, 132], Operations: ['96-81=15', '79+53=132'] Exploring Operation: 15*132=1980, Resulting Numbers: [1980] 1980,10 unequal: No Solution Exploring Operation: 132-15=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 15+132=147, Resulting Numbers: [147] 147,10 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: 10:[81, 53, 17], Operations: ['96-79=17'] Exploring Operation: 81-53=28, Resulting Numbers: [17, 28] Generated Node #0,1,0: 10:[17, 28] Operation: 81-53=28 Exploring Operation: 81-17=64, Resulting Numbers: [53, 64] Generated Node #0,1,1: 10:[53, 64] Operation: 81-17=64 Exploring Operation: 81+53=134, Resulting Numbers: [17, 134] Generated Node #0,1,2: 10:[17, 134] Operation: 81+53=134 Exploring Operation: 53-17=36, Resulting Numbers: [81, 36] Generated Node #0,1,3: 10:[81, 36] Operation: 53-17=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[17, 28], Operations: ['96-79=17', '81-53=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,10 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[53, 64], Operations: ['96-79=17', '81-17=64'] Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,10 unequal: No Solution Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[81, 36], Operations: ['96-79=17', '53-17=36'] Exploring Operation: 81+36=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 81*36=2916, Resulting Numbers: [2916] 2916,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[17, 134], Operations: ['96-79=17', '81+53=134'] Exploring Operation: 17*134=2278, Resulting Numbers: [2278] 2278,10 unequal: No Solution Exploring Operation: 17+134=151, Resulting Numbers: [151] 151,10 unequal: No Solution Exploring Operation: 134-17=117, Resulting Numbers: [117] 117,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[53, 96, 2], Operations: ['81-79=2'] Exploring Operation: 53-2=51, Resulting Numbers: [96, 51] Generated Node #0,0,0: 10:[96, 51] Operation: 53-2=51 Exploring Operation: 96-53=43, Resulting Numbers: [2, 43] Generated Node #0,0,1: 10:[2, 43] Operation: 96-53=43 Exploring Operation: 96-2=94, Resulting Numbers: [53, 94] Generated Node #0,0,2: 10:[53, 94] Operation: 96-2=94 Exploring Operation: 96/2=48, Resulting Numbers: [53, 48] Generated Node #0,0,3: 10:[53, 48] Operation: 96/2=48 Moving to Node #0,3 Current State: 10:[81, 96, 26], Operations: ['79-53=26'] Exploring Operation: 96-26=70, Resulting Numbers: [81, 70] Generated Node #0,3,0: 10:[81, 70] Operation: 96-26=70 Exploring Operation: 81+96=177, Resulting Numbers: [26, 177] Generated Node #0,3,1: 10:[26, 177] Operation: 81+96=177 Exploring Operation: 81-26=55, Resulting Numbers: [96, 55] Generated Node #0,3,2: 10:[96, 55] Operation: 81-26=55 Exploring Operation: 96-81=15, Resulting Numbers: [26, 15] Generated Node #0,3,3: 10:[26, 15] Operation: 96-81=15 Moving to Node #0,3,3 Current State: 10:[26, 15], Operations: ['79-53=26', '96-81=15'] Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,10 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[2, 43], Operations: ['81-79=2', '96-53=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,10 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[53, 48], Operations: ['81-79=2', '96/2=48'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,10 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[96, 51], Operations: ['81-79=2', '53-2=51'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,10 unequal: No Solution Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[53, 94], Operations: ['81-79=2', '96-2=94'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 53*94=4982, Resulting Numbers: [4982] 4982,10 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[81, 70], Operations: ['79-53=26', '96-26=70'] Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,10 unequal: No Solution Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,10 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[96, 55], Operations: ['79-53=26', '81-26=55'] Exploring Operation: 96*55=5280, Resulting Numbers: [5280] 5280,10 unequal: No Solution Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 96+55=151, Resulting Numbers: [151] 151,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[26, 177], Operations: ['79-53=26', '81+96=177'] Exploring Operation: 177-26=151, Resulting Numbers: [151] 151,10 unequal: No Solution Exploring Operation: 26+177=203, Resulting Numbers: [203] 203,10 unequal: No Solution Exploring Operation: 26*177=4602, Resulting Numbers: [4602] 4602,10 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 61, 79, 84 ]
14
[ "12+61=73", "79-73=6", "84/6=14" ]
Current State: 14:[12, 61, 79, 84], Operations: [] Exploring Operation: 12+61=73, Resulting Numbers: [79, 84, 73] Generated Node #2: [79, 84, 73] from Operation: 12+61=73 Current State: 14:[79, 84, 73], Operations: ['12+61=73'] Exploring Operation: 79-73=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 79-73=6 Current State: 14:[84, 6], Operations: ['12+61=73', '79-73=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[12, 61, 79, 84], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [12, 84, 18] Generated Node #0,0: 14:[12, 84, 18] Operation: 79-61=18 Exploring Operation: 84-79=5, Resulting Numbers: [12, 61, 5] Generated Node #0,1: 14:[12, 61, 5] Operation: 84-79=5 Exploring Operation: 84-61=23, Resulting Numbers: [12, 79, 23] Generated Node #0,2: 14:[12, 79, 23] Operation: 84-61=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[12, 61, 5], Operations: ['84-79=5'] Exploring Operation: 61-5=56, Resulting Numbers: [12, 56] Generated Node #0,1,0: 14:[12, 56] Operation: 61-5=56 Exploring Operation: 12-5=7, Resulting Numbers: [61, 7] Generated Node #0,1,1: 14:[61, 7] Operation: 12-5=7 Exploring Operation: 61-12=49, Resulting Numbers: [5, 49] Generated Node #0,1,2: 14:[5, 49] Operation: 61-12=49 Moving to Node #0,1,2 Current State: 14:[5, 49], Operations: ['84-79=5', '61-12=49'] Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,14 unequal: No Solution Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[12, 56], Operations: ['84-79=5', '61-5=56'] Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 12*56=672, Resulting Numbers: [672] 672,14 unequal: No Solution Exploring Operation: 12+56=68, Resulting Numbers: [68] 68,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[61, 7], Operations: ['84-79=5', '12-5=7'] Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,14 unequal: No Solution Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[12, 84, 18], Operations: ['79-61=18'] Exploring Operation: 84-18=66, Resulting Numbers: [12, 66] Generated Node #0,0,0: 14:[12, 66] Operation: 84-18=66 Exploring Operation: 84-12=72, Resulting Numbers: [18, 72] Generated Node #0,0,1: 14:[18, 72] Operation: 84-12=72 Exploring Operation: 84/12=7, Resulting Numbers: [18, 7] Generated Node #0,0,2: 14:[18, 7] Operation: 84/12=7 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[18, 7], Operations: ['79-61=18', '84/12=7'] Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,14 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[12, 66], Operations: ['79-61=18', '84-18=66'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,14 unequal: No Solution Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[18, 72], Operations: ['79-61=18', '84-12=72'] Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,14 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[12, 79, 23], Operations: ['84-61=23'] Exploring Operation: 79-23=56, Resulting Numbers: [12, 56] Generated Node #0,2,0: 14:[12, 56] Operation: 79-23=56 Exploring Operation: 23-12=11, Resulting Numbers: [79, 11] Generated Node #0,2,1: 14:[79, 11] Operation: 23-12=11 Exploring Operation: 79-12=67, Resulting Numbers: [23, 67] Generated Node #0,2,2: 14:[23, 67] Operation: 79-12=67 Moving to Node #0,2,0 Current State: 14:[12, 56], Operations: ['84-61=23', '79-23=56'] Exploring Operation: 12*56=672, Resulting Numbers: [672] 672,14 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 12+56=68, Resulting Numbers: [68] 68,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[23, 67], Operations: ['84-61=23', '79-12=67'] Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,14 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,14 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[79, 11], Operations: ['84-61=23', '23-12=11'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,14 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,14 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
[ 22, 3, 12, 21 ]
19
[ "21-12=9", "9/3=3", "22-3=19" ]
Current State: 19:[22, 3, 12, 21], Operations: [] Exploring Operation: 21-12=9, Resulting Numbers: [22, 3, 9] Generated Node #2: [22, 3, 9] from Operation: 21-12=9 Current State: 19:[22, 3, 9], Operations: ['21-12=9'] Exploring Operation: 9/3=3, Resulting Numbers: [22, 3] Generated Node #3: [22, 3] from Operation: 9/3=3 Current State: 19:[22, 3], Operations: ['21-12=9', '9/3=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[22, 3, 12, 21], Operations: [] Exploring Operation: 21-3=18, Resulting Numbers: [22, 12, 18] Generated Node #0,0: 19:[22, 12, 18] Operation: 21-3=18 Exploring Operation: 3+12=15, Resulting Numbers: [22, 21, 15] Generated Node #0,1: 19:[22, 21, 15] Operation: 3+12=15 Exploring Operation: 22-3=19, Resulting Numbers: [12, 21, 19] Generated Node #0,2: 19:[12, 21, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[22, 21, 15], Operations: ['3+12=15'] Exploring Operation: 22-15=7, Resulting Numbers: [21, 7] Generated Node #0,1,0: 19:[21, 7] Operation: 22-15=7 Exploring Operation: 21-15=6, Resulting Numbers: [22, 6] Generated Node #0,1,1: 19:[22, 6] Operation: 21-15=6 Exploring Operation: 22+15=37, Resulting Numbers: [21, 37] Generated Node #0,1,2: 19:[21, 37] Operation: 22+15=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[21, 7], Operations: ['3+12=15', '22-15=7'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,19 unequal: No Solution No 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: 19:[22, 6], Operations: ['3+12=15', '21-15=6'] Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,19 unequal: No Solution No 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: 19:[21, 37], Operations: ['3+12=15', '22+15=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,19 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: 19:[12, 21, 19], Operations: ['22-3=19'] Exploring Operation: 21-12=9, Resulting Numbers: [19, 9] Generated Node #0,2,0: 19:[19, 9] Operation: 21-12=9 Exploring Operation: 12+19=31, Resulting Numbers: [21, 31] Generated Node #0,2,1: 19:[21, 31] Operation: 12+19=31 Exploring Operation: 12+21=33, Resulting Numbers: [19, 33] Generated Node #0,2,2: 19:[19, 33] Operation: 12+21=33 Moving to Node #0,2,0 Current State: 19:[19, 9], Operations: ['22-3=19', '21-12=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[21, 31], Operations: ['22-3=19', '12+19=31'] Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,19 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[19, 33], Operations: ['22-3=19', '12+21=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,19 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[22, 12, 18], Operations: ['21-3=18'] Exploring Operation: 12+18=30, Resulting Numbers: [22, 30] Generated Node #0,0,0: 19:[22, 30] Operation: 12+18=30 Exploring Operation: 22-12=10, Resulting Numbers: [18, 10] Generated Node #0,0,1: 19:[18, 10] Operation: 22-12=10 Exploring Operation: 22+12=34, Resulting Numbers: [18, 34] Generated Node #0,0,2: 19:[18, 34] Operation: 22+12=34 Moving to Node #0,0,1 Current State: 19:[18, 10], Operations: ['21-3=18', '22-12=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[22, 30], Operations: ['21-3=18', '12+18=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[18, 34], Operations: ['21-3=18', '22+12=34'] Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 16, 72, 90, 2 ]
40
[ "16*90=1440", "72/2=36", "1440/36=40" ]
Current State: 40:[16, 72, 90, 2], Operations: [] Exploring Operation: 16*90=1440, Resulting Numbers: [72, 2, 1440] Generated Node #2: [72, 2, 1440] from Operation: 16*90=1440 Current State: 40:[72, 2, 1440], Operations: ['16*90=1440'] Exploring Operation: 72/2=36, Resulting Numbers: [1440, 36] Generated Node #3: [1440, 36] from Operation: 72/2=36 Current State: 40:[1440, 36], Operations: ['16*90=1440', '72/2=36'] Exploring Operation: 1440/36=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[16, 72, 90, 2], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [16, 72, 45] Generated Node #0,0: 40:[16, 72, 45] Operation: 90/2=45 Exploring Operation: 90-72=18, Resulting Numbers: [16, 2, 18] Generated Node #0,1: 40:[16, 2, 18] Operation: 90-72=18 Moving to Node #0,1 Current State: 40:[16, 2, 18], Operations: ['90-72=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 40:[2, 2] Operation: 18-16=2 Exploring Operation: 16/2=8, Resulting Numbers: [18, 8] Generated Node #0,1,1: 40:[18, 8] Operation: 16/2=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[2, 2], Operations: ['90-72=18', '18-16=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[18, 8], Operations: ['90-72=18', '16/2=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,40 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: 40:[16, 72, 45], Operations: ['90/2=45'] Exploring Operation: 72-45=27, Resulting Numbers: [16, 27] Generated Node #0,0,0: 40:[16, 27] Operation: 72-45=27 Exploring Operation: 72-16=56, Resulting Numbers: [45, 56] Generated Node #0,0,1: 40:[45, 56] Operation: 72-16=56 Moving to Node #0,0,0 Current State: 40:[16, 27], Operations: ['90/2=45', '72-45=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[45, 56], Operations: ['90/2=45', '72-16=56'] Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,40 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 32, 55, 74, 18 ]
32
[ "74-55=19", "19-18=1", "32*1=32" ]
Current State: 32:[32, 55, 74, 18], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [32, 18, 19] Generated Node #2: [32, 18, 19] from Operation: 74-55=19 Current State: 32:[32, 18, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 19-18=1 Current State: 32:[32, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[32, 55, 74, 18], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [55, 18, 42] Generated Node #0,0: 32:[55, 18, 42] Operation: 74-32=42 Exploring Operation: 74-55=19, Resulting Numbers: [32, 18, 19] Generated Node #0,1: 32:[32, 18, 19] Operation: 74-55=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[32, 18, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [32, 1] Generated Node #0,1,0: 32:[32, 1] Operation: 19-18=1 Exploring Operation: 32-18=14, Resulting Numbers: [19, 14] Generated Node #0,1,1: 32:[19, 14] Operation: 32-18=14 Moving to Node #0,1,0 Current State: 32:[32, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[32, 55, 74, 18], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [32, 18, 19] Generated Node #0,1: 32:[32, 18, 19] Operation: 74-55=19 Moving to Node #0,1 Current State: 32:[32, 18, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [32, 1] Generated Node #0,1,0: 32:[32, 1] Operation: 19-18=1 Moving to Node #0,1,0 Current State: 32:[32, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 61, 67, 45, 75 ]
10
[ "67-61=6", "75*6=450", "450/45=10" ]
Current State: 10:[61, 67, 45, 75], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [45, 75, 6] Generated Node #2: [45, 75, 6] from Operation: 67-61=6 Current State: 10:[45, 75, 6], Operations: ['67-61=6'] Exploring Operation: 75*6=450, Resulting Numbers: [45, 450] Generated Node #3: [45, 450] from Operation: 75*6=450 Current State: 10:[45, 450], Operations: ['67-61=6', '75*6=450'] Exploring Operation: 450/45=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[61, 67, 45, 75], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [67, 45, 14] Generated Node #0,0: 10:[67, 45, 14] Operation: 75-61=14 Exploring Operation: 67-61=6, Resulting Numbers: [45, 75, 6] Generated Node #0,1: 10:[45, 75, 6] Operation: 67-61=6 Exploring Operation: 75-67=8, Resulting Numbers: [61, 45, 8] Generated Node #0,2: 10:[61, 45, 8] Operation: 75-67=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[61, 45, 8], Operations: ['75-67=8'] Exploring Operation: 61-8=53, Resulting Numbers: [45, 53] Generated Node #0,2,0: 10:[45, 53] Operation: 61-8=53 Exploring Operation: 61-45=16, Resulting Numbers: [8, 16] Generated Node #0,2,1: 10:[8, 16] Operation: 61-45=16 Exploring Operation: 45-8=37, Resulting Numbers: [61, 37] Generated Node #0,2,2: 10:[61, 37] Operation: 45-8=37 Moving to Node #0,2,1 Current State: 10:[8, 16], Operations: ['75-67=8', '61-45=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[45, 53], Operations: ['75-67=8', '61-8=53'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 45*53=2385, Resulting Numbers: [2385] 2385,10 unequal: No Solution Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[61, 37], Operations: ['75-67=8', '45-8=37'] Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,10 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[67, 45, 14], Operations: ['75-61=14'] Exploring Operation: 45-14=31, Resulting Numbers: [67, 31] Generated Node #0,0,0: 10:[67, 31] Operation: 45-14=31 Exploring Operation: 67-45=22, Resulting Numbers: [14, 22] Generated Node #0,0,1: 10:[14, 22] Operation: 67-45=22 Exploring Operation: 67-14=53, Resulting Numbers: [45, 53] Generated Node #0,0,2: 10:[45, 53] Operation: 67-14=53 Moving to Node #0,0,1 Current State: 10:[14, 22], Operations: ['75-61=14', '67-45=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[67, 31], Operations: ['75-61=14', '45-14=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,10 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[45, 53], Operations: ['75-61=14', '67-14=53'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,10 unequal: No Solution Exploring Operation: 45*53=2385, Resulting Numbers: [2385] 2385,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[45, 75, 6], Operations: ['67-61=6'] Exploring Operation: 75-45=30, Resulting Numbers: [6, 30] Generated Node #0,1,0: 10:[6, 30] Operation: 75-45=30 Exploring Operation: 75-6=69, Resulting Numbers: [45, 69] Generated Node #0,1,1: 10:[45, 69] Operation: 75-6=69 Exploring Operation: 45-6=39, Resulting Numbers: [75, 39] Generated Node #0,1,2: 10:[75, 39] Operation: 45-6=39 Moving to Node #0,1,0 Current State: 10:[6, 30], Operations: ['67-61=6', '75-45=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[45, 69], Operations: ['67-61=6', '75-6=69'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,10 unequal: No Solution Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[75, 39], Operations: ['67-61=6', '45-6=39'] Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,10 unequal: No Solution Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 70, 51, 76, 12 ]
49
[ "76-70=6", "12/6=2", "51-2=49" ]
Current State: 49:[70, 51, 76, 12], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [51, 12, 6] Generated Node #2: [51, 12, 6] from Operation: 76-70=6 Current State: 49:[51, 12, 6], Operations: ['76-70=6'] Exploring Operation: 12/6=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 12/6=2 Current State: 49:[51, 2], Operations: ['76-70=6', '12/6=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[70, 51, 76, 12], Operations: [] Exploring Operation: 70-12=58, Resulting Numbers: [51, 76, 58] Generated Node #0,0: 49:[51, 76, 58] Operation: 70-12=58 Exploring Operation: 76-70=6, Resulting Numbers: [51, 12, 6] Generated Node #0,1: 49:[51, 12, 6] Operation: 76-70=6 Exploring Operation: 76-12=64, Resulting Numbers: [70, 51, 64] Generated Node #0,2: 49:[70, 51, 64] Operation: 76-12=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[51, 12, 6], Operations: ['76-70=6'] Exploring Operation: 51-6=45, Resulting Numbers: [12, 45] Generated Node #0,1,0: 49:[12, 45] Operation: 51-6=45 Exploring Operation: 12/6=2, Resulting Numbers: [51, 2] Generated Node #0,1,1: 49:[51, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [51, 6] Generated Node #0,1,2: 49:[51, 6] Operation: 12-6=6 Moving to Node #0,1,2 Current State: 49:[51, 6], Operations: ['76-70=6', '12-6=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,49 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[51, 2], Operations: ['76-70=6', '12/6=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[70, 51, 76, 12], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [51, 12, 6] Generated Node #0,1: 49:[51, 12, 6] Operation: 76-70=6 Moving to Node #0,1 Current State: 49:[51, 12, 6], Operations: ['76-70=6'] Exploring Operation: 12/6=2, Resulting Numbers: [51, 2] Generated Node #0,1,1: 49:[51, 2] Operation: 12/6=2 Moving to Node #0,1,1 Current State: 49:[51, 2], Operations: ['76-70=6', '12/6=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 55, 5, 32, 2 ]
53
[ "55/5=11", "32*2=64", "64-11=53" ]
Current State: 53:[55, 5, 32, 2], Operations: [] Exploring Operation: 55/5=11, Resulting Numbers: [32, 2, 11] Generated Node #2: [32, 2, 11] from Operation: 55/5=11 Current State: 53:[32, 2, 11], Operations: ['55/5=11'] Exploring Operation: 32*2=64, Resulting Numbers: [11, 64] Generated Node #3: [11, 64] from Operation: 32*2=64 Current State: 53:[11, 64], Operations: ['55/5=11', '32*2=64'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[55, 5, 32, 2], Operations: [] Exploring Operation: 5+2=7, Resulting Numbers: [55, 32, 7] Generated Node #0,0: 53:[55, 32, 7] Operation: 5+2=7 Exploring Operation: 32*2=64, Resulting Numbers: [55, 5, 64] Generated Node #0,1: 53:[55, 5, 64] Operation: 32*2=64 Exploring Operation: 5*2=10, Resulting Numbers: [55, 32, 10] Generated Node #0,2: 53:[55, 32, 10] Operation: 5*2=10 Exploring Operation: 55-2=53, Resulting Numbers: [5, 32, 53] Generated Node #0,3: 53:[5, 32, 53] Operation: 55-2=53 Exploring Operation: 5+32=37, Resulting Numbers: [55, 2, 37] Generated Node #0,4: 53:[55, 2, 37] Operation: 5+32=37 Moving to Node #0,1 Current State: 53:[55, 5, 64], Operations: ['32*2=64'] Exploring Operation: 55/5=11, Resulting Numbers: [64, 11] Generated Node #0,1,0: 53:[64, 11] Operation: 55/5=11 Exploring Operation: 55+5=60, Resulting Numbers: [64, 60] Generated Node #0,1,1: 53:[64, 60] Operation: 55+5=60 Exploring Operation: 55-5=50, Resulting Numbers: [64, 50] Generated Node #0,1,2: 53:[64, 50] Operation: 55-5=50 Exploring Operation: 5+64=69, Resulting Numbers: [55, 69] Generated Node #0,1,3: 53:[55, 69] Operation: 5+64=69 Exploring Operation: 64-5=59, Resulting Numbers: [55, 59] Generated Node #0,1,4: 53:[55, 59] Operation: 64-5=59 Moving to Node #0,2 Current State: 53:[55, 32, 10], Operations: ['5*2=10'] Exploring Operation: 55-32=23, Resulting Numbers: [10, 23] Generated Node #0,2,0: 53:[10, 23] Operation: 55-32=23 Exploring Operation: 32-10=22, Resulting Numbers: [55, 22] Generated Node #0,2,1: 53:[55, 22] Operation: 32-10=22 Exploring Operation: 55+10=65, Resulting Numbers: [32, 65] Generated Node #0,2,2: 53:[32, 65] Operation: 55+10=65 Exploring Operation: 32+10=42, Resulting Numbers: [55, 42] Generated Node #0,2,3: 53:[55, 42] Operation: 32+10=42 Exploring Operation: 55-10=45, Resulting Numbers: [32, 45] Generated Node #0,2,4: 53:[32, 45] Operation: 55-10=45 Moving to Node #0,0 Current State: 53:[55, 32, 7], Operations: ['5+2=7'] Exploring Operation: 55-32=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 53:[7, 23] Operation: 55-32=23 Exploring Operation: 32+7=39, Resulting Numbers: [55, 39] Generated Node #0,0,1: 53:[55, 39] Operation: 32+7=39 Exploring Operation: 55+7=62, Resulting Numbers: [32, 62] Generated Node #0,0,2: 53:[32, 62] Operation: 55+7=62 Exploring Operation: 32-7=25, Resulting Numbers: [55, 25] Generated Node #0,0,3: 53:[55, 25] Operation: 32-7=25 Exploring Operation: 55-7=48, Resulting Numbers: [32, 48] Generated Node #0,0,4: 53:[32, 48] Operation: 55-7=48 Moving to Node #0,3 Current State: 53:[5, 32, 53], Operations: ['55-2=53'] Exploring Operation: 5+32=37, Resulting Numbers: [53, 37] Generated Node #0,3,0: 53:[53, 37] Operation: 5+32=37 Exploring Operation: 53-5=48, Resulting Numbers: [32, 48] Generated Node #0,3,1: 53:[32, 48] Operation: 53-5=48 Exploring Operation: 32+53=85, Resulting Numbers: [5, 85] Generated Node #0,3,2: 53:[5, 85] Operation: 32+53=85 Exploring Operation: 5+53=58, Resulting Numbers: [32, 58] Generated Node #0,3,3: 53:[32, 58] Operation: 5+53=58 Exploring Operation: 32-5=27, Resulting Numbers: [53, 27] Generated Node #0,3,4: 53:[53, 27] Operation: 32-5=27 Moving to Node #0,4 Current State: 53:[55, 2, 37], Operations: ['5+32=37'] Exploring Operation: 37-2=35, Resulting Numbers: [55, 35] Generated Node #0,4,0: 53:[55, 35] Operation: 37-2=35 Exploring Operation: 2+37=39, Resulting Numbers: [55, 39] Generated Node #0,4,1: 53:[55, 39] Operation: 2+37=39 Exploring Operation: 55+2=57, Resulting Numbers: [37, 57] Generated Node #0,4,2: 53:[37, 57] Operation: 55+2=57 Exploring Operation: 55-2=53, Resulting Numbers: [37, 53] Generated Node #0,4,3: 53:[37, 53] Operation: 55-2=53 Exploring Operation: 2*37=74, Resulting Numbers: [55, 74] Generated Node #0,4,4: 53:[55, 74] Operation: 2*37=74 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[55, 39], Operations: ['5+32=37', '2+37=39'] Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,53 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[37, 53], Operations: ['5+32=37', '55-2=53'] Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,53 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[55, 35], Operations: ['5+32=37', '37-2=35'] Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,53 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[37, 57], Operations: ['5+32=37', '55+2=57'] Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 37+57=94, Resulting Numbers: [94] 94,53 unequal: No Solution Exploring Operation: 37*57=2109, Resulting Numbers: [2109] 2109,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[55, 74], Operations: ['5+32=37', '2*37=74'] Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 55*74=4070, Resulting Numbers: [4070] 4070,53 unequal: No Solution Exploring Operation: 55+74=129, Resulting Numbers: [129] 129,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 53:[55, 59], Operations: ['32*2=64', '64-5=59'] Exploring Operation: 55*59=3245, Resulting Numbers: [3245] 3245,53 unequal: No Solution Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,53 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[55, 42], Operations: ['5*2=10', '32+10=42'] Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,53 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[64, 50], Operations: ['32*2=64', '55-5=50'] Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,53 unequal: No Solution Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,53 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[55, 39], Operations: ['5+2=7', '32+7=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,53 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[53, 37], Operations: ['55-2=53', '5+32=37'] Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,53 unequal: No Solution Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[64, 60], Operations: ['32*2=64', '55+5=60'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,53 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[55, 69], Operations: ['32*2=64', '5+64=69'] Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,53 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[32, 48], Operations: ['5+2=7', '55-7=48'] Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,53 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[53, 27], Operations: ['55-2=53', '32-5=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[32, 58], Operations: ['55-2=53', '5+53=58'] Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[32, 48], Operations: ['55-2=53', '53-5=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,53 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[32, 45], Operations: ['5*2=10', '55-10=45'] Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,53 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[55, 25], Operations: ['5+2=7', '32-7=25'] Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,53 unequal: No Solution Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[32, 62], Operations: ['5+2=7', '55+7=62'] Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,53 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[32, 65], Operations: ['5*2=10', '55+10=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,53 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[55, 22], Operations: ['5*2=10', '32-10=22'] Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,53 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,53 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[64, 11], Operations: ['32*2=64', '55/5=11'] Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,53 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[55, 5, 32, 2], Operations: [] Exploring Operation: 32*2=64, Resulting Numbers: [55, 5, 64] Generated Node #0,1: 53:[55, 5, 64] Operation: 32*2=64 Moving to Node #0,1 Current State: 53:[55, 5, 64], Operations: ['32*2=64'] Exploring Operation: 55/5=11, Resulting Numbers: [64, 11] Generated Node #0,1,0: 53:[64, 11] Operation: 55/5=11 Moving to Node #0,1,0 Current State: 53:[64, 11], Operations: ['32*2=64', '55/5=11'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.913194
hs_5
sum_heuristic
[ 80, 47, 51, 22 ]
45
[ "80+22=102", "102/51=2", "47-2=45" ]
Current State: 45:[80, 47, 51, 22], Operations: [] Exploring Operation: 80+22=102, Resulting Numbers: [47, 51, 102] Generated Node #2: [47, 51, 102] from Operation: 80+22=102 Current State: 45:[47, 51, 102], Operations: ['80+22=102'] Exploring Operation: 102/51=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 102/51=2 Current State: 45:[47, 2], Operations: ['80+22=102', '102/51=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[80, 47, 51, 22], Operations: [] Exploring Operation: 80-22=58, Resulting Numbers: [47, 51, 58] Generated Node #0,0: 45:[47, 51, 58] Operation: 80-22=58 Exploring Operation: 80-51=29, Resulting Numbers: [47, 22, 29] Generated Node #0,1: 45:[47, 22, 29] Operation: 80-51=29 Exploring Operation: 80-47=33, Resulting Numbers: [51, 22, 33] Generated Node #0,2: 45:[51, 22, 33] Operation: 80-47=33 Exploring Operation: 51-47=4, Resulting Numbers: [80, 22, 4] Generated Node #0,3: 45:[80, 22, 4] Operation: 51-47=4 Moving to Node #0,0 Current State: 45:[47, 51, 58], Operations: ['80-22=58'] Exploring Operation: 58-47=11, Resulting Numbers: [51, 11] Generated Node #0,0,0: 45:[51, 11] Operation: 58-47=11 Exploring Operation: 47+51=98, Resulting Numbers: [58, 98] Generated Node #0,0,1: 45:[58, 98] Operation: 47+51=98 Exploring Operation: 51-47=4, Resulting Numbers: [58, 4] Generated Node #0,0,2: 45:[58, 4] Operation: 51-47=4 Exploring Operation: 58-51=7, Resulting Numbers: [47, 7] Generated Node #0,0,3: 45:[47, 7] Operation: 58-51=7 Moving to Node #0,1 Current State: 45:[47, 22, 29], Operations: ['80-51=29'] Exploring Operation: 47-22=25, Resulting Numbers: [29, 25] Generated Node #0,1,0: 45:[29, 25] Operation: 47-22=25 Exploring Operation: 47-29=18, Resulting Numbers: [22, 18] Generated Node #0,1,1: 45:[22, 18] Operation: 47-29=18 Exploring Operation: 29-22=7, Resulting Numbers: [47, 7] Generated Node #0,1,2: 45:[47, 7] Operation: 29-22=7 Exploring Operation: 22+29=51, Resulting Numbers: [47, 51] Generated Node #0,1,3: 45:[47, 51] Operation: 22+29=51 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[47, 7], Operations: ['80-51=29', '29-22=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[47, 51], Operations: ['80-51=29', '22+29=51'] Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,45 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[22, 18], Operations: ['80-51=29', '47-29=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[29, 25], Operations: ['80-51=29', '47-22=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,45 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 45:[51, 22, 33], Operations: ['80-47=33'] Exploring Operation: 51-22=29, Resulting Numbers: [33, 29] Generated Node #0,2,0: 45:[33, 29] Operation: 51-22=29 Exploring Operation: 33-22=11, Resulting Numbers: [51, 11] Generated Node #0,2,1: 45:[51, 11] Operation: 33-22=11 Exploring Operation: 22+33=55, Resulting Numbers: [51, 55] Generated Node #0,2,2: 45:[51, 55] Operation: 22+33=55 Exploring Operation: 51-33=18, Resulting Numbers: [22, 18] Generated Node #0,2,3: 45:[22, 18] Operation: 51-33=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[51, 11], Operations: ['80-47=33', '33-22=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,45 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[22, 18], Operations: ['80-47=33', '51-33=18'] Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,45 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[51, 55], Operations: ['80-47=33', '22+33=55'] Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,45 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[33, 29], Operations: ['80-47=33', '51-22=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 45:[80, 22, 4], Operations: ['51-47=4'] Exploring Operation: 22-4=18, Resulting Numbers: [80, 18] Generated Node #0,3,0: 45:[80, 18] Operation: 22-4=18 Exploring Operation: 80-4=76, Resulting Numbers: [22, 76] Generated Node #0,3,1: 45:[22, 76] Operation: 80-4=76 Exploring Operation: 80/4=20, Resulting Numbers: [22, 20] Generated Node #0,3,2: 45:[22, 20] Operation: 80/4=20 Exploring Operation: 80-22=58, Resulting Numbers: [4, 58] Generated Node #0,3,3: 45:[4, 58] Operation: 80-22=58 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 45:[22, 20], Operations: ['51-47=4', '80/4=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[4, 58], Operations: ['51-47=4', '80-22=58'] Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,45 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 45:[80, 18], Operations: ['51-47=4', '22-4=18'] Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,45 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,45 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 45:[22, 76], Operations: ['51-47=4', '80-4=76'] Exploring Operation: 22+76=98, Resulting Numbers: [98] 98,45 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 22*76=1672, Resulting Numbers: [1672] 1672,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 45:[47, 7], Operations: ['80-22=58', '58-51=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,45 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[51, 11], Operations: ['80-22=58', '58-47=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,45 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[58, 4], Operations: ['80-22=58', '51-47=4'] Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,45 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[58, 98], Operations: ['80-22=58', '47+51=98'] Exploring Operation: 98-58=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 58*98=5684, Resulting Numbers: [5684] 5684,45 unequal: No Solution Exploring Operation: 58+98=156, Resulting Numbers: [156] 156,45 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 79, 23, 3, 52 ]
81
[ "23+3=26", "52/26=2", "79+2=81" ]
Current State: 81:[79, 23, 3, 52], Operations: [] Exploring Operation: 23+3=26, Resulting Numbers: [79, 52, 26] Generated Node #2: [79, 52, 26] from Operation: 23+3=26 Current State: 81:[79, 52, 26], Operations: ['23+3=26'] Exploring Operation: 52/26=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 52/26=2 Current State: 81:[79, 2], Operations: ['23+3=26', '52/26=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[79, 23, 3, 52], Operations: [] Exploring Operation: 79-52=27, Resulting Numbers: [23, 3, 27] Generated Node #0,0: 81:[23, 3, 27] Operation: 79-52=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[23, 3, 27], Operations: ['79-52=27'] Exploring Operation: 23+3=26, Resulting Numbers: [27, 26] Generated Node #0,0,0: 81:[27, 26] Operation: 23+3=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[27, 26], Operations: ['79-52=27', '23+3=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 26, 99, 2 ]
98
[ "99-14=85", "26/2=13", "85+13=98" ]
Current State: 98:[14, 26, 99, 2], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [26, 2, 85] Generated Node #2: [26, 2, 85] from Operation: 99-14=85 Current State: 98:[26, 2, 85], Operations: ['99-14=85'] Exploring Operation: 26/2=13, Resulting Numbers: [85, 13] Generated Node #3: [85, 13] from Operation: 26/2=13 Current State: 98:[85, 13], Operations: ['99-14=85', '26/2=13'] Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[14, 26, 99, 2], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [99, 2, 12] Generated Node #0,0: 98:[99, 2, 12] Operation: 26-14=12 Exploring Operation: 26/2=13, Resulting Numbers: [14, 99, 13] Generated Node #0,1: 98:[14, 99, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[14, 99, 13], Operations: ['26/2=13'] Exploring Operation: 99-13=86, Resulting Numbers: [14, 86] Generated Node #0,1,0: 98:[14, 86] Operation: 99-13=86 Exploring Operation: 14-13=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 98:[99, 1] Operation: 14-13=1 Moving to Node #0,1,1 Current State: 98:[99, 1], Operations: ['26/2=13', '14-13=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[14, 26, 99, 2], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [14, 99, 13] Generated Node #0,1: 98:[14, 99, 13] Operation: 26/2=13 Moving to Node #0,1 Current State: 98:[14, 99, 13], Operations: ['26/2=13'] Exploring Operation: 14-13=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 98:[99, 1] Operation: 14-13=1 Moving to Node #0,1,1 Current State: 98:[99, 1], Operations: ['26/2=13', '14-13=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 38, 55, 35, 44 ]
77
[ "38-35=3", "44*3=132", "132-55=77" ]
Current State: 77:[38, 55, 35, 44], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [55, 44, 3] Generated Node #2: [55, 44, 3] from Operation: 38-35=3 Current State: 77:[55, 44, 3], Operations: ['38-35=3'] Exploring Operation: 44*3=132, Resulting Numbers: [55, 132] Generated Node #3: [55, 132] from Operation: 44*3=132 Current State: 77:[55, 132], Operations: ['38-35=3', '44*3=132'] Exploring Operation: 132-55=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[38, 55, 35, 44], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [55, 35, 6] Generated Node #0,0: 77:[55, 35, 6] Operation: 44-38=6 Exploring Operation: 38+44=82, Resulting Numbers: [55, 35, 82] Generated Node #0,1: 77:[55, 35, 82] Operation: 38+44=82 Exploring Operation: 55-44=11, Resulting Numbers: [38, 35, 11] Generated Node #0,2: 77:[38, 35, 11] Operation: 55-44=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[55, 35, 6], Operations: ['44-38=6'] Exploring Operation: 55-35=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 77:[6, 20] Operation: 55-35=20 Exploring Operation: 55+35=90, Resulting Numbers: [6, 90] Generated Node #0,0,1: 77:[6, 90] Operation: 55+35=90 Exploring Operation: 55+6=61, Resulting Numbers: [35, 61] Generated Node #0,0,2: 77:[35, 61] Operation: 55+6=61 Moving to Node #0,0,0 Current State: 77:[6, 20], Operations: ['44-38=6', '55-35=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[6, 90], Operations: ['44-38=6', '55+35=90'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 6+90=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[35, 61], Operations: ['44-38=6', '55+6=61'] Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,77 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[55, 35, 82], Operations: ['38+44=82'] Exploring Operation: 55+35=90, Resulting Numbers: [82, 90] Generated Node #0,1,0: 77:[82, 90] Operation: 55+35=90 Exploring Operation: 55-35=20, Resulting Numbers: [82, 20] Generated Node #0,1,1: 77:[82, 20] Operation: 55-35=20 Exploring Operation: 82-55=27, Resulting Numbers: [35, 27] Generated Node #0,1,2: 77:[35, 27] Operation: 82-55=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[82, 20], Operations: ['38+44=82', '55-35=20'] Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,77 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[82, 90], Operations: ['38+44=82', '55+35=90'] Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,77 unequal: No Solution Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[35, 27], Operations: ['38+44=82', '82-55=27'] Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,77 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[38, 35, 11], Operations: ['55-44=11'] Exploring Operation: 38-35=3, Resulting Numbers: [11, 3] Generated Node #0,2,0: 77:[11, 3] Operation: 38-35=3 Exploring Operation: 38+35=73, Resulting Numbers: [11, 73] Generated Node #0,2,1: 77:[11, 73] Operation: 38+35=73 Exploring Operation: 38-11=27, Resulting Numbers: [35, 27] Generated Node #0,2,2: 77:[35, 27] Operation: 38-11=27 Moving to Node #0,2,0 Current State: 77:[11, 3], Operations: ['55-44=11', '38-35=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[11, 73], Operations: ['55-44=11', '38+35=73'] Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[35, 27], Operations: ['55-44=11', '38-11=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,77 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 29, 26, 94, 31 ]
60
[ "29-26=3", "94-31=63", "63-3=60" ]
Current State: 60:[29, 26, 94, 31], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [94, 31, 3] Generated Node #2: [94, 31, 3] from Operation: 29-26=3 Current State: 60:[94, 31, 3], Operations: ['29-26=3'] Exploring Operation: 94-31=63, Resulting Numbers: [3, 63] Generated Node #3: [3, 63] from Operation: 94-31=63 Current State: 60:[3, 63], Operations: ['29-26=3', '94-31=63'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[29, 26, 94, 31], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [29, 26, 63] Generated Node #0,0: 60:[29, 26, 63] Operation: 94-31=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[29, 26, 63], Operations: ['94-31=63'] Exploring Operation: 29-26=3, Resulting Numbers: [63, 3] Generated Node #0,0,0: 60:[63, 3] Operation: 29-26=3 Moving to Node #0,0,0 Current State: 60:[63, 3], Operations: ['94-31=63', '29-26=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[29, 26, 94, 31], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [29, 26, 63] Generated Node #0,0: 60:[29, 26, 63] Operation: 94-31=63 Moving to Node #0,0 Current State: 60:[29, 26, 63], Operations: ['94-31=63'] Exploring Operation: 29-26=3, Resulting Numbers: [63, 3] Generated Node #0,0,0: 60:[63, 3] Operation: 29-26=3 Moving to Node #0,0,0 Current State: 60:[63, 3], Operations: ['94-31=63', '29-26=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 15, 35, 70, 20 ]
27
[ "35+70=105", "105/15=7", "20+7=27" ]
Current State: 27:[15, 35, 70, 20], Operations: [] Exploring Operation: 35+70=105, Resulting Numbers: [15, 20, 105] Generated Node #2: [15, 20, 105] from Operation: 35+70=105 Current State: 27:[15, 20, 105], Operations: ['35+70=105'] Exploring Operation: 105/15=7, Resulting Numbers: [20, 7] Generated Node #3: [20, 7] from Operation: 105/15=7 Current State: 27:[20, 7], Operations: ['35+70=105', '105/15=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[15, 35, 70, 20], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [15, 35, 50] Generated Node #0,0: 27:[15, 35, 50] Operation: 70-20=50 Exploring Operation: 70-35=35, Resulting Numbers: [15, 20, 35] Generated Node #0,1: 27:[15, 20, 35] Operation: 70-35=35 Exploring Operation: 70-15=55, Resulting Numbers: [35, 20, 55] Generated Node #0,2: 27:[35, 20, 55] Operation: 70-15=55 Exploring Operation: 70/35=2, Resulting Numbers: [15, 20, 2] Generated Node #0,3: 27:[15, 20, 2] Operation: 70/35=2 Moving to Node #0,3 Current State: 27:[15, 20, 2], Operations: ['70/35=2'] Exploring Operation: 15+20=35, Resulting Numbers: [2, 35] Generated Node #0,3,0: 27:[2, 35] Operation: 15+20=35 Exploring Operation: 20/2=10, Resulting Numbers: [15, 10] Generated Node #0,3,1: 27:[15, 10] Operation: 20/2=10 Exploring Operation: 20-15=5, Resulting Numbers: [2, 5] Generated Node #0,3,2: 27:[2, 5] Operation: 20-15=5 Exploring Operation: 15*2=30, Resulting Numbers: [20, 30] Generated Node #0,3,3: 27:[20, 30] Operation: 15*2=30 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 27:[2, 5], Operations: ['70/35=2', '20-15=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[15, 10], Operations: ['70/35=2', '20/2=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[2, 35], Operations: ['70/35=2', '15+20=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[20, 30], Operations: ['70/35=2', '15*2=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,27 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,27 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: 27:[15, 20, 35], Operations: ['70-35=35'] Exploring Operation: 15+20=35, Resulting Numbers: [35, 35] Generated Node #0,1,0: 27:[35, 35] Operation: 15+20=35 Exploring Operation: 35-15=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 27:[20, 20] Operation: 35-15=20 Exploring Operation: 35-20=15, Resulting Numbers: [15, 15] Generated Node #0,1,2: 27:[15, 15] Operation: 35-20=15 Exploring Operation: 20-15=5, Resulting Numbers: [35, 5] Generated Node #0,1,3: 27:[35, 5] Operation: 20-15=5 Moving to Node #0,0 Current State: 27:[15, 35, 50], Operations: ['70-20=50'] Exploring Operation: 50-35=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 27:[15, 15] Operation: 50-35=15 Exploring Operation: 35-15=20, Resulting Numbers: [50, 20] Generated Node #0,0,1: 27:[50, 20] Operation: 35-15=20 Exploring Operation: 15+35=50, Resulting Numbers: [50, 50] Generated Node #0,0,2: 27:[50, 50] Operation: 15+35=50 Exploring Operation: 50-15=35, Resulting Numbers: [35, 35] Generated Node #0,0,3: 27:[35, 35] Operation: 50-15=35 Moving to Node #0,2 Current State: 27:[35, 20, 55], Operations: ['70-15=55'] Exploring Operation: 55-20=35, Resulting Numbers: [35, 35] Generated Node #0,2,0: 27:[35, 35] Operation: 55-20=35 Exploring Operation: 35+20=55, Resulting Numbers: [55, 55] Generated Node #0,2,1: 27:[55, 55] Operation: 35+20=55 Exploring Operation: 55-35=20, Resulting Numbers: [20, 20] Generated Node #0,2,2: 27:[20, 20] Operation: 55-35=20 Exploring Operation: 35-20=15, Resulting Numbers: [55, 15] Generated Node #0,2,3: 27:[55, 15] Operation: 35-20=15 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[20, 20], Operations: ['70-15=55', '55-35=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,27 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[35, 35], Operations: ['70-15=55', '55-20=35'] Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,27 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[55, 15], Operations: ['70-15=55', '35-20=15'] Exploring Operation: 55*15=825, Resulting Numbers: [825] 825,27 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[55, 55], Operations: ['70-15=55', '35+20=55'] Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,27 unequal: No Solution Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 27:[35, 5], Operations: ['70-35=35', '20-15=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[15, 15], Operations: ['70-35=35', '35-20=15'] Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,27 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[15, 15], Operations: ['70-20=50', '50-35=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,27 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[20, 20], Operations: ['70-35=35', '35-15=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,27 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[35, 35], Operations: ['70-20=50', '50-15=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,27 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[35, 35], Operations: ['70-35=35', '15+20=35'] Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,27 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[50, 20], Operations: ['70-20=50', '35-15=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[50, 50], Operations: ['70-20=50', '15+35=50'] Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,27 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 83, 17, 9, 23 ]
21
[ "83+9=92", "92/23=4", "17+4=21" ]
Current State: 21:[83, 17, 9, 23], Operations: [] Exploring Operation: 83+9=92, Resulting Numbers: [17, 23, 92] Generated Node #2: [17, 23, 92] from Operation: 83+9=92 Current State: 21:[17, 23, 92], Operations: ['83+9=92'] Exploring Operation: 92/23=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 92/23=4 Current State: 21:[17, 4], Operations: ['83+9=92', '92/23=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[83, 17, 9, 23], Operations: [] Exploring Operation: 83-23=60, Resulting Numbers: [17, 9, 60] Generated Node #0,0: 21:[17, 9, 60] Operation: 83-23=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[17, 9, 60], Operations: ['83-23=60'] Exploring Operation: 60-17=43, Resulting Numbers: [9, 43] Generated Node #0,0,0: 21:[9, 43] Operation: 60-17=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[9, 43], Operations: ['83-23=60', '60-17=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,21 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
[ 20, 5, 9, 37 ]
50
[ "20/5=4", "9+37=46", "4+46=50" ]
Current State: 50:[20, 5, 9, 37], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [9, 37, 4] Generated Node #2: [9, 37, 4] from Operation: 20/5=4 Current State: 50:[9, 37, 4], Operations: ['20/5=4'] Exploring Operation: 9+37=46, Resulting Numbers: [4, 46] Generated Node #3: [4, 46] from Operation: 9+37=46 Current State: 50:[4, 46], Operations: ['20/5=4', '9+37=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[20, 5, 9, 37], Operations: [] Exploring Operation: 9+37=46, Resulting Numbers: [20, 5, 46] Generated Node #0,0: 50:[20, 5, 46] Operation: 9+37=46 Exploring Operation: 37-9=28, Resulting Numbers: [20, 5, 28] Generated Node #0,1: 50:[20, 5, 28] Operation: 37-9=28 Exploring Operation: 20+37=57, Resulting Numbers: [5, 9, 57] Generated Node #0,2: 50:[5, 9, 57] Operation: 20+37=57 Exploring Operation: 20+5=25, Resulting Numbers: [9, 37, 25] Generated Node #0,3: 50:[9, 37, 25] Operation: 20+5=25 Exploring Operation: 37-20=17, Resulting Numbers: [5, 9, 17] Generated Node #0,4: 50:[5, 9, 17] Operation: 37-20=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[20, 5, 28], Operations: ['37-9=28'] Exploring Operation: 20+5=25, Resulting Numbers: [28, 25] Generated Node #0,1,0: 50:[28, 25] Operation: 20+5=25 Exploring Operation: 28-20=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 50:[5, 8] Operation: 28-20=8 Exploring Operation: 28-5=23, Resulting Numbers: [20, 23] Generated Node #0,1,2: 50:[20, 23] Operation: 28-5=23 Exploring Operation: 20+28=48, Resulting Numbers: [5, 48] Generated Node #0,1,3: 50:[5, 48] Operation: 20+28=48 Exploring Operation: 20/5=4, Resulting Numbers: [28, 4] Generated Node #0,1,4: 50:[28, 4] Operation: 20/5=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[5, 8], Operations: ['37-9=28', '28-20=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,50 unequal: No Solution No 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: 50:[5, 48], Operations: ['37-9=28', '20+28=48'] Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,50 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,50 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,50 unequal: No Solution No 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: 50:[28, 25], Operations: ['37-9=28', '20+5=25'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,50 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 50:[28, 4], Operations: ['37-9=28', '20/5=4'] Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,50 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,50 unequal: No Solution No 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: 50:[20, 23], Operations: ['37-9=28', '28-5=23'] Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,50 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,50 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: 50:[5, 9, 57], Operations: ['20+37=57'] Exploring Operation: 57-9=48, Resulting Numbers: [5, 48] Generated Node #0,2,0: 50:[5, 48] Operation: 57-9=48 Exploring Operation: 5+9=14, Resulting Numbers: [57, 14] Generated Node #0,2,1: 50:[57, 14] Operation: 5+9=14 Exploring Operation: 57-5=52, Resulting Numbers: [9, 52] Generated Node #0,2,2: 50:[9, 52] Operation: 57-5=52 Exploring Operation: 9-5=4, Resulting Numbers: [57, 4] Generated Node #0,2,3: 50:[57, 4] Operation: 9-5=4 Exploring Operation: 5*9=45, Resulting Numbers: [57, 45] Generated Node #0,2,4: 50:[57, 45] Operation: 5*9=45 Moving to Node #0,2,0 Current State: 50:[5, 48], Operations: ['20+37=57', '57-9=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,50 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[9, 52], Operations: ['20+37=57', '57-5=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[57, 4], Operations: ['20+37=57', '9-5=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,50 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[57, 14], Operations: ['20+37=57', '5+9=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,50 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,50 unequal: No Solution Moving to Node #0,2,4 Current State: 50:[57, 45], Operations: ['20+37=57', '5*9=45'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,50 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[5, 9, 17], Operations: ['37-20=17'] Exploring Operation: 5+17=22, Resulting Numbers: [9, 22] Generated Node #0,4,0: 50:[9, 22] Operation: 5+17=22 Exploring Operation: 9-5=4, Resulting Numbers: [17, 4] Generated Node #0,4,1: 50:[17, 4] Operation: 9-5=4 Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #0,4,2: 50:[5, 8] Operation: 17-9=8 Exploring Operation: 17-5=12, Resulting Numbers: [9, 12] Generated Node #0,4,3: 50:[9, 12] Operation: 17-5=12 Exploring Operation: 9+17=26, Resulting Numbers: [5, 26] Generated Node #0,4,4: 50:[5, 26] Operation: 9+17=26 Moving to Node #0,4,4 Current State: 50:[5, 26], Operations: ['37-20=17', '9+17=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,50 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,50 unequal: No Solution Moving to Node #0,4,2 Current State: 50:[5, 8], Operations: ['37-20=17', '17-9=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,50 unequal: No Solution Moving to Node #0,4,3 Current State: 50:[9, 12], Operations: ['37-20=17', '17-5=12'] Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,50 unequal: No Solution Moving to Node #0,4,0 Current State: 50:[9, 22], Operations: ['37-20=17', '5+17=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,50 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,50 unequal: No Solution Moving to Node #0,4,1 Current State: 50:[17, 4], Operations: ['37-20=17', '9-5=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[20, 5, 46], Operations: ['9+37=46'] Exploring Operation: 46-20=26, Resulting Numbers: [5, 26] Generated Node #0,0,0: 50:[5, 26] Operation: 46-20=26 Exploring Operation: 20-5=15, Resulting Numbers: [46, 15] Generated Node #0,0,1: 50:[46, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [46, 4] Generated Node #0,0,2: 50:[46, 4] Operation: 20/5=4 Exploring Operation: 5+46=51, Resulting Numbers: [20, 51] Generated Node #0,0,3: 50:[20, 51] Operation: 5+46=51 Exploring Operation: 20+5=25, Resulting Numbers: [46, 25] Generated Node #0,0,4: 50:[46, 25] Operation: 20+5=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[5, 26], Operations: ['9+37=46', '46-20=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,50 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[46, 25], Operations: ['9+37=46', '20+5=25'] Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,50 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,50 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[46, 4], Operations: ['9+37=46', '20/5=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[20, 5, 9, 37], Operations: [] Exploring Operation: 9+37=46, Resulting Numbers: [20, 5, 46] Generated Node #0,0: 50:[20, 5, 46] Operation: 9+37=46 Moving to Node #0,0 Current State: 50:[20, 5, 46], Operations: ['9+37=46'] Exploring Operation: 20/5=4, Resulting Numbers: [46, 4] Generated Node #0,0,2: 50:[46, 4] Operation: 20/5=4 Moving to Node #0,0,2 Current State: 50:[46, 4], Operations: ['9+37=46', '20/5=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.927951
hs_5
mult_heuristic
[ 25, 2, 17, 79 ]
58
[ "25+17=42", "42/2=21", "79-21=58" ]
Current State: 58:[25, 2, 17, 79], Operations: [] Exploring Operation: 25+17=42, Resulting Numbers: [2, 79, 42] Generated Node #2: [2, 79, 42] from Operation: 25+17=42 Current State: 58:[2, 79, 42], Operations: ['25+17=42'] Exploring Operation: 42/2=21, Resulting Numbers: [79, 21] Generated Node #3: [79, 21] from Operation: 42/2=21 Current State: 58:[79, 21], Operations: ['25+17=42', '42/2=21'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[25, 2, 17, 79], Operations: [] Exploring Operation: 25+17=42, Resulting Numbers: [2, 79, 42] Generated Node #0,0: 58:[2, 79, 42] Operation: 25+17=42 Exploring Operation: 2*17=34, Resulting Numbers: [25, 79, 34] Generated Node #0,1: 58:[25, 79, 34] Operation: 2*17=34 Exploring Operation: 79-25=54, Resulting Numbers: [2, 17, 54] Generated Node #0,2: 58:[2, 17, 54] Operation: 79-25=54 Exploring Operation: 25-17=8, Resulting Numbers: [2, 79, 8] Generated Node #0,3: 58:[2, 79, 8] Operation: 25-17=8 Exploring Operation: 79-17=62, Resulting Numbers: [25, 2, 62] Generated Node #0,4: 58:[25, 2, 62] Operation: 79-17=62 Moving to Node #0,4 Current State: 58:[25, 2, 62], Operations: ['79-17=62'] Exploring Operation: 62-25=37, Resulting Numbers: [2, 37] Generated Node #0,4,0: 58:[2, 37] Operation: 62-25=37 Exploring Operation: 62-2=60, Resulting Numbers: [25, 60] Generated Node #0,4,1: 58:[25, 60] Operation: 62-2=60 Exploring Operation: 25-2=23, Resulting Numbers: [62, 23] Generated Node #0,4,2: 58:[62, 23] Operation: 25-2=23 Exploring Operation: 25+2=27, Resulting Numbers: [62, 27] Generated Node #0,4,3: 58:[62, 27] Operation: 25+2=27 Exploring Operation: 62/2=31, Resulting Numbers: [25, 31] Generated Node #0,4,4: 58:[25, 31] Operation: 62/2=31 Moving to Node #0,2 Current State: 58:[2, 17, 54], Operations: ['79-25=54'] Exploring Operation: 2+17=19, Resulting Numbers: [54, 19] Generated Node #0,2,0: 58:[54, 19] Operation: 2+17=19 Exploring Operation: 54-17=37, Resulting Numbers: [2, 37] Generated Node #0,2,1: 58:[2, 37] Operation: 54-17=37 Exploring Operation: 17+54=71, Resulting Numbers: [2, 71] Generated Node #0,2,2: 58:[2, 71] Operation: 17+54=71 Exploring Operation: 2*17=34, Resulting Numbers: [54, 34] Generated Node #0,2,3: 58:[54, 34] Operation: 2*17=34 Exploring Operation: 2+54=56, Resulting Numbers: [17, 56] Generated Node #0,2,4: 58:[17, 56] Operation: 2+54=56 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[2, 37], Operations: ['79-25=54', '54-17=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[54, 34], Operations: ['79-25=54', '2*17=34'] Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[2, 71], Operations: ['79-25=54', '17+54=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,58 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[54, 19], Operations: ['79-25=54', '2+17=19'] Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 54*19=1026, Resulting Numbers: [1026] 1026,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 58:[17, 56], Operations: ['79-25=54', '2+54=56'] Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,58 unequal: No Solution Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,58 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: 58:[2, 79, 8], Operations: ['25-17=8'] Exploring Operation: 2+79=81, Resulting Numbers: [8, 81] Generated Node #0,3,0: 58:[8, 81] Operation: 2+79=81 Exploring Operation: 8/2=4, Resulting Numbers: [79, 4] Generated Node #0,3,1: 58:[79, 4] Operation: 8/2=4 Exploring Operation: 79-8=71, Resulting Numbers: [2, 71] Generated Node #0,3,2: 58:[2, 71] Operation: 79-8=71 Exploring Operation: 8-2=6, Resulting Numbers: [79, 6] Generated Node #0,3,3: 58:[79, 6] Operation: 8-2=6 Exploring Operation: 79-2=77, Resulting Numbers: [8, 77] Generated Node #0,3,4: 58:[8, 77] Operation: 79-2=77 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[2, 71], Operations: ['25-17=8', '79-8=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,58 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[79, 4], Operations: ['25-17=8', '8/2=4'] Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,58 unequal: No Solution Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[79, 6], Operations: ['25-17=8', '8-2=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 79*6=474, Resulting Numbers: [474] 474,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 58:[8, 77], Operations: ['25-17=8', '79-2=77'] Exploring Operation: 8*77=616, Resulting Numbers: [616] 616,58 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 8+77=85, Resulting Numbers: [85] 85,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[8, 81], Operations: ['25-17=8', '2+79=81'] Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,58 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,58 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: 58:[25, 79, 34], Operations: ['2*17=34'] Exploring Operation: 25+34=59, Resulting Numbers: [79, 59] Generated Node #0,1,0: 58:[79, 59] Operation: 25+34=59 Exploring Operation: 79-34=45, Resulting Numbers: [25, 45] Generated Node #0,1,1: 58:[25, 45] Operation: 79-34=45 Exploring Operation: 79-25=54, Resulting Numbers: [34, 54] Generated Node #0,1,2: 58:[34, 54] Operation: 79-25=54 Exploring Operation: 25+79=104, Resulting Numbers: [34, 104] Generated Node #0,1,3: 58:[34, 104] Operation: 25+79=104 Exploring Operation: 34-25=9, Resulting Numbers: [79, 9] Generated Node #0,1,4: 58:[79, 9] Operation: 34-25=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[34, 54], Operations: ['2*17=34', '79-25=54'] Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[25, 45], Operations: ['2*17=34', '79-34=45'] Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,58 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[79, 59], Operations: ['2*17=34', '25+34=59'] Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,58 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 58:[79, 9], Operations: ['2*17=34', '34-25=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 58:[34, 104], Operations: ['2*17=34', '25+79=104'] Exploring Operation: 34+104=138, Resulting Numbers: [138] 138,58 unequal: No Solution Exploring Operation: 104-34=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 34*104=3536, Resulting Numbers: [3536] 3536,58 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: 58:[2, 79, 42], Operations: ['25+17=42'] Exploring Operation: 79-2=77, Resulting Numbers: [42, 77] Generated Node #0,0,0: 58:[42, 77] Operation: 79-2=77 Exploring Operation: 2+42=44, Resulting Numbers: [79, 44] Generated Node #0,0,1: 58:[79, 44] Operation: 2+42=44 Exploring Operation: 42/2=21, Resulting Numbers: [79, 21] Generated Node #0,0,2: 58:[79, 21] Operation: 42/2=21 Exploring Operation: 42-2=40, Resulting Numbers: [79, 40] Generated Node #0,0,3: 58:[79, 40] Operation: 42-2=40 Exploring Operation: 79-42=37, Resulting Numbers: [2, 37] Generated Node #0,0,4: 58:[2, 37] Operation: 79-42=37 Moving to Node #0,4,1 Current State: 58:[25, 60], Operations: ['79-17=62', '62-2=60'] Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,58 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,4,4 Current State: 58:[25, 31], Operations: ['79-17=62', '62/2=31'] Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,58 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,58 unequal: No Solution Moving to Node #0,4,3 Current State: 58:[62, 27], Operations: ['79-17=62', '25+2=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,58 unequal: No Solution Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,58 unequal: No Solution Moving to Node #0,0,4 Current State: 58:[2, 37], Operations: ['25+17=42', '79-42=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,58 unequal: No Solution Moving to Node #0,4,0 Current State: 58:[2, 37], Operations: ['79-17=62', '62-25=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,4,2 Current State: 58:[62, 23], Operations: ['79-17=62', '25-2=23'] Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,58 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[79, 21], Operations: ['25+17=42', '42/2=21'] Exploring Operation: 79+21=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[25, 2, 17, 79], Operations: [] Exploring Operation: 25+17=42, Resulting Numbers: [2, 79, 42] Generated Node #0,0: 58:[2, 79, 42] Operation: 25+17=42 Moving to Node #0,0 Current State: 58:[2, 79, 42], Operations: ['25+17=42'] Exploring Operation: 42/2=21, Resulting Numbers: [79, 21] Generated Node #0,0,2: 58:[79, 21] Operation: 42/2=21 Moving to Node #0,0,2 Current State: 58:[79, 21], Operations: ['25+17=42', '42/2=21'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.914063
hs_5
mult_heuristic
[ 50, 50, 28, 51 ]
28
[ "50-50=0", "51*0=0", "28+0=28" ]
Current State: 28:[50, 50, 28, 51], Operations: [] Exploring Operation: 50-50=0, Resulting Numbers: [28, 51, 0] Generated Node #2: [28, 51, 0] from Operation: 50-50=0 Current State: 28:[28, 51, 0], Operations: ['50-50=0'] Exploring Operation: 51*0=0, Resulting Numbers: [28, 0] Generated Node #3: [28, 0] from Operation: 51*0=0 Current State: 28:[28, 0], Operations: ['50-50=0', '51*0=0'] Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[50, 50, 28, 51], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [50, 28, 1] Generated Node #0,0: 28:[50, 28, 1] Operation: 51-50=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[50, 28, 1], Operations: ['51-50=1'] Exploring Operation: 50-28=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 28:[1, 22] Operation: 50-28=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[1, 22], Operations: ['51-50=1', '50-28=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,28 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
[ 84, 2, 40, 5 ]
74
[ "84-2=82", "40/5=8", "82-8=74" ]
Current State: 74:[84, 2, 40, 5], Operations: [] Exploring Operation: 84-2=82, Resulting Numbers: [40, 5, 82] Generated Node #2: [40, 5, 82] from Operation: 84-2=82 Current State: 74:[40, 5, 82], Operations: ['84-2=82'] Exploring Operation: 40/5=8, Resulting Numbers: [82, 8] Generated Node #3: [82, 8] from Operation: 40/5=8 Current State: 74:[82, 8], Operations: ['84-2=82', '40/5=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[84, 2, 40, 5], Operations: [] Exploring Operation: 40-5=35, Resulting Numbers: [84, 2, 35] Generated Node #0,0: 74:[84, 2, 35] Operation: 40-5=35 Exploring Operation: 84-40=44, Resulting Numbers: [2, 5, 44] Generated Node #0,1: 74:[2, 5, 44] Operation: 84-40=44 Exploring Operation: 84/2=42, Resulting Numbers: [40, 5, 42] Generated Node #0,2: 74:[40, 5, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [40, 5, 82] Generated Node #0,3: 74:[40, 5, 82] Operation: 84-2=82 Exploring Operation: 84-5=79, Resulting Numbers: [2, 40, 79] Generated Node #0,4: 74:[2, 40, 79] Operation: 84-5=79 Moving to Node #0,4 Current State: 74:[2, 40, 79], Operations: ['84-5=79'] Exploring Operation: 2+40=42, Resulting Numbers: [79, 42] Generated Node #0,4,0: 74:[79, 42] Operation: 2+40=42 Exploring Operation: 40-2=38, Resulting Numbers: [79, 38] Generated Node #0,4,1: 74:[79, 38] Operation: 40-2=38 Exploring Operation: 2+79=81, Resulting Numbers: [40, 81] Generated Node #0,4,2: 74:[40, 81] Operation: 2+79=81 Exploring Operation: 79-2=77, Resulting Numbers: [40, 77] Generated Node #0,4,3: 74:[40, 77] Operation: 79-2=77 Exploring Operation: 79-40=39, Resulting Numbers: [2, 39] Generated Node #0,4,4: 74:[2, 39] Operation: 79-40=39 Moving to Node #0,1 Current State: 74:[2, 5, 44], Operations: ['84-40=44'] Exploring Operation: 44-2=42, Resulting Numbers: [5, 42] Generated Node #0,1,0: 74:[5, 42] Operation: 44-2=42 Exploring Operation: 2+5=7, Resulting Numbers: [44, 7] Generated Node #0,1,1: 74:[44, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [44, 3] Generated Node #0,1,2: 74:[44, 3] Operation: 5-2=3 Exploring Operation: 2+44=46, Resulting Numbers: [5, 46] Generated Node #0,1,3: 74:[5, 46] Operation: 2+44=46 Exploring Operation: 44-5=39, Resulting Numbers: [2, 39] Generated Node #0,1,4: 74:[2, 39] Operation: 44-5=39 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[2, 39], Operations: ['84-40=44', '44-5=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,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,0 Current State: 74:[5, 42], Operations: ['84-40=44', '44-2=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,74 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,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,2 Current State: 74:[44, 3], Operations: ['84-40=44', '5-2=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,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,1 Current State: 74:[44, 7], Operations: ['84-40=44', '2+5=7'] Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,74 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,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,3 Current State: 74:[5, 46], Operations: ['84-40=44', '2+44=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,74 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,74 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: 74:[40, 5, 42], Operations: ['84/2=42'] Exploring Operation: 40+42=82, Resulting Numbers: [5, 82] Generated Node #0,2,0: 74:[5, 82] Operation: 40+42=82 Exploring Operation: 40-5=35, Resulting Numbers: [42, 35] Generated Node #0,2,1: 74:[42, 35] Operation: 40-5=35 Exploring Operation: 42-5=37, Resulting Numbers: [40, 37] Generated Node #0,2,2: 74:[40, 37] Operation: 42-5=37 Exploring Operation: 42-40=2, Resulting Numbers: [5, 2] Generated Node #0,2,3: 74:[5, 2] Operation: 42-40=2 Exploring Operation: 40/5=8, Resulting Numbers: [42, 8] Generated Node #0,2,4: 74:[42, 8] Operation: 40/5=8 Moving to Node #0,0 Current State: 74:[84, 2, 35], Operations: ['40-5=35'] Exploring Operation: 84+2=86, Resulting Numbers: [35, 86] Generated Node #0,0,0: 74:[35, 86] Operation: 84+2=86 Exploring Operation: 84/2=42, Resulting Numbers: [35, 42] Generated Node #0,0,1: 74:[35, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [35, 82] Generated Node #0,0,2: 74:[35, 82] Operation: 84-2=82 Exploring Operation: 2+35=37, Resulting Numbers: [84, 37] Generated Node #0,0,3: 74:[84, 37] Operation: 2+35=37 Exploring Operation: 84-35=49, Resulting Numbers: [2, 49] Generated Node #0,0,4: 74:[2, 49] Operation: 84-35=49 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[35, 42], Operations: ['40-5=35', '84/2=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,74 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,74 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[35, 82], Operations: ['40-5=35', '84-2=82'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,74 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[84, 37], Operations: ['40-5=35', '2+35=37'] Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,74 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[2, 49], Operations: ['40-5=35', '84-35=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[35, 86], Operations: ['40-5=35', '84+2=86'] Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,74 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,74 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: 74:[40, 5, 82], Operations: ['84-2=82'] Exploring Operation: 40+5=45, Resulting Numbers: [82, 45] Generated Node #0,3,0: 74:[82, 45] Operation: 40+5=45 Exploring Operation: 40-5=35, Resulting Numbers: [82, 35] Generated Node #0,3,1: 74:[82, 35] Operation: 40-5=35 Exploring Operation: 82-5=77, Resulting Numbers: [40, 77] Generated Node #0,3,2: 74:[40, 77] Operation: 82-5=77 Exploring Operation: 40/5=8, Resulting Numbers: [82, 8] Generated Node #0,3,3: 74:[82, 8] Operation: 40/5=8 Exploring Operation: 82-40=42, Resulting Numbers: [5, 42] Generated Node #0,3,4: 74:[5, 42] Operation: 82-40=42 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[40, 77], Operations: ['84-2=82', '82-5=77'] Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,74 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,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,3,4 Current State: 74:[5, 42], Operations: ['84-2=82', '82-40=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,74 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,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,3,1 Current State: 74:[82, 35], Operations: ['84-2=82', '40-5=35'] Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,74 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,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,3,3 Current State: 74:[82, 8], Operations: ['84-2=82', '40/5=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[84, 2, 40, 5], Operations: [] Exploring Operation: 84-2=82, Resulting Numbers: [40, 5, 82] Generated Node #0,3: 74:[40, 5, 82] Operation: 84-2=82 Moving to Node #0,3 Current State: 74:[40, 5, 82], Operations: ['84-2=82'] Exploring Operation: 40/5=8, Resulting Numbers: [82, 8] Generated Node #0,3,3: 74:[82, 8] Operation: 40/5=8 Moving to Node #0,3,3 Current State: 74:[82, 8], Operations: ['84-2=82', '40/5=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.934896
hs_5
sum_heuristic
[ 34, 38, 60, 4 ]
54
[ "60-38=22", "4*22=88", "88-34=54" ]
Current State: 54:[34, 38, 60, 4], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [34, 4, 22] Generated Node #2: [34, 4, 22] from Operation: 60-38=22 Current State: 54:[34, 4, 22], Operations: ['60-38=22'] Exploring Operation: 4*22=88, Resulting Numbers: [34, 88] Generated Node #3: [34, 88] from Operation: 4*22=88 Current State: 54:[34, 88], Operations: ['60-38=22', '4*22=88'] Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[34, 38, 60, 4], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [34, 4, 22] Generated Node #0,0: 54:[34, 4, 22] Operation: 60-38=22 Exploring Operation: 38-34=4, Resulting Numbers: [60, 4, 4] Generated Node #0,1: 54:[60, 4, 4] Operation: 38-34=4 Moving to Node #0,1 Current State: 54:[60, 4, 4], Operations: ['38-34=4'] Exploring Operation: 60-4=56, Resulting Numbers: [4, 56] Generated Node #0,1,0: 54:[4, 56] Operation: 60-4=56 Exploring Operation: 60-4=56, Resulting Numbers: [4, 56] Generated Node #0,1,1: 54:[4, 56] Operation: 60-4=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[4, 56], Operations: ['38-34=4', '60-4=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[4, 56], Operations: ['38-34=4', '60-4=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,54 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 54:[34, 4, 22], Operations: ['60-38=22'] Exploring Operation: 34+22=56, Resulting Numbers: [4, 56] Generated Node #0,0,0: 54:[4, 56] Operation: 34+22=56 Exploring Operation: 34-22=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 54:[4, 12] Operation: 34-22=12 Moving to Node #0,0,0 Current State: 54:[4, 56], Operations: ['60-38=22', '34+22=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,54 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[4, 12], Operations: ['60-38=22', '34-22=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,54 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 48, 39, 29, 88 ]
13
[ "48-39=9", "29+88=117", "117/9=13" ]
Current State: 13:[48, 39, 29, 88], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [29, 88, 9] Generated Node #2: [29, 88, 9] from Operation: 48-39=9 Current State: 13:[29, 88, 9], Operations: ['48-39=9'] Exploring Operation: 29+88=117, Resulting Numbers: [9, 117] Generated Node #3: [9, 117] from Operation: 29+88=117 Current State: 13:[9, 117], Operations: ['48-39=9', '29+88=117'] Exploring Operation: 117/9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[48, 39, 29, 88], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [39, 29, 40] Generated Node #0,0: 13:[39, 29, 40] Operation: 88-48=40 Exploring Operation: 48-39=9, Resulting Numbers: [29, 88, 9] Generated Node #0,1: 13:[29, 88, 9] Operation: 48-39=9 Exploring Operation: 88-39=49, Resulting Numbers: [48, 29, 49] Generated Node #0,2: 13:[48, 29, 49] Operation: 88-39=49 Exploring Operation: 48-29=19, Resulting Numbers: [39, 88, 19] Generated Node #0,3: 13:[39, 88, 19] Operation: 48-29=19 Moving to Node #0,0 Current State: 13:[39, 29, 40], Operations: ['88-48=40'] Exploring Operation: 39-29=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 13:[40, 10] Operation: 39-29=10 Exploring Operation: 39+29=68, Resulting Numbers: [40, 68] Generated Node #0,0,1: 13:[40, 68] Operation: 39+29=68 Exploring Operation: 40-39=1, Resulting Numbers: [29, 1] Generated Node #0,0,2: 13:[29, 1] Operation: 40-39=1 Exploring Operation: 40-29=11, Resulting Numbers: [39, 11] Generated Node #0,0,3: 13:[39, 11] Operation: 40-29=11 Moving to Node #0,2 Current State: 13:[48, 29, 49], Operations: ['88-39=49'] Exploring Operation: 49-48=1, Resulting Numbers: [29, 1] Generated Node #0,2,0: 13:[29, 1] Operation: 49-48=1 Exploring Operation: 48-29=19, Resulting Numbers: [49, 19] Generated Node #0,2,1: 13:[49, 19] Operation: 48-29=19 Exploring Operation: 48+29=77, Resulting Numbers: [49, 77] Generated Node #0,2,2: 13:[49, 77] Operation: 48+29=77 Exploring Operation: 49-29=20, Resulting Numbers: [48, 20] Generated Node #0,2,3: 13:[48, 20] Operation: 49-29=20 Moving to Node #0,1 Current State: 13:[29, 88, 9], Operations: ['48-39=9'] Exploring Operation: 88-9=79, Resulting Numbers: [29, 79] Generated Node #0,1,0: 13:[29, 79] Operation: 88-9=79 Exploring Operation: 29+9=38, Resulting Numbers: [88, 38] Generated Node #0,1,1: 13:[88, 38] Operation: 29+9=38 Exploring Operation: 88-29=59, Resulting Numbers: [9, 59] Generated Node #0,1,2: 13:[9, 59] Operation: 88-29=59 Exploring Operation: 29-9=20, Resulting Numbers: [88, 20] Generated Node #0,1,3: 13:[88, 20] Operation: 29-9=20 Moving to Node #0,3 Current State: 13:[39, 88, 19], Operations: ['48-29=19'] Exploring Operation: 88-19=69, Resulting Numbers: [39, 69] Generated Node #0,3,0: 13:[39, 69] Operation: 88-19=69 Exploring Operation: 39-19=20, Resulting Numbers: [88, 20] Generated Node #0,3,1: 13:[88, 20] Operation: 39-19=20 Exploring Operation: 88-39=49, Resulting Numbers: [19, 49] Generated Node #0,3,2: 13:[19, 49] Operation: 88-39=49 Exploring Operation: 39+88=127, Resulting Numbers: [19, 127] Generated Node #0,3,3: 13:[19, 127] Operation: 39+88=127 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[19, 49], Operations: ['48-29=19', '88-39=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[39, 69], Operations: ['48-29=19', '88-19=69'] Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,13 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[88, 20], Operations: ['48-29=19', '39-19=20'] Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[19, 127], Operations: ['48-29=19', '39+88=127'] Exploring Operation: 19*127=2413, Resulting Numbers: [2413] 2413,13 unequal: No Solution Exploring Operation: 127-19=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 19+127=146, Resulting Numbers: [146] 146,13 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: 13:[29, 1], Operations: ['88-48=40', '40-39=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[39, 11], Operations: ['88-48=40', '40-29=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,13 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[29, 1], Operations: ['88-39=49', '49-48=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[40, 10], Operations: ['88-48=40', '39-29=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,13 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[48, 20], Operations: ['88-39=49', '49-29=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,13 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[49, 19], Operations: ['88-39=49', '48-29=19'] Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 49*19=931, Resulting Numbers: [931] 931,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[9, 59], Operations: ['48-39=9', '88-29=59'] Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[29, 79], Operations: ['48-39=9', '88-9=79'] Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,13 unequal: No Solution Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[88, 20], Operations: ['48-39=9', '29-9=20'] Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[40, 68], Operations: ['88-48=40', '39+29=68'] Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,13 unequal: No Solution Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[49, 77], Operations: ['88-39=49', '48+29=77'] Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,13 unequal: No Solution Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,13 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[88, 38], Operations: ['48-39=9', '29+9=38'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,13 unequal: No Solution Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,13 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 82, 87, 51 ]
11
[ "87-82=5", "8*5=40", "51-40=11" ]
Current State: 11:[8, 82, 87, 51], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [8, 51, 5] Generated Node #2: [8, 51, 5] from Operation: 87-82=5 Current State: 11:[8, 51, 5], Operations: ['87-82=5'] Exploring Operation: 8*5=40, Resulting Numbers: [51, 40] Generated Node #3: [51, 40] from Operation: 8*5=40 Current State: 11:[51, 40], Operations: ['87-82=5', '8*5=40'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[8, 82, 87, 51], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [8, 51, 5] Generated Node #0,0: 11:[8, 51, 5] Operation: 87-82=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[8, 51, 5], Operations: ['87-82=5'] Exploring Operation: 51-8=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 11:[5, 43] Operation: 51-8=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[5, 43], Operations: ['87-82=5', '51-8=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic