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
[ 92, 46, 16, 20 ]
72
[ "92/46=2", "16+20=36", "2*36=72" ]
Current State: 72:[92, 46, 16, 20], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [16, 20, 2] Generated Node #2: [16, 20, 2] from Operation: 92/46=2 Current State: 72:[16, 20, 2], Operations: ['92/46=2'] Exploring Operation: 16+20=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 16+20=36 Current State: 72:[2, 36], Operations: ['92/46=2', '16+20=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[92, 46, 16, 20], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [16, 20, 2] Generated Node #0,0: 72:[16, 20, 2] Operation: 92/46=2 Exploring Operation: 92-20=72, Resulting Numbers: [46, 16, 72] Generated Node #0,1: 72:[46, 16, 72] Operation: 92-20=72 Moving to Node #0,0 Current State: 72:[16, 20, 2], Operations: ['92/46=2'] Exploring Operation: 20-16=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 72:[2, 4] Operation: 20-16=4 Exploring Operation: 16+20=36, Resulting Numbers: [2, 36] Generated Node #0,0,1: 72:[2, 36] Operation: 16+20=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[2, 4], Operations: ['92/46=2', '20-16=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[2, 36], Operations: ['92/46=2', '16+20=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[92, 46, 16, 20], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [16, 20, 2] Generated Node #0,0: 72:[16, 20, 2] Operation: 92/46=2 Moving to Node #0,0 Current State: 72:[16, 20, 2], Operations: ['92/46=2'] Exploring Operation: 16+20=36, Resulting Numbers: [2, 36] Generated Node #0,0,1: 72:[2, 36] Operation: 16+20=36 Moving to Node #0,0,1 Current State: 72:[2, 36], Operations: ['92/46=2', '16+20=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 8, 4, 92, 74 ]
63
[ "92-4=88", "88/8=11", "74-11=63" ]
Current State: 63:[8, 4, 92, 74], Operations: [] Exploring Operation: 92-4=88, Resulting Numbers: [8, 74, 88] Generated Node #2: [8, 74, 88] from Operation: 92-4=88 Current State: 63:[8, 74, 88], Operations: ['92-4=88'] Exploring Operation: 88/8=11, Resulting Numbers: [74, 11] Generated Node #3: [74, 11] from Operation: 88/8=11 Current State: 63:[74, 11], Operations: ['92-4=88', '88/8=11'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[8, 4, 92, 74], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [8, 4, 18] Generated Node #0,0: 63:[8, 4, 18] Operation: 92-74=18 Exploring Operation: 92/4=23, Resulting Numbers: [8, 74, 23] Generated Node #0,1: 63:[8, 74, 23] Operation: 92/4=23 Exploring Operation: 92-8=84, Resulting Numbers: [4, 74, 84] Generated Node #0,2: 63:[4, 74, 84] Operation: 92-8=84 Moving to Node #0,0 Current State: 63:[8, 4, 18], Operations: ['92-74=18'] Exploring Operation: 18-8=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 63:[4, 10] Operation: 18-8=10 Exploring Operation: 8-4=4, Resulting Numbers: [18, 4] Generated Node #0,0,1: 63:[18, 4] Operation: 8-4=4 Exploring Operation: 4+18=22, Resulting Numbers: [8, 22] Generated Node #0,0,2: 63:[8, 22] Operation: 4+18=22 Moving to Node #0,1 Current State: 63:[8, 74, 23], Operations: ['92/4=23'] Exploring Operation: 74-23=51, Resulting Numbers: [8, 51] Generated Node #0,1,0: 63:[8, 51] Operation: 74-23=51 Exploring Operation: 74-8=66, Resulting Numbers: [23, 66] Generated Node #0,1,1: 63:[23, 66] Operation: 74-8=66 Exploring Operation: 23-8=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 63:[74, 15] Operation: 23-8=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[23, 66], Operations: ['92/4=23', '74-8=66'] Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,63 unequal: No Solution Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,63 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[8, 51], Operations: ['92/4=23', '74-23=51'] Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,63 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[74, 15], Operations: ['92/4=23', '23-8=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,63 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,63 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: 63:[4, 74, 84], Operations: ['92-8=84'] Exploring Operation: 74-4=70, Resulting Numbers: [84, 70] Generated Node #0,2,0: 63:[84, 70] Operation: 74-4=70 Exploring Operation: 84-74=10, Resulting Numbers: [4, 10] Generated Node #0,2,1: 63:[4, 10] Operation: 84-74=10 Exploring Operation: 84/4=21, Resulting Numbers: [74, 21] Generated Node #0,2,2: 63:[74, 21] Operation: 84/4=21 Moving to Node #0,0,0 Current State: 63:[4, 10], Operations: ['92-74=18', '18-8=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[8, 22], Operations: ['92-74=18', '4+18=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[4, 10], Operations: ['92-8=84', '84-74=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[18, 4], Operations: ['92-74=18', '8-4=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[74, 21], Operations: ['92-8=84', '84/4=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,63 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,63 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[84, 70], Operations: ['92-8=84', '74-4=70'] Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 84+70=154, Resulting Numbers: [154] 154,63 unequal: No Solution Exploring Operation: 84*70=5880, Resulting Numbers: [5880] 5880,63 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 73, 81, 13, 16 ]
88
[ "81-73=8", "13*8=104", "104-16=88" ]
Current State: 88:[73, 81, 13, 16], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [13, 16, 8] Generated Node #2: [13, 16, 8] from Operation: 81-73=8 Current State: 88:[13, 16, 8], Operations: ['81-73=8'] Exploring Operation: 13*8=104, Resulting Numbers: [16, 104] Generated Node #3: [16, 104] from Operation: 13*8=104 Current State: 88:[16, 104], Operations: ['81-73=8', '13*8=104'] Exploring Operation: 104-16=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[73, 81, 13, 16], Operations: [] Exploring Operation: 73+13=86, Resulting Numbers: [81, 16, 86] Generated Node #0,0: 88:[81, 16, 86] Operation: 73+13=86 Exploring Operation: 16-13=3, Resulting Numbers: [73, 81, 3] Generated Node #0,1: 88:[73, 81, 3] Operation: 16-13=3 Exploring Operation: 73-16=57, Resulting Numbers: [81, 13, 57] Generated Node #0,2: 88:[81, 13, 57] Operation: 73-16=57 Exploring Operation: 73+16=89, Resulting Numbers: [81, 13, 89] Generated Node #0,3: 88:[81, 13, 89] Operation: 73+16=89 Exploring Operation: 81-73=8, Resulting Numbers: [13, 16, 8] Generated Node #0,4: 88:[13, 16, 8] Operation: 81-73=8 Moving to Node #0,4 Current State: 88:[13, 16, 8], Operations: ['81-73=8'] Exploring Operation: 16-8=8, Resulting Numbers: [13, 8] Generated Node #0,4,0: 88:[13, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [13, 2] Generated Node #0,4,1: 88:[13, 2] Operation: 16/8=2 Exploring Operation: 16+8=24, Resulting Numbers: [13, 24] Generated Node #0,4,2: 88:[13, 24] Operation: 16+8=24 Exploring Operation: 16-13=3, Resulting Numbers: [8, 3] Generated Node #0,4,3: 88:[8, 3] Operation: 16-13=3 Exploring Operation: 13+8=21, Resulting Numbers: [16, 21] Generated Node #0,4,4: 88:[16, 21] Operation: 13+8=21 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[8, 3], Operations: ['81-73=8', '16-13=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[13, 8], Operations: ['81-73=8', '16-8=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,88 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[13, 2], Operations: ['81-73=8', '16/8=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[13, 24], Operations: ['81-73=8', '16+8=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,88 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[16, 21], Operations: ['81-73=8', '13+8=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,88 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 88:[81, 13, 89], Operations: ['73+16=89'] Exploring Operation: 81+13=94, Resulting Numbers: [89, 94] Generated Node #0,3,0: 88:[89, 94] Operation: 81+13=94 Exploring Operation: 13+89=102, Resulting Numbers: [81, 102] Generated Node #0,3,1: 88:[81, 102] Operation: 13+89=102 Exploring Operation: 89-81=8, Resulting Numbers: [13, 8] Generated Node #0,3,2: 88:[13, 8] Operation: 89-81=8 Exploring Operation: 81-13=68, Resulting Numbers: [89, 68] Generated Node #0,3,3: 88:[89, 68] Operation: 81-13=68 Exploring Operation: 89-13=76, Resulting Numbers: [81, 76] Generated Node #0,3,4: 88:[81, 76] Operation: 89-13=76 Moving to Node #0,0 Current State: 88:[81, 16, 86], Operations: ['73+13=86'] Exploring Operation: 81+16=97, Resulting Numbers: [86, 97] Generated Node #0,0,0: 88:[86, 97] Operation: 81+16=97 Exploring Operation: 81-16=65, Resulting Numbers: [86, 65] Generated Node #0,0,1: 88:[86, 65] Operation: 81-16=65 Exploring Operation: 86-16=70, Resulting Numbers: [81, 70] Generated Node #0,0,2: 88:[81, 70] Operation: 86-16=70 Exploring Operation: 16+86=102, Resulting Numbers: [81, 102] Generated Node #0,0,3: 88:[81, 102] Operation: 16+86=102 Exploring Operation: 86-81=5, Resulting Numbers: [16, 5] Generated Node #0,0,4: 88:[16, 5] Operation: 86-81=5 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[16, 5], Operations: ['73+13=86', '86-81=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[86, 97], Operations: ['73+13=86', '81+16=97'] Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 86+97=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 86*97=8342, Resulting Numbers: [8342] 8342,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[81, 102], Operations: ['73+13=86', '16+86=102'] Exploring Operation: 81*102=8262, Resulting Numbers: [8262] 8262,88 unequal: No Solution Exploring Operation: 81+102=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 102-81=21, Resulting Numbers: [21] 21,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[86, 65], Operations: ['73+13=86', '81-16=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[81, 70], Operations: ['73+13=86', '86-16=70'] Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,88 unequal: No Solution Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 88:[81, 13, 57], Operations: ['73-16=57'] Exploring Operation: 81-13=68, Resulting Numbers: [57, 68] Generated Node #0,2,0: 88:[57, 68] Operation: 81-13=68 Exploring Operation: 13+57=70, Resulting Numbers: [81, 70] Generated Node #0,2,1: 88:[81, 70] Operation: 13+57=70 Exploring Operation: 57-13=44, Resulting Numbers: [81, 44] Generated Node #0,2,2: 88:[81, 44] Operation: 57-13=44 Exploring Operation: 81+13=94, Resulting Numbers: [57, 94] Generated Node #0,2,3: 88:[57, 94] Operation: 81+13=94 Exploring Operation: 81-57=24, Resulting Numbers: [13, 24] Generated Node #0,2,4: 88:[13, 24] Operation: 81-57=24 Moving to Node #0,1 Current State: 88:[73, 81, 3], Operations: ['16-13=3'] Exploring Operation: 81-73=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 88:[3, 8] Operation: 81-73=8 Exploring Operation: 81/3=27, Resulting Numbers: [73, 27] Generated Node #0,1,1: 88:[73, 27] Operation: 81/3=27 Exploring Operation: 73+3=76, Resulting Numbers: [81, 76] Generated Node #0,1,2: 88:[81, 76] Operation: 73+3=76 Exploring Operation: 81+3=84, Resulting Numbers: [73, 84] Generated Node #0,1,3: 88:[73, 84] Operation: 81+3=84 Exploring Operation: 73-3=70, Resulting Numbers: [81, 70] Generated Node #0,1,4: 88:[81, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[3, 8], Operations: ['16-13=3', '81-73=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[81, 76], Operations: ['16-13=3', '73+3=76'] Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 81+76=157, Resulting Numbers: [157] 157,88 unequal: No Solution Exploring Operation: 81*76=6156, Resulting Numbers: [6156] 6156,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[73, 84], Operations: ['16-13=3', '81+3=84'] Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,88 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[73, 27], Operations: ['16-13=3', '81/3=27'] Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,88 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 88:[81, 70], Operations: ['16-13=3', '73-3=70'] Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 88:[13, 8], Operations: ['73+16=89', '89-81=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,88 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[13, 24], Operations: ['73-16=57', '81-57=24'] Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[81, 44], Operations: ['73-16=57', '57-13=44'] Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[89, 94], Operations: ['73+16=89', '81+13=94'] Exploring Operation: 89*94=8366, Resulting Numbers: [8366] 8366,88 unequal: No Solution Exploring Operation: 89+94=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[81, 76], Operations: ['73+16=89', '89-13=76'] Exploring Operation: 81*76=6156, Resulting Numbers: [6156] 6156,88 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 81+76=157, Resulting Numbers: [157] 157,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[57, 94], Operations: ['73-16=57', '81+13=94'] Exploring Operation: 57+94=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 57*94=5358, Resulting Numbers: [5358] 5358,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[89, 68], Operations: ['73+16=89', '81-13=68'] Exploring Operation: 89*68=6052, Resulting Numbers: [6052] 6052,88 unequal: No Solution Exploring Operation: 89-68=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 89+68=157, Resulting Numbers: [157] 157,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[81, 102], Operations: ['73+16=89', '13+89=102'] Exploring Operation: 81*102=8262, Resulting Numbers: [8262] 8262,88 unequal: No Solution Exploring Operation: 81+102=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 102-81=21, Resulting Numbers: [21] 21,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[81, 70], Operations: ['73-16=57', '13+57=70'] Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,88 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[57, 68], Operations: ['73-16=57', '81-13=68'] Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,88 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,88 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 58, 64, 76, 37 ]
45
[ "64-58=6", "76-37=39", "6+39=45" ]
Current State: 45:[58, 64, 76, 37], Operations: [] Exploring Operation: 64-58=6, Resulting Numbers: [76, 37, 6] Generated Node #2: [76, 37, 6] from Operation: 64-58=6 Current State: 45:[76, 37, 6], Operations: ['64-58=6'] Exploring Operation: 76-37=39, Resulting Numbers: [6, 39] Generated Node #3: [6, 39] from Operation: 76-37=39 Current State: 45:[6, 39], Operations: ['64-58=6', '76-37=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[58, 64, 76, 37], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [58, 37, 12] Generated Node #0,0: 45:[58, 37, 12] Operation: 76-64=12 Exploring Operation: 58-37=21, Resulting Numbers: [64, 76, 21] Generated Node #0,1: 45:[64, 76, 21] Operation: 58-37=21 Exploring Operation: 76-37=39, Resulting Numbers: [58, 64, 39] Generated Node #0,2: 45:[58, 64, 39] Operation: 76-37=39 Exploring Operation: 64-58=6, Resulting Numbers: [76, 37, 6] Generated Node #0,3: 45:[76, 37, 6] Operation: 64-58=6 Exploring Operation: 76-58=18, Resulting Numbers: [64, 37, 18] Generated Node #0,4: 45:[64, 37, 18] Operation: 76-58=18 Moving to Node #0,0 Current State: 45:[58, 37, 12], Operations: ['76-64=12'] Exploring Operation: 58-37=21, Resulting Numbers: [12, 21] Generated Node #0,0,0: 45:[12, 21] Operation: 58-37=21 Exploring Operation: 58-12=46, Resulting Numbers: [37, 46] Generated Node #0,0,1: 45:[37, 46] Operation: 58-12=46 Exploring Operation: 58+12=70, Resulting Numbers: [37, 70] Generated Node #0,0,2: 45:[37, 70] Operation: 58+12=70 Exploring Operation: 37+12=49, Resulting Numbers: [58, 49] Generated Node #0,0,3: 45:[58, 49] Operation: 37+12=49 Exploring Operation: 37-12=25, Resulting Numbers: [58, 25] Generated Node #0,0,4: 45:[58, 25] Operation: 37-12=25 Moving to Node #0,4 Current State: 45:[64, 37, 18], Operations: ['76-58=18'] Exploring Operation: 37-18=19, Resulting Numbers: [64, 19] Generated Node #0,4,0: 45:[64, 19] Operation: 37-18=19 Exploring Operation: 37+18=55, Resulting Numbers: [64, 55] Generated Node #0,4,1: 45:[64, 55] Operation: 37+18=55 Exploring Operation: 64+18=82, Resulting Numbers: [37, 82] Generated Node #0,4,2: 45:[37, 82] Operation: 64+18=82 Exploring Operation: 64-37=27, Resulting Numbers: [18, 27] Generated Node #0,4,3: 45:[18, 27] Operation: 64-37=27 Exploring Operation: 64-18=46, Resulting Numbers: [37, 46] Generated Node #0,4,4: 45:[37, 46] Operation: 64-18=46 Moving to Node #0,2 Current State: 45:[58, 64, 39], Operations: ['76-37=39'] Exploring Operation: 58+39=97, Resulting Numbers: [64, 97] Generated Node #0,2,0: 45:[64, 97] Operation: 58+39=97 Exploring Operation: 58-39=19, Resulting Numbers: [64, 19] Generated Node #0,2,1: 45:[64, 19] Operation: 58-39=19 Exploring Operation: 64+39=103, Resulting Numbers: [58, 103] Generated Node #0,2,2: 45:[58, 103] Operation: 64+39=103 Exploring Operation: 64-58=6, Resulting Numbers: [39, 6] Generated Node #0,2,3: 45:[39, 6] Operation: 64-58=6 Exploring Operation: 64-39=25, Resulting Numbers: [58, 25] Generated Node #0,2,4: 45:[58, 25] Operation: 64-39=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[39, 6], Operations: ['76-37=39', '64-58=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[58, 64, 76, 37], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [58, 64, 39] Generated Node #0,2: 45:[58, 64, 39] Operation: 76-37=39 Moving to Node #0,2 Current State: 45:[58, 64, 39], Operations: ['76-37=39'] Exploring Operation: 64-58=6, Resulting Numbers: [39, 6] Generated Node #0,2,3: 45:[39, 6] Operation: 64-58=6 Moving to Node #0,2,3 Current State: 45:[39, 6], Operations: ['76-37=39', '64-58=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 96, 15, 17, 53 ]
11
[ "96-15=81", "17+53=70", "81-70=11" ]
Current State: 11:[96, 15, 17, 53], Operations: [] Exploring Operation: 96-15=81, Resulting Numbers: [17, 53, 81] Generated Node #2: [17, 53, 81] from Operation: 96-15=81 Current State: 11:[17, 53, 81], Operations: ['96-15=81'] Exploring Operation: 17+53=70, Resulting Numbers: [81, 70] Generated Node #3: [81, 70] from Operation: 17+53=70 Current State: 11:[81, 70], Operations: ['96-15=81', '17+53=70'] Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[96, 15, 17, 53], Operations: [] Exploring Operation: 96-53=43, Resulting Numbers: [15, 17, 43] Generated Node #0,0: 11:[15, 17, 43] Operation: 96-53=43 Moving to Node #0,0 Current State: 11:[15, 17, 43], Operations: ['96-53=43'] Exploring Operation: 43-17=26, Resulting Numbers: [15, 26] Generated Node #0,0,0: 11:[15, 26] Operation: 43-17=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[15, 26], Operations: ['96-53=43', '43-17=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[96, 15, 17, 53], Operations: [] Exploring Operation: 96-53=43, Resulting Numbers: [15, 17, 43] Generated Node #0,0: 11:[15, 17, 43] Operation: 96-53=43 Moving to Node #0,0 Current State: 11:[15, 17, 43], Operations: ['96-53=43'] Exploring Operation: 43-17=26, Resulting Numbers: [15, 26] Generated Node #0,0,0: 11:[15, 26] Operation: 43-17=26 Moving to Node #0,0,0 Current State: 11:[15, 26], Operations: ['96-53=43', '43-17=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 10, 4, 20 ]
30
[ "13+4=17", "20-17=3", "10*3=30" ]
Current State: 30:[13, 10, 4, 20], Operations: [] Exploring Operation: 13+4=17, Resulting Numbers: [10, 20, 17] Generated Node #2: [10, 20, 17] from Operation: 13+4=17 Current State: 30:[10, 20, 17], Operations: ['13+4=17'] Exploring Operation: 20-17=3, Resulting Numbers: [10, 3] Generated Node #3: [10, 3] from Operation: 20-17=3 Current State: 30:[10, 3], Operations: ['13+4=17', '20-17=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[13, 10, 4, 20], Operations: [] Exploring Operation: 10+20=30, Resulting Numbers: [13, 4, 30] Generated Node #0,0: 30:[13, 4, 30] Operation: 10+20=30 Exploring Operation: 20-13=7, Resulting Numbers: [10, 4, 7] Generated Node #0,1: 30:[10, 4, 7] Operation: 20-13=7 Exploring Operation: 20/4=5, Resulting Numbers: [13, 10, 5] Generated Node #0,2: 30:[13, 10, 5] Operation: 20/4=5 Moving to Node #0,1 Current State: 30:[10, 4, 7], Operations: ['20-13=7'] Exploring Operation: 7-4=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 30:[10, 3] Operation: 7-4=3 Exploring Operation: 10-4=6, Resulting Numbers: [7, 6] Generated Node #0,1,1: 30:[7, 6] Operation: 10-4=6 Exploring Operation: 10-7=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 30:[4, 3] Operation: 10-7=3 Moving to Node #0,2 Current State: 30:[13, 10, 5], Operations: ['20/4=5'] Exploring Operation: 13-10=3, Resulting Numbers: [5, 3] Generated Node #0,2,0: 30:[5, 3] Operation: 13-10=3 Exploring Operation: 13-5=8, Resulting Numbers: [10, 8] Generated Node #0,2,1: 30:[10, 8] Operation: 13-5=8 Exploring Operation: 10+5=15, Resulting Numbers: [13, 15] Generated Node #0,2,2: 30:[13, 15] Operation: 10+5=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[5, 3], Operations: ['20/4=5', '13-10=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[10, 8], Operations: ['20/4=5', '13-5=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[13, 15], Operations: ['20/4=5', '10+5=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,30 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,30 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: 30:[13, 4, 30], Operations: ['10+20=30'] Exploring Operation: 13+4=17, Resulting Numbers: [30, 17] Generated Node #0,0,0: 30:[30, 17] Operation: 13+4=17 Exploring Operation: 13-4=9, Resulting Numbers: [30, 9] Generated Node #0,0,1: 30:[30, 9] Operation: 13-4=9 Exploring Operation: 30-13=17, Resulting Numbers: [4, 17] Generated Node #0,0,2: 30:[4, 17] Operation: 30-13=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[30, 9], Operations: ['10+20=30', '13-4=9'] Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,30 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[30, 17], Operations: ['10+20=30', '13+4=17'] Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,30 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[4, 17], Operations: ['10+20=30', '30-13=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 30:[10, 3], Operations: ['20-13=7', '7-4=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[13, 10, 4, 20], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [10, 4, 7] Generated Node #0,1: 30:[10, 4, 7] Operation: 20-13=7 Moving to Node #0,1 Current State: 30:[10, 4, 7], Operations: ['20-13=7'] Exploring Operation: 7-4=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 30:[10, 3] Operation: 7-4=3 Moving to Node #0,1,0 Current State: 30:[10, 3], Operations: ['20-13=7', '7-4=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 1, 4, 64, 24 ]
41
[ "1+24=25", "64/4=16", "25+16=41" ]
Current State: 41:[1, 4, 64, 24], Operations: [] Exploring Operation: 1+24=25, Resulting Numbers: [4, 64, 25] Generated Node #2: [4, 64, 25] from Operation: 1+24=25 Current State: 41:[4, 64, 25], Operations: ['1+24=25'] Exploring Operation: 64/4=16, Resulting Numbers: [25, 16] Generated Node #3: [25, 16] from Operation: 64/4=16 Current State: 41:[25, 16], Operations: ['1+24=25', '64/4=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[1, 4, 64, 24], Operations: [] Exploring Operation: 1+24=25, Resulting Numbers: [4, 64, 25] Generated Node #0,0: 41:[4, 64, 25] Operation: 1+24=25 Exploring Operation: 64-1=63, Resulting Numbers: [4, 24, 63] Generated Node #0,1: 41:[4, 24, 63] Operation: 64-1=63 Exploring Operation: 1+4=5, Resulting Numbers: [64, 24, 5] Generated Node #0,2: 41:[64, 24, 5] Operation: 1+4=5 Moving to Node #0,0 Current State: 41:[4, 64, 25], Operations: ['1+24=25'] Exploring Operation: 64-4=60, Resulting Numbers: [25, 60] Generated Node #0,0,0: 41:[25, 60] Operation: 64-4=60 Exploring Operation: 64-25=39, Resulting Numbers: [4, 39] Generated Node #0,0,1: 41:[4, 39] Operation: 64-25=39 Exploring Operation: 4+25=29, Resulting Numbers: [64, 29] Generated Node #0,0,2: 41:[64, 29] Operation: 4+25=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[25, 60], Operations: ['1+24=25', '64-4=60'] Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,41 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[64, 29], Operations: ['1+24=25', '4+25=29'] Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,41 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[4, 39], Operations: ['1+24=25', '64-25=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,41 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: 41:[4, 24, 63], Operations: ['64-1=63'] Exploring Operation: 63-4=59, Resulting Numbers: [24, 59] Generated Node #0,1,0: 41:[24, 59] Operation: 63-4=59 Exploring Operation: 63-24=39, Resulting Numbers: [4, 39] Generated Node #0,1,1: 41:[4, 39] Operation: 63-24=39 Exploring Operation: 4+24=28, Resulting Numbers: [63, 28] Generated Node #0,1,2: 41:[63, 28] Operation: 4+24=28 Moving to Node #0,2 Current State: 41:[64, 24, 5], Operations: ['1+4=5'] Exploring Operation: 64-24=40, Resulting Numbers: [5, 40] Generated Node #0,2,0: 41:[5, 40] Operation: 64-24=40 Exploring Operation: 64-5=59, Resulting Numbers: [24, 59] Generated Node #0,2,1: 41:[24, 59] Operation: 64-5=59 Exploring Operation: 24+5=29, Resulting Numbers: [64, 29] Generated Node #0,2,2: 41:[64, 29] Operation: 24+5=29 Moving to Node #0,1,0 Current State: 41:[24, 59], Operations: ['64-1=63', '63-4=59'] Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,41 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,41 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[63, 28], Operations: ['64-1=63', '4+24=28'] Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,41 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[64, 29], Operations: ['1+4=5', '24+5=29'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,41 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[24, 59], Operations: ['1+4=5', '64-5=59'] Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,41 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,41 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[5, 40], Operations: ['1+4=5', '64-24=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[4, 39], Operations: ['64-1=63', '63-24=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,41 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,41 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 91, 71, 14, 19 ]
100
[ "91-71=20", "19-14=5", "20*5=100" ]
Current State: 100:[91, 71, 14, 19], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [14, 19, 20] Generated Node #2: [14, 19, 20] from Operation: 91-71=20 Current State: 100:[14, 19, 20], Operations: ['91-71=20'] Exploring Operation: 19-14=5, Resulting Numbers: [20, 5] Generated Node #3: [20, 5] from Operation: 19-14=5 Current State: 100:[20, 5], Operations: ['91-71=20', '19-14=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[91, 71, 14, 19], Operations: [] Exploring Operation: 71-19=52, Resulting Numbers: [91, 14, 52] Generated Node #0,0: 100:[91, 14, 52] Operation: 71-19=52 Exploring Operation: 71-14=57, Resulting Numbers: [91, 19, 57] Generated Node #0,1: 100:[91, 19, 57] Operation: 71-14=57 Exploring Operation: 91-71=20, Resulting Numbers: [14, 19, 20] Generated Node #0,2: 100:[14, 19, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[14, 19, 20], Operations: ['91-71=20'] Exploring Operation: 19-14=5, Resulting Numbers: [20, 5] Generated Node #0,2,0: 100:[20, 5] Operation: 19-14=5 Exploring Operation: 20-14=6, Resulting Numbers: [19, 6] Generated Node #0,2,1: 100:[19, 6] Operation: 20-14=6 Exploring Operation: 20-19=1, Resulting Numbers: [14, 1] Generated Node #0,2,2: 100:[14, 1] Operation: 20-19=1 Moving to Node #0,2,0 Current State: 100:[20, 5], Operations: ['91-71=20', '19-14=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[91, 71, 14, 19], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [14, 19, 20] Generated Node #0,2: 100:[14, 19, 20] Operation: 91-71=20 Moving to Node #0,2 Current State: 100:[14, 19, 20], Operations: ['91-71=20'] Exploring Operation: 19-14=5, Resulting Numbers: [20, 5] Generated Node #0,2,0: 100:[20, 5] Operation: 19-14=5 Moving to Node #0,2,0 Current State: 100:[20, 5], Operations: ['91-71=20', '19-14=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 35, 98, 4, 56 ]
81
[ "35+98=133", "56-4=52", "133-52=81" ]
Current State: 81:[35, 98, 4, 56], Operations: [] Exploring Operation: 35+98=133, Resulting Numbers: [4, 56, 133] Generated Node #2: [4, 56, 133] from Operation: 35+98=133 Current State: 81:[4, 56, 133], Operations: ['35+98=133'] Exploring Operation: 56-4=52, Resulting Numbers: [133, 52] Generated Node #3: [133, 52] from Operation: 56-4=52 Current State: 81:[133, 52], Operations: ['35+98=133', '56-4=52'] Exploring Operation: 133-52=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[35, 98, 4, 56], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [98, 4, 21] Generated Node #0,0: 81:[98, 4, 21] Operation: 56-35=21 Exploring Operation: 98-56=42, Resulting Numbers: [35, 4, 42] Generated Node #0,1: 81:[35, 4, 42] Operation: 98-56=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[98, 4, 21], Operations: ['56-35=21'] Exploring Operation: 98-21=77, Resulting Numbers: [4, 77] Generated Node #0,0,0: 81:[4, 77] Operation: 98-21=77 Exploring Operation: 98-4=94, Resulting Numbers: [21, 94] Generated Node #0,0,1: 81:[21, 94] Operation: 98-4=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[4, 77], Operations: ['56-35=21', '98-21=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[35, 98, 4, 56], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [98, 4, 21] Generated Node #0,0: 81:[98, 4, 21] Operation: 56-35=21 Moving to Node #0,0 Current State: 81:[98, 4, 21], Operations: ['56-35=21'] Exploring Operation: 98-21=77, Resulting Numbers: [4, 77] Generated Node #0,0,0: 81:[4, 77] Operation: 98-21=77 Moving to Node #0,0,0 Current State: 81:[4, 77], Operations: ['56-35=21', '98-21=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 83, 64, 32, 7 ]
97
[ "64/32=2", "7*2=14", "83+14=97" ]
Current State: 97:[83, 64, 32, 7], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [83, 7, 2] Generated Node #2: [83, 7, 2] from Operation: 64/32=2 Current State: 97:[83, 7, 2], Operations: ['64/32=2'] Exploring Operation: 7*2=14, Resulting Numbers: [83, 14] Generated Node #3: [83, 14] from Operation: 7*2=14 Current State: 97:[83, 14], Operations: ['64/32=2', '7*2=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[83, 64, 32, 7], Operations: [] Exploring Operation: 83-7=76, Resulting Numbers: [64, 32, 76] Generated Node #0,0: 97:[64, 32, 76] Operation: 83-7=76 Exploring Operation: 32+7=39, Resulting Numbers: [83, 64, 39] Generated Node #0,1: 97:[83, 64, 39] Operation: 32+7=39 Exploring Operation: 64+7=71, Resulting Numbers: [83, 32, 71] Generated Node #0,2: 97:[83, 32, 71] Operation: 64+7=71 Exploring Operation: 64+32=96, Resulting Numbers: [83, 7, 96] Generated Node #0,3: 97:[83, 7, 96] Operation: 64+32=96 Exploring Operation: 83+7=90, Resulting Numbers: [64, 32, 90] Generated Node #0,4: 97:[64, 32, 90] Operation: 83+7=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[83, 64, 39], Operations: ['32+7=39'] Exploring Operation: 83-39=44, Resulting Numbers: [64, 44] Generated Node #0,1,0: 97:[64, 44] Operation: 83-39=44 Exploring Operation: 83+39=122, Resulting Numbers: [64, 122] Generated Node #0,1,1: 97:[64, 122] Operation: 83+39=122 Exploring Operation: 83+64=147, Resulting Numbers: [39, 147] Generated Node #0,1,2: 97:[39, 147] Operation: 83+64=147 Exploring Operation: 64+39=103, Resulting Numbers: [83, 103] Generated Node #0,1,3: 97:[83, 103] Operation: 64+39=103 Exploring Operation: 64-39=25, Resulting Numbers: [83, 25] Generated Node #0,1,4: 97:[83, 25] Operation: 64-39=25 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 97:[83, 103], Operations: ['32+7=39', '64+39=103'] Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,97 unequal: No Solution Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[64, 122], Operations: ['32+7=39', '83+39=122'] Exploring Operation: 122-64=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 64*122=7808, Resulting Numbers: [7808] 7808,97 unequal: No Solution Exploring Operation: 64+122=186, Resulting Numbers: [186] 186,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[64, 44], Operations: ['32+7=39', '83-39=44'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,97 unequal: No Solution Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 97:[83, 25], Operations: ['32+7=39', '64-39=25'] Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,97 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[39, 147], Operations: ['32+7=39', '83+64=147'] Exploring Operation: 39*147=5733, Resulting Numbers: [5733] 5733,97 unequal: No Solution Exploring Operation: 147-39=108, Resulting Numbers: [108] 108,97 unequal: No Solution Exploring Operation: 39+147=186, Resulting Numbers: [186] 186,97 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: 97:[83, 32, 71], Operations: ['64+7=71'] Exploring Operation: 83+32=115, Resulting Numbers: [71, 115] Generated Node #0,2,0: 97:[71, 115] Operation: 83+32=115 Exploring Operation: 83-32=51, Resulting Numbers: [71, 51] Generated Node #0,2,1: 97:[71, 51] Operation: 83-32=51 Exploring Operation: 32+71=103, Resulting Numbers: [83, 103] Generated Node #0,2,2: 97:[83, 103] Operation: 32+71=103 Exploring Operation: 83+71=154, Resulting Numbers: [32, 154] Generated Node #0,2,3: 97:[32, 154] Operation: 83+71=154 Exploring Operation: 71-32=39, Resulting Numbers: [83, 39] Generated Node #0,2,4: 97:[83, 39] Operation: 71-32=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[83, 103], Operations: ['64+7=71', '32+71=103'] Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[71, 115], Operations: ['64+7=71', '83+32=115'] Exploring Operation: 71+115=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 71*115=8165, Resulting Numbers: [8165] 8165,97 unequal: No Solution Exploring Operation: 115-71=44, Resulting Numbers: [44] 44,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[71, 51], Operations: ['64+7=71', '83-32=51'] Exploring Operation: 71*51=3621, Resulting Numbers: [3621] 3621,97 unequal: No Solution Exploring Operation: 71+51=122, Resulting Numbers: [122] 122,97 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 97:[83, 39], Operations: ['64+7=71', '71-32=39'] Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,97 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,97 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[32, 154], Operations: ['64+7=71', '83+71=154'] Exploring Operation: 32+154=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 32*154=4928, Resulting Numbers: [4928] 4928,97 unequal: No Solution Exploring Operation: 154-32=122, Resulting Numbers: [122] 122,97 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: 97:[83, 7, 96], Operations: ['64+32=96'] Exploring Operation: 7+96=103, Resulting Numbers: [83, 103] Generated Node #0,3,0: 97:[83, 103] Operation: 7+96=103 Exploring Operation: 83-7=76, Resulting Numbers: [96, 76] Generated Node #0,3,1: 97:[96, 76] Operation: 83-7=76 Exploring Operation: 96-7=89, Resulting Numbers: [83, 89] Generated Node #0,3,2: 97:[83, 89] Operation: 96-7=89 Exploring Operation: 83+7=90, Resulting Numbers: [96, 90] Generated Node #0,3,3: 97:[96, 90] Operation: 83+7=90 Exploring Operation: 83+96=179, Resulting Numbers: [7, 179] Generated Node #0,3,4: 97:[7, 179] Operation: 83+96=179 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[96, 90], Operations: ['64+32=96', '83+7=90'] Exploring Operation: 96*90=8640, Resulting Numbers: [8640] 8640,97 unequal: No Solution Exploring Operation: 96+90=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[83, 103], Operations: ['64+32=96', '7+96=103'] Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,97 unequal: No Solution Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[96, 76], Operations: ['64+32=96', '83-7=76'] Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[83, 89], Operations: ['64+32=96', '96-7=89'] Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 83*89=7387, Resulting Numbers: [7387] 7387,97 unequal: No Solution Exploring Operation: 83+89=172, Resulting Numbers: [172] 172,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 97:[7, 179], Operations: ['64+32=96', '83+96=179'] Exploring Operation: 7*179=1253, Resulting Numbers: [1253] 1253,97 unequal: No Solution Exploring Operation: 179-7=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 7+179=186, Resulting Numbers: [186] 186,97 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: 97:[64, 32, 90], Operations: ['83+7=90'] Exploring Operation: 64/32=2, Resulting Numbers: [90, 2] Generated Node #0,4,0: 97:[90, 2] Operation: 64/32=2 Exploring Operation: 90-32=58, Resulting Numbers: [64, 58] Generated Node #0,4,1: 97:[64, 58] Operation: 90-32=58 Exploring Operation: 64-32=32, Resulting Numbers: [90, 32] Generated Node #0,4,2: 97:[90, 32] Operation: 64-32=32 Exploring Operation: 64+32=96, Resulting Numbers: [90, 96] Generated Node #0,4,3: 97:[90, 96] Operation: 64+32=96 Exploring Operation: 32+90=122, Resulting Numbers: [64, 122] Generated Node #0,4,4: 97:[64, 122] Operation: 32+90=122 Moving to Node #0,4,3 Current State: 97:[90, 96], Operations: ['83+7=90', '64+32=96'] Exploring Operation: 90*96=8640, Resulting Numbers: [8640] 8640,97 unequal: No Solution Exploring Operation: 90+96=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[64, 122], Operations: ['83+7=90', '32+90=122'] Exploring Operation: 64+122=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 64*122=7808, Resulting Numbers: [7808] 7808,97 unequal: No Solution Exploring Operation: 122-64=58, Resulting Numbers: [58] 58,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[64, 58], Operations: ['83+7=90', '90-32=58'] Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,97 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[90, 32], Operations: ['83+7=90', '64-32=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,97 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,97 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[90, 2], Operations: ['83+7=90', '64/32=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[64, 32, 76], Operations: ['83-7=76'] Exploring Operation: 64+76=140, Resulting Numbers: [32, 140] Generated Node #0,0,0: 97:[32, 140] Operation: 64+76=140 Exploring Operation: 64+32=96, Resulting Numbers: [76, 96] Generated Node #0,0,1: 97:[76, 96] Operation: 64+32=96 Exploring Operation: 64-32=32, Resulting Numbers: [76, 32] Generated Node #0,0,2: 97:[76, 32] Operation: 64-32=32 Exploring Operation: 76-32=44, Resulting Numbers: [64, 44] Generated Node #0,0,3: 97:[64, 44] Operation: 76-32=44 Exploring Operation: 32+76=108, Resulting Numbers: [64, 108] Generated Node #0,0,4: 97:[64, 108] Operation: 32+76=108 Moving to Node #0,0,1 Current State: 97:[76, 96], Operations: ['83-7=76', '64+32=96'] Exploring Operation: 76*96=7296, Resulting Numbers: [7296] 7296,97 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 76+96=172, Resulting Numbers: [172] 172,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[64, 108], Operations: ['83-7=76', '32+76=108'] Exploring Operation: 64*108=6912, Resulting Numbers: [6912] 6912,97 unequal: No Solution Exploring Operation: 108-64=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 64+108=172, Resulting Numbers: [172] 172,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[76, 32], Operations: ['83-7=76', '64-32=32'] Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,97 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[64, 44], Operations: ['83-7=76', '76-32=44'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,97 unequal: No Solution Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[32, 140], Operations: ['83-7=76', '64+76=140'] Exploring Operation: 32+140=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 32*140=4480, Resulting Numbers: [4480] 4480,97 unequal: No Solution Exploring Operation: 140-32=108, Resulting Numbers: [108] 108,97 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
[ 18, 30, 7, 3 ]
43
[ "30-18=12", "3*12=36", "7+36=43" ]
Current State: 43:[18, 30, 7, 3], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [7, 3, 12] Generated Node #2: [7, 3, 12] from Operation: 30-18=12 Current State: 43:[7, 3, 12], Operations: ['30-18=12'] Exploring Operation: 3*12=36, Resulting Numbers: [7, 36] Generated Node #3: [7, 36] from Operation: 3*12=36 Current State: 43:[7, 36], Operations: ['30-18=12', '3*12=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[18, 30, 7, 3], Operations: [] Exploring Operation: 7*3=21, Resulting Numbers: [18, 30, 21] Generated Node #0,0: 43:[18, 30, 21] Operation: 7*3=21 Exploring Operation: 18*3=54, Resulting Numbers: [30, 7, 54] Generated Node #0,1: 43:[30, 7, 54] Operation: 18*3=54 Moving to Node #0,0 Current State: 43:[18, 30, 21], Operations: ['7*3=21'] Exploring Operation: 18+21=39, Resulting Numbers: [30, 39] Generated Node #0,0,0: 43:[30, 39] Operation: 18+21=39 Exploring Operation: 18+30=48, Resulting Numbers: [21, 48] Generated Node #0,0,1: 43:[21, 48] Operation: 18+30=48 Moving to Node #0,1 Current State: 43:[30, 7, 54], Operations: ['18*3=54'] Exploring Operation: 54-7=47, Resulting Numbers: [30, 47] Generated Node #0,1,0: 43:[30, 47] Operation: 54-7=47 Exploring Operation: 30+7=37, Resulting Numbers: [54, 37] Generated Node #0,1,1: 43:[54, 37] Operation: 30+7=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[30, 47], Operations: ['18*3=54', '54-7=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,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:[54, 37], Operations: ['18*3=54', '30+7=37'] Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 43:[30, 39], Operations: ['7*3=21', '18+21=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[21, 48], Operations: ['7*3=21', '18+30=48'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 83, 56, 62, 11 ]
88
[ "83+56=139", "62-11=51", "139-51=88" ]
Current State: 88:[83, 56, 62, 11], Operations: [] Exploring Operation: 83+56=139, Resulting Numbers: [62, 11, 139] Generated Node #2: [62, 11, 139] from Operation: 83+56=139 Current State: 88:[62, 11, 139], Operations: ['83+56=139'] Exploring Operation: 62-11=51, Resulting Numbers: [139, 51] Generated Node #3: [139, 51] from Operation: 62-11=51 Current State: 88:[139, 51], Operations: ['83+56=139', '62-11=51'] Exploring Operation: 139-51=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[83, 56, 62, 11], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [83, 11, 6] Generated Node #0,0: 88:[83, 11, 6] Operation: 62-56=6 Exploring Operation: 83-62=21, Resulting Numbers: [56, 11, 21] Generated Node #0,1: 88:[56, 11, 21] Operation: 83-62=21 Moving to Node #0,0 Current State: 88:[83, 11, 6], Operations: ['62-56=6'] Exploring Operation: 11-6=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 88:[83, 5] Operation: 11-6=5 Exploring Operation: 83+6=89, Resulting Numbers: [11, 89] Generated Node #0,0,1: 88:[11, 89] Operation: 83+6=89 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[11, 89], Operations: ['62-56=6', '83+6=89'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[83, 5], Operations: ['62-56=6', '11-6=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[83, 56, 62, 11], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [83, 11, 6] Generated Node #0,0: 88:[83, 11, 6] Operation: 62-56=6 Moving to Node #0,0 Current State: 88:[83, 11, 6], Operations: ['62-56=6'] Exploring Operation: 11-6=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 88:[83, 5] Operation: 11-6=5 Moving to Node #0,0,0 Current State: 88:[83, 5], Operations: ['62-56=6', '11-6=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 54, 57, 79, 12 ]
83
[ "57-54=3", "12/3=4", "79+4=83" ]
Current State: 83:[54, 57, 79, 12], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [79, 12, 3] Generated Node #2: [79, 12, 3] from Operation: 57-54=3 Current State: 83:[79, 12, 3], Operations: ['57-54=3'] Exploring Operation: 12/3=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 12/3=4 Current State: 83:[79, 4], Operations: ['57-54=3', '12/3=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[54, 57, 79, 12], Operations: [] Exploring Operation: 54+12=66, Resulting Numbers: [57, 79, 66] Generated Node #0,0: 83:[57, 79, 66] Operation: 54+12=66 Moving to Node #0,0 Current State: 83:[57, 79, 66], Operations: ['54+12=66'] Exploring Operation: 57+66=123, Resulting Numbers: [79, 123] Generated Node #0,0,0: 83:[79, 123] Operation: 57+66=123 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[79, 123], Operations: ['54+12=66', '57+66=123'] Exploring Operation: 123-79=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 61, 65, 61, 56 ]
56
[ "61-61=0", "65*0=0", "56+0=56" ]
Current State: 56:[61, 65, 61, 56], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [65, 56, 0] Generated Node #2: [65, 56, 0] from Operation: 61-61=0 Current State: 56:[65, 56, 0], Operations: ['61-61=0'] Exploring Operation: 65*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 65*0=0 Current State: 56:[56, 0], Operations: ['61-61=0', '65*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[61, 65, 61, 56], Operations: [] Exploring Operation: 65-61=4, Resulting Numbers: [61, 56, 4] Generated Node #0,0: 56:[61, 56, 4] Operation: 65-61=4 Exploring Operation: 65-61=4, Resulting Numbers: [61, 56, 4] Generated Node #0,1: 56:[61, 56, 4] Operation: 65-61=4 Exploring Operation: 61-61=0, Resulting Numbers: [65, 56, 0] Generated Node #0,2: 56:[65, 56, 0] Operation: 61-61=0 Exploring Operation: 61/61=1, Resulting Numbers: [65, 56, 1] Generated Node #0,3: 56:[65, 56, 1] Operation: 61/61=1 Moving to Node #0,0 Current State: 56:[61, 56, 4], Operations: ['65-61=4'] Exploring Operation: 61-56=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 56:[4, 5] Operation: 61-56=5 Exploring Operation: 61-4=57, Resulting Numbers: [56, 57] Generated Node #0,0,1: 56:[56, 57] Operation: 61-4=57 Exploring Operation: 61+4=65, Resulting Numbers: [56, 65] Generated Node #0,0,2: 56:[56, 65] Operation: 61+4=65 Exploring Operation: 56/4=14, Resulting Numbers: [61, 14] Generated Node #0,0,3: 56:[61, 14] Operation: 56/4=14 Moving to Node #0,1 Current State: 56:[61, 56, 4], Operations: ['65-61=4'] Exploring Operation: 61-4=57, Resulting Numbers: [56, 57] Generated Node #0,1,0: 56:[56, 57] Operation: 61-4=57 Exploring Operation: 61-56=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 56:[4, 5] Operation: 61-56=5 Exploring Operation: 61+4=65, Resulting Numbers: [56, 65] Generated Node #0,1,2: 56:[56, 65] Operation: 61+4=65 Exploring Operation: 56/4=14, Resulting Numbers: [61, 14] Generated Node #0,1,3: 56:[61, 14] Operation: 56/4=14 Moving to Node #0,3 Current State: 56:[65, 56, 1], Operations: ['61/61=1'] Exploring Operation: 65-1=64, Resulting Numbers: [56, 64] Generated Node #0,3,0: 56:[56, 64] Operation: 65-1=64 Exploring Operation: 65-56=9, Resulting Numbers: [1, 9] Generated Node #0,3,1: 56:[1, 9] Operation: 65-56=9 Exploring Operation: 65/1=65, Resulting Numbers: [56, 65] Generated Node #0,3,2: 56:[56, 65] Operation: 65/1=65 Exploring Operation: 65*1=65, Resulting Numbers: [56, 65] Generated Node #0,3,3: 56:[56, 65] Operation: 65*1=65 Moving to Node #0,2 Current State: 56:[65, 56, 0], Operations: ['61-61=0'] Exploring Operation: 65*0=0, Resulting Numbers: [56, 0] Generated Node #0,2,0: 56:[56, 0] Operation: 65*0=0 Exploring Operation: 65+0=65, Resulting Numbers: [56, 65] Generated Node #0,2,1: 56:[56, 65] Operation: 65+0=65 Exploring Operation: 65-56=9, Resulting Numbers: [0, 9] Generated Node #0,2,2: 56:[0, 9] Operation: 65-56=9 Exploring Operation: 65-0=65, Resulting Numbers: [56, 65] Generated Node #0,2,3: 56:[56, 65] Operation: 65-0=65 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[56, 0], Operations: ['61-61=0', '65*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[61, 65, 61, 56], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [65, 56, 0] Generated Node #0,2: 56:[65, 56, 0] Operation: 61-61=0 Moving to Node #0,2 Current State: 56:[65, 56, 0], Operations: ['61-61=0'] Exploring Operation: 65*0=0, Resulting Numbers: [56, 0] Generated Node #0,2,0: 56:[56, 0] Operation: 65*0=0 Moving to Node #0,2,0 Current State: 56:[56, 0], Operations: ['61-61=0', '65*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 68, 86, 55, 3 ]
33
[ "68+86=154", "154-55=99", "99/3=33" ]
Current State: 33:[68, 86, 55, 3], Operations: [] Exploring Operation: 68+86=154, Resulting Numbers: [55, 3, 154] Generated Node #2: [55, 3, 154] from Operation: 68+86=154 Current State: 33:[55, 3, 154], Operations: ['68+86=154'] Exploring Operation: 154-55=99, Resulting Numbers: [3, 99] Generated Node #3: [3, 99] from Operation: 154-55=99 Current State: 33:[3, 99], Operations: ['68+86=154', '154-55=99'] Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[68, 86, 55, 3], Operations: [] Exploring Operation: 86-3=83, Resulting Numbers: [68, 55, 83] Generated Node #0,0: 33:[68, 55, 83] Operation: 86-3=83 Exploring Operation: 68-55=13, Resulting Numbers: [86, 3, 13] Generated Node #0,1: 33:[86, 3, 13] Operation: 68-55=13 Exploring Operation: 86-55=31, Resulting Numbers: [68, 3, 31] Generated Node #0,2: 33:[68, 3, 31] Operation: 86-55=31 Exploring Operation: 68-3=65, Resulting Numbers: [86, 55, 65] Generated Node #0,3: 33:[86, 55, 65] Operation: 68-3=65 Exploring Operation: 86-68=18, Resulting Numbers: [55, 3, 18] Generated Node #0,4: 33:[55, 3, 18] Operation: 86-68=18 Moving to Node #0,4 Current State: 33:[55, 3, 18], Operations: ['86-68=18'] Exploring Operation: 55+3=58, Resulting Numbers: [18, 58] Generated Node #0,4,0: 33:[18, 58] Operation: 55+3=58 Exploring Operation: 55-3=52, Resulting Numbers: [18, 52] Generated Node #0,4,1: 33:[18, 52] Operation: 55-3=52 Exploring Operation: 18/3=6, Resulting Numbers: [55, 6] Generated Node #0,4,2: 33:[55, 6] Operation: 18/3=6 Exploring Operation: 55-18=37, Resulting Numbers: [3, 37] Generated Node #0,4,3: 33:[3, 37] Operation: 55-18=37 Exploring Operation: 18-3=15, Resulting Numbers: [55, 15] Generated Node #0,4,4: 33:[55, 15] Operation: 18-3=15 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 33:[3, 37], Operations: ['86-68=18', '55-18=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,33 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,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,4,2 Current State: 33:[55, 6], Operations: ['86-68=18', '18/3=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,33 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,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,4,1 Current State: 33:[18, 52], Operations: ['86-68=18', '55-3=52'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,33 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,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,4,4 Current State: 33:[55, 15], Operations: ['86-68=18', '18-3=15'] Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 55*15=825, Resulting Numbers: [825] 825,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,4,0 Current State: 33:[18, 58], Operations: ['86-68=18', '55+3=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,33 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,33 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: 33:[68, 3, 31], Operations: ['86-55=31'] Exploring Operation: 68-3=65, Resulting Numbers: [31, 65] Generated Node #0,2,0: 33:[31, 65] Operation: 68-3=65 Exploring Operation: 31-3=28, Resulting Numbers: [68, 28] Generated Node #0,2,1: 33:[68, 28] Operation: 31-3=28 Exploring Operation: 3+31=34, Resulting Numbers: [68, 34] Generated Node #0,2,2: 33:[68, 34] Operation: 3+31=34 Exploring Operation: 68-31=37, Resulting Numbers: [3, 37] Generated Node #0,2,3: 33:[3, 37] Operation: 68-31=37 Exploring Operation: 68+3=71, Resulting Numbers: [31, 71] Generated Node #0,2,4: 33:[31, 71] Operation: 68+3=71 Moving to Node #0,1 Current State: 33:[86, 3, 13], Operations: ['68-55=13'] Exploring Operation: 86-13=73, Resulting Numbers: [3, 73] Generated Node #0,1,0: 33:[3, 73] Operation: 86-13=73 Exploring Operation: 3+13=16, Resulting Numbers: [86, 16] Generated Node #0,1,1: 33:[86, 16] Operation: 3+13=16 Exploring Operation: 13-3=10, Resulting Numbers: [86, 10] Generated Node #0,1,2: 33:[86, 10] Operation: 13-3=10 Exploring Operation: 86-3=83, Resulting Numbers: [13, 83] Generated Node #0,1,3: 33:[13, 83] Operation: 86-3=83 Exploring Operation: 86+3=89, Resulting Numbers: [13, 89] Generated Node #0,1,4: 33:[13, 89] Operation: 86+3=89 Moving to Node #0,0 Current State: 33:[68, 55, 83], Operations: ['86-3=83'] Exploring Operation: 83-55=28, Resulting Numbers: [68, 28] Generated Node #0,0,0: 33:[68, 28] Operation: 83-55=28 Exploring Operation: 68+83=151, Resulting Numbers: [55, 151] Generated Node #0,0,1: 33:[55, 151] Operation: 68+83=151 Exploring Operation: 83-68=15, Resulting Numbers: [55, 15] Generated Node #0,0,2: 33:[55, 15] Operation: 83-68=15 Exploring Operation: 68-55=13, Resulting Numbers: [83, 13] Generated Node #0,0,3: 33:[83, 13] Operation: 68-55=13 Exploring Operation: 68+55=123, Resulting Numbers: [83, 123] Generated Node #0,0,4: 33:[83, 123] Operation: 68+55=123 Moving to Node #0,3 Current State: 33:[86, 55, 65], Operations: ['68-3=65'] Exploring Operation: 86+65=151, Resulting Numbers: [55, 151] Generated Node #0,3,0: 33:[55, 151] Operation: 86+65=151 Exploring Operation: 65-55=10, Resulting Numbers: [86, 10] Generated Node #0,3,1: 33:[86, 10] Operation: 65-55=10 Exploring Operation: 86-55=31, Resulting Numbers: [65, 31] Generated Node #0,3,2: 33:[65, 31] Operation: 86-55=31 Exploring Operation: 86+55=141, Resulting Numbers: [65, 141] Generated Node #0,3,3: 33:[65, 141] Operation: 86+55=141 Exploring Operation: 86-65=21, Resulting Numbers: [55, 21] Generated Node #0,3,4: 33:[55, 21] Operation: 86-65=21 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 33:[55, 21], Operations: ['68-3=65', '86-65=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,33 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,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,3,2 Current State: 33:[65, 31], Operations: ['68-3=65', '86-55=31'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,33 unequal: No Solution Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,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,3,1 Current State: 33:[86, 10], Operations: ['68-3=65', '65-55=10'] Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,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,3,0 Current State: 33:[55, 151], Operations: ['68-3=65', '86+65=151'] Exploring Operation: 55+151=206, Resulting Numbers: [206] 206,33 unequal: No Solution Exploring Operation: 55*151=8305, Resulting Numbers: [8305] 8305,33 unequal: No Solution Exploring Operation: 151-55=96, Resulting Numbers: [96] 96,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,3,3 Current State: 33:[65, 141], Operations: ['68-3=65', '86+55=141'] Exploring Operation: 65+141=206, Resulting Numbers: [206] 206,33 unequal: No Solution Exploring Operation: 141-65=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 65*141=9165, Resulting Numbers: [9165] 9165,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 33:[3, 37], Operations: ['86-55=31', '68-31=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[55, 15], Operations: ['86-3=83', '83-68=15'] Exploring Operation: 55*15=825, Resulting Numbers: [825] 825,33 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[31, 65], Operations: ['86-55=31', '68-3=65'] Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,33 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[68, 34], Operations: ['86-55=31', '3+31=34'] Exploring Operation: 68*34=2312, Resulting Numbers: [2312] 2312,33 unequal: No Solution Exploring Operation: 68+34=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[3, 73], Operations: ['68-55=13', '86-13=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,33 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[68, 28], Operations: ['86-3=83', '83-55=28'] Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,33 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[31, 71], Operations: ['86-55=31', '68+3=71'] Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,33 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[68, 28], Operations: ['86-55=31', '31-3=28'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,33 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[13, 83], Operations: ['68-55=13', '86-3=83'] Exploring Operation: 13+83=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 13*83=1079, Resulting Numbers: [1079] 1079,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[83, 13], Operations: ['86-3=83', '68-55=13'] Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 83*13=1079, Resulting Numbers: [1079] 1079,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[86, 10], Operations: ['68-55=13', '13-3=10'] Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,33 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[13, 89], Operations: ['68-55=13', '86+3=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 13+89=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 13*89=1157, Resulting Numbers: [1157] 1157,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[86, 16], Operations: ['68-55=13', '3+13=16'] Exploring Operation: 86*16=1376, Resulting Numbers: [1376] 1376,33 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 86+16=102, Resulting Numbers: [102] 102,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[83, 123], Operations: ['86-3=83', '68+55=123'] Exploring Operation: 83*123=10209, Resulting Numbers: [10209] 10209,33 unequal: No Solution Exploring Operation: 83+123=206, Resulting Numbers: [206] 206,33 unequal: No Solution Exploring Operation: 123-83=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[55, 151], Operations: ['86-3=83', '68+83=151'] Exploring Operation: 151-55=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 55+151=206, Resulting Numbers: [206] 206,33 unequal: No Solution Exploring Operation: 55*151=8305, Resulting Numbers: [8305] 8305,33 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 13, 69, 64, 3 ]
80
[ "13+3=16", "69-64=5", "16*5=80" ]
Current State: 80:[13, 69, 64, 3], Operations: [] Exploring Operation: 13+3=16, Resulting Numbers: [69, 64, 16] Generated Node #2: [69, 64, 16] from Operation: 13+3=16 Current State: 80:[69, 64, 16], Operations: ['13+3=16'] Exploring Operation: 69-64=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 69-64=5 Current State: 80:[16, 5], Operations: ['13+3=16', '69-64=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[13, 69, 64, 3], Operations: [] Exploring Operation: 13+64=77, Resulting Numbers: [69, 3, 77] Generated Node #0,0: 80:[69, 3, 77] Operation: 13+64=77 Exploring Operation: 69/3=23, Resulting Numbers: [13, 64, 23] Generated Node #0,1: 80:[13, 64, 23] Operation: 69/3=23 Exploring Operation: 69-64=5, Resulting Numbers: [13, 3, 5] Generated Node #0,2: 80:[13, 3, 5] Operation: 69-64=5 Exploring Operation: 13+69=82, Resulting Numbers: [64, 3, 82] Generated Node #0,3: 80:[64, 3, 82] Operation: 13+69=82 Moving to Node #0,2 Current State: 80:[13, 3, 5], Operations: ['69-64=5'] Exploring Operation: 13-5=8, Resulting Numbers: [3, 8] Generated Node #0,2,0: 80:[3, 8] Operation: 13-5=8 Exploring Operation: 13*3=39, Resulting Numbers: [5, 39] Generated Node #0,2,1: 80:[5, 39] Operation: 13*3=39 Exploring Operation: 13+3=16, Resulting Numbers: [5, 16] Generated Node #0,2,2: 80:[5, 16] Operation: 13+3=16 Exploring Operation: 13-3=10, Resulting Numbers: [5, 10] Generated Node #0,2,3: 80:[5, 10] Operation: 13-3=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[5, 16], Operations: ['69-64=5', '13+3=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[13, 69, 64, 3], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [13, 3, 5] Generated Node #0,2: 80:[13, 3, 5] Operation: 69-64=5 Moving to Node #0,2 Current State: 80:[13, 3, 5], Operations: ['69-64=5'] Exploring Operation: 13+3=16, Resulting Numbers: [5, 16] Generated Node #0,2,2: 80:[5, 16] Operation: 13+3=16 Moving to Node #0,2,2 Current State: 80:[5, 16], Operations: ['69-64=5', '13+3=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 93, 72, 23, 58 ]
84
[ "93+72=165", "23+58=81", "165-81=84" ]
Current State: 84:[93, 72, 23, 58], Operations: [] Exploring Operation: 93+72=165, Resulting Numbers: [23, 58, 165] Generated Node #2: [23, 58, 165] from Operation: 93+72=165 Current State: 84:[23, 58, 165], Operations: ['93+72=165'] Exploring Operation: 23+58=81, Resulting Numbers: [165, 81] Generated Node #3: [165, 81] from Operation: 23+58=81 Current State: 84:[165, 81], Operations: ['93+72=165', '23+58=81'] Exploring Operation: 165-81=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[93, 72, 23, 58], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [93, 23, 14] Generated Node #0,0: 84:[93, 23, 14] Operation: 72-58=14 Moving to Node #0,0 Current State: 84:[93, 23, 14], Operations: ['72-58=14'] Exploring Operation: 93-14=79, Resulting Numbers: [23, 79] Generated Node #0,0,0: 84:[23, 79] Operation: 93-14=79 Moving to Node #0,0,0 Current State: 84:[23, 79], Operations: ['72-58=14', '93-14=79'] Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,84 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 64, 90, 4, 71 ]
41
[ "90-64=26", "71-4=67", "67-26=41" ]
Current State: 41:[64, 90, 4, 71], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [4, 71, 26] Generated Node #2: [4, 71, 26] from Operation: 90-64=26 Current State: 41:[4, 71, 26], Operations: ['90-64=26'] Exploring Operation: 71-4=67, Resulting Numbers: [26, 67] Generated Node #3: [26, 67] from Operation: 71-4=67 Current State: 41:[26, 67], Operations: ['90-64=26', '71-4=67'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[64, 90, 4, 71], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [4, 71, 26] Generated Node #0,0: 41:[4, 71, 26] Operation: 90-64=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[4, 71, 26], Operations: ['90-64=26'] Exploring Operation: 71-4=67, Resulting Numbers: [26, 67] Generated Node #0,0,0: 41:[26, 67] Operation: 71-4=67 Moving to Node #0,0,0 Current State: 41:[26, 67], Operations: ['90-64=26', '71-4=67'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[64, 90, 4, 71], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [4, 71, 26] Generated Node #0,0: 41:[4, 71, 26] Operation: 90-64=26 Moving to Node #0,0 Current State: 41:[4, 71, 26], Operations: ['90-64=26'] Exploring Operation: 71-4=67, Resulting Numbers: [26, 67] Generated Node #0,0,0: 41:[26, 67] Operation: 71-4=67 Moving to Node #0,0,0 Current State: 41:[26, 67], Operations: ['90-64=26', '71-4=67'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 85, 2, 28, 68 ]
13
[ "85-2=83", "28+68=96", "96-83=13" ]
Current State: 13:[85, 2, 28, 68], Operations: [] Exploring Operation: 85-2=83, Resulting Numbers: [28, 68, 83] Generated Node #2: [28, 68, 83] from Operation: 85-2=83 Current State: 13:[28, 68, 83], Operations: ['85-2=83'] Exploring Operation: 28+68=96, Resulting Numbers: [83, 96] Generated Node #3: [83, 96] from Operation: 28+68=96 Current State: 13:[83, 96], Operations: ['85-2=83', '28+68=96'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[85, 2, 28, 68], Operations: [] Exploring Operation: 85-68=17, Resulting Numbers: [2, 28, 17] Generated Node #0,0: 13:[2, 28, 17] Operation: 85-68=17 Exploring Operation: 85-28=57, Resulting Numbers: [2, 68, 57] Generated Node #0,1: 13:[2, 68, 57] Operation: 85-28=57 Exploring Operation: 68/2=34, Resulting Numbers: [85, 28, 34] Generated Node #0,2: 13:[85, 28, 34] Operation: 68/2=34 Exploring Operation: 68-28=40, Resulting Numbers: [85, 2, 40] Generated Node #0,3: 13:[85, 2, 40] Operation: 68-28=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[2, 28, 17], Operations: ['85-68=17'] Exploring Operation: 28-17=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 13:[2, 11] Operation: 28-17=11 Exploring Operation: 28/2=14, Resulting Numbers: [17, 14] Generated Node #0,0,1: 13:[17, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [17, 26] Generated Node #0,0,2: 13:[17, 26] Operation: 28-2=26 Exploring Operation: 17-2=15, Resulting Numbers: [28, 15] Generated Node #0,0,3: 13:[28, 15] Operation: 17-2=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[17, 14], Operations: ['85-68=17', '28/2=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[2, 11], Operations: ['85-68=17', '28-17=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[85, 2, 28, 68], Operations: [] Exploring Operation: 85-68=17, Resulting Numbers: [2, 28, 17] Generated Node #0,0: 13:[2, 28, 17] Operation: 85-68=17 Moving to Node #0,0 Current State: 13:[2, 28, 17], Operations: ['85-68=17'] Exploring Operation: 28-17=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 13:[2, 11] Operation: 28-17=11 Moving to Node #0,0,0 Current State: 13:[2, 11], Operations: ['85-68=17', '28-17=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 28, 70, 22, 14 ]
81
[ "28/14=2", "22/2=11", "70+11=81" ]
Current State: 81:[28, 70, 22, 14], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [70, 22, 2] Generated Node #2: [70, 22, 2] from Operation: 28/14=2 Current State: 81:[70, 22, 2], Operations: ['28/14=2'] Exploring Operation: 22/2=11, Resulting Numbers: [70, 11] Generated Node #3: [70, 11] from Operation: 22/2=11 Current State: 81:[70, 11], Operations: ['28/14=2', '22/2=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[28, 70, 22, 14], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [28, 70, 8] Generated Node #0,0: 81:[28, 70, 8] Operation: 22-14=8 Exploring Operation: 70+22=92, Resulting Numbers: [28, 14, 92] Generated Node #0,1: 81:[28, 14, 92] Operation: 70+22=92 Exploring Operation: 70/14=5, Resulting Numbers: [28, 22, 5] Generated Node #0,2: 81:[28, 22, 5] Operation: 70/14=5 Exploring Operation: 70+14=84, Resulting Numbers: [28, 22, 84] Generated Node #0,3: 81:[28, 22, 84] Operation: 70+14=84 Exploring Operation: 28/14=2, Resulting Numbers: [70, 22, 2] Generated Node #0,4: 81:[70, 22, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[28, 22, 5], Operations: ['70/14=5'] Exploring Operation: 28-22=6, Resulting Numbers: [5, 6] Generated Node #0,2,0: 81:[5, 6] Operation: 28-22=6 Exploring Operation: 22-5=17, Resulting Numbers: [28, 17] Generated Node #0,2,1: 81:[28, 17] Operation: 22-5=17 Exploring Operation: 28-5=23, Resulting Numbers: [22, 23] Generated Node #0,2,2: 81:[22, 23] Operation: 28-5=23 Exploring Operation: 28+5=33, Resulting Numbers: [22, 33] Generated Node #0,2,3: 81:[22, 33] Operation: 28+5=33 Exploring Operation: 22+5=27, Resulting Numbers: [28, 27] Generated Node #0,2,4: 81:[28, 27] Operation: 22+5=27 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 81:[28, 27], Operations: ['70/14=5', '22+5=27'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,81 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,81 unequal: No Solution No 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: 81:[5, 6], Operations: ['70/14=5', '28-22=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,81 unequal: No Solution No 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: 81:[28, 17], Operations: ['70/14=5', '22-5=17'] Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,81 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,81 unequal: No Solution No 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: 81:[22, 23], Operations: ['70/14=5', '28-5=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,81 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,81 unequal: No Solution No 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: 81:[22, 33], Operations: ['70/14=5', '28+5=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,81 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[28, 22, 84], Operations: ['70+14=84'] Exploring Operation: 22+84=106, Resulting Numbers: [28, 106] Generated Node #0,3,0: 81:[28, 106] Operation: 22+84=106 Exploring Operation: 28+22=50, Resulting Numbers: [84, 50] Generated Node #0,3,1: 81:[84, 50] Operation: 28+22=50 Exploring Operation: 28-22=6, Resulting Numbers: [84, 6] Generated Node #0,3,2: 81:[84, 6] Operation: 28-22=6 Exploring Operation: 84-22=62, Resulting Numbers: [28, 62] Generated Node #0,3,3: 81:[28, 62] Operation: 84-22=62 Exploring Operation: 84/28=3, Resulting Numbers: [22, 3] Generated Node #0,3,4: 81:[22, 3] Operation: 84/28=3 Moving to Node #0,3,4 Current State: 81:[22, 3], Operations: ['70+14=84', '84/28=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,81 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[84, 6], Operations: ['70+14=84', '28-22=6'] Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,81 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[28, 62], Operations: ['70+14=84', '84-22=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,81 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[28, 106], Operations: ['70+14=84', '22+84=106'] Exploring Operation: 28+106=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 106-28=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 28*106=2968, Resulting Numbers: [2968] 2968,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[84, 50], Operations: ['70+14=84', '28+22=50'] Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[28, 70, 8], Operations: ['22-14=8'] Exploring Operation: 28+70=98, Resulting Numbers: [8, 98] Generated Node #0,0,0: 81:[8, 98] Operation: 28+70=98 Exploring Operation: 70-28=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 81:[8, 42] Operation: 70-28=42 Exploring Operation: 70+8=78, Resulting Numbers: [28, 78] Generated Node #0,0,2: 81:[28, 78] Operation: 70+8=78 Exploring Operation: 28-8=20, Resulting Numbers: [70, 20] Generated Node #0,0,3: 81:[70, 20] Operation: 28-8=20 Exploring Operation: 28+8=36, Resulting Numbers: [70, 36] Generated Node #0,0,4: 81:[70, 36] Operation: 28+8=36 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[28, 78], Operations: ['22-14=8', '70+8=78'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 28+78=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 28*78=2184, Resulting Numbers: [2184] 2184,81 unequal: No Solution No 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: 81:[8, 42], Operations: ['22-14=8', '70-28=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,81 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,81 unequal: No Solution No 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: 81:[8, 98], Operations: ['22-14=8', '28+70=98'] Exploring Operation: 8*98=784, Resulting Numbers: [784] 784,81 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 8+98=106, Resulting Numbers: [106] 106,81 unequal: No Solution No 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: 81:[70, 20], Operations: ['22-14=8', '28-8=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,81 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,81 unequal: No Solution No 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: 81:[70, 36], Operations: ['22-14=8', '28+8=36'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[28, 14, 92], Operations: ['70+22=92'] Exploring Operation: 28/14=2, Resulting Numbers: [92, 2] Generated Node #0,1,0: 81:[92, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [92, 14] Generated Node #0,1,1: 81:[92, 14] Operation: 28-14=14 Exploring Operation: 92-14=78, Resulting Numbers: [28, 78] Generated Node #0,1,2: 81:[28, 78] Operation: 92-14=78 Exploring Operation: 92-28=64, Resulting Numbers: [14, 64] Generated Node #0,1,3: 81:[14, 64] Operation: 92-28=64 Exploring Operation: 28+14=42, Resulting Numbers: [92, 42] Generated Node #0,1,4: 81:[92, 42] Operation: 28+14=42 Moving to Node #0,1,2 Current State: 81:[28, 78], Operations: ['70+22=92', '92-14=78'] Exploring Operation: 28+78=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 28*78=2184, Resulting Numbers: [2184] 2184,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[92, 2], Operations: ['70+22=92', '28/14=2'] Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,81 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,81 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[92, 14], Operations: ['70+22=92', '28-14=14'] Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[14, 64], Operations: ['70+22=92', '92-28=64'] Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,81 unequal: No Solution Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[92, 42], Operations: ['70+22=92', '28+14=42'] Exploring Operation: 92+42=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 92*42=3864, Resulting Numbers: [3864] 3864,81 unequal: No Solution Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[70, 22, 2], Operations: ['28/14=2'] Exploring Operation: 70+2=72, Resulting Numbers: [22, 72] Generated Node #0,4,0: 81:[22, 72] Operation: 70+2=72 Exploring Operation: 70/2=35, Resulting Numbers: [22, 35] Generated Node #0,4,1: 81:[22, 35] Operation: 70/2=35 Exploring Operation: 22+2=24, Resulting Numbers: [70, 24] Generated Node #0,4,2: 81:[70, 24] Operation: 22+2=24 Exploring Operation: 70+22=92, Resulting Numbers: [2, 92] Generated Node #0,4,3: 81:[2, 92] Operation: 70+22=92 Exploring Operation: 22/2=11, Resulting Numbers: [70, 11] Generated Node #0,4,4: 81:[70, 11] Operation: 22/2=11 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 81:[2, 92], Operations: ['28/14=2', '70+22=92'] Exploring Operation: 2*92=184, Resulting Numbers: [184] 184,81 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,81 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,81 unequal: No Solution No 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: 81:[22, 35], Operations: ['28/14=2', '70/2=35'] Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,81 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,81 unequal: No Solution No 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: 81:[70, 11], Operations: ['28/14=2', '22/2=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,81 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,81 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[28, 70, 22, 14], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [70, 22, 2] Generated Node #0,4: 81:[70, 22, 2] Operation: 28/14=2 Moving to Node #0,4 Current State: 81:[70, 22, 2], Operations: ['28/14=2'] Exploring Operation: 22/2=11, Resulting Numbers: [70, 11] Generated Node #0,4,4: 81:[70, 11] Operation: 22/2=11 Moving to Node #0,4,4 Current State: 81:[70, 11], Operations: ['28/14=2', '22/2=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.907986
hs_5
sum_heuristic
[ 84, 16, 52, 14 ]
42
[ "84/14=6", "52-16=36", "6+36=42" ]
Current State: 42:[84, 16, 52, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [16, 52, 6] Generated Node #2: [16, 52, 6] from Operation: 84/14=6 Current State: 42:[16, 52, 6], Operations: ['84/14=6'] Exploring Operation: 52-16=36, Resulting Numbers: [6, 36] Generated Node #3: [6, 36] from Operation: 52-16=36 Current State: 42:[6, 36], Operations: ['84/14=6', '52-16=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[84, 16, 52, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [16, 52, 6] Generated Node #0,0: 42:[16, 52, 6] Operation: 84/14=6 Exploring Operation: 84-16=68, Resulting Numbers: [52, 14, 68] Generated Node #0,1: 42:[52, 14, 68] Operation: 84-16=68 Exploring Operation: 84-52=32, Resulting Numbers: [16, 14, 32] Generated Node #0,2: 42:[16, 14, 32] Operation: 84-52=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[16, 52, 6], Operations: ['84/14=6'] Exploring Operation: 52-6=46, Resulting Numbers: [16, 46] Generated Node #0,0,0: 42:[16, 46] Operation: 52-6=46 Exploring Operation: 52-16=36, Resulting Numbers: [6, 36] Generated Node #0,0,1: 42:[6, 36] Operation: 52-16=36 Exploring Operation: 16+6=22, Resulting Numbers: [52, 22] Generated Node #0,0,2: 42:[52, 22] Operation: 16+6=22 Moving to Node #0,0,0 Current State: 42:[16, 46], Operations: ['84/14=6', '52-6=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,42 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[6, 36], Operations: ['84/14=6', '52-16=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[84, 16, 52, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [16, 52, 6] Generated Node #0,0: 42:[16, 52, 6] Operation: 84/14=6 Moving to Node #0,0 Current State: 42:[16, 52, 6], Operations: ['84/14=6'] Exploring Operation: 52-16=36, Resulting Numbers: [6, 36] Generated Node #0,0,1: 42:[6, 36] Operation: 52-16=36 Moving to Node #0,0,1 Current State: 42:[6, 36], Operations: ['84/14=6', '52-16=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 11, 33, 97, 92 ]
49
[ "11+33=44", "97-92=5", "44+5=49" ]
Current State: 49:[11, 33, 97, 92], Operations: [] Exploring Operation: 11+33=44, Resulting Numbers: [97, 92, 44] Generated Node #2: [97, 92, 44] from Operation: 11+33=44 Current State: 49:[97, 92, 44], Operations: ['11+33=44'] Exploring Operation: 97-92=5, Resulting Numbers: [44, 5] Generated Node #3: [44, 5] from Operation: 97-92=5 Current State: 49:[44, 5], Operations: ['11+33=44', '97-92=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[11, 33, 97, 92], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [11, 33, 5] Generated Node #0,0: 49:[11, 33, 5] Operation: 97-92=5 Moving to Node #0,0 Current State: 49:[11, 33, 5], Operations: ['97-92=5'] Exploring Operation: 33/11=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 49:[5, 3] Operation: 33/11=3 Moving to Node #0,0,0 Current State: 49:[5, 3], Operations: ['97-92=5', '33/11=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 88, 27, 24, 27 ]
65
[ "88-24=64", "27/27=1", "64+1=65" ]
Current State: 65:[88, 27, 24, 27], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [27, 27, 64] Generated Node #2: [27, 27, 64] from Operation: 88-24=64 Current State: 65:[27, 27, 64], Operations: ['88-24=64'] Exploring Operation: 27/27=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 27/27=1 Current State: 65:[64, 1], Operations: ['88-24=64', '27/27=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[88, 27, 24, 27], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [27, 27, 64] Generated Node #0,0: 65:[27, 27, 64] Operation: 88-24=64 Exploring Operation: 88-27=61, Resulting Numbers: [24, 27, 61] Generated Node #0,1: 65:[24, 27, 61] Operation: 88-27=61 Moving to Node #0,0 Current State: 65:[27, 27, 64], Operations: ['88-24=64'] Exploring Operation: 27/27=1, Resulting Numbers: [64, 1] Generated Node #0,0,0: 65:[64, 1] Operation: 27/27=1 Exploring Operation: 27-27=0, Resulting Numbers: [64, 0] Generated Node #0,0,1: 65:[64, 0] Operation: 27-27=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[64, 1], Operations: ['88-24=64', '27/27=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[88, 27, 24, 27], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [27, 27, 64] Generated Node #0,0: 65:[27, 27, 64] Operation: 88-24=64 Moving to Node #0,0 Current State: 65:[27, 27, 64], Operations: ['88-24=64'] Exploring Operation: 27/27=1, Resulting Numbers: [64, 1] Generated Node #0,0,0: 65:[64, 1] Operation: 27/27=1 Moving to Node #0,0,0 Current State: 65:[64, 1], Operations: ['88-24=64', '27/27=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 1, 2, 54, 21 ]
12
[ "1*2=2", "21*2=42", "54-42=12" ]
Current State: 12:[1, 2, 54, 21], Operations: [] Exploring Operation: 1*2=2, Resulting Numbers: [54, 21, 2] Generated Node #2: [54, 21, 2] from Operation: 1*2=2 Current State: 12:[54, 21, 2], Operations: ['1*2=2'] Exploring Operation: 21*2=42, Resulting Numbers: [54, 42] Generated Node #3: [54, 42] from Operation: 21*2=42 Current State: 12:[54, 42], Operations: ['1*2=2', '21*2=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[1, 2, 54, 21], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [1, 21, 27] Generated Node #0,0: 12:[1, 21, 27] Operation: 54/2=27 Exploring Operation: 54-1=53, Resulting Numbers: [2, 21, 53] Generated Node #0,1: 12:[2, 21, 53] Operation: 54-1=53 Exploring Operation: 54-21=33, Resulting Numbers: [1, 2, 33] Generated Node #0,2: 12:[1, 2, 33] Operation: 54-21=33 Moving to Node #0,2 Current State: 12:[1, 2, 33], Operations: ['54-21=33'] Exploring Operation: 33-2=31, Resulting Numbers: [1, 31] Generated Node #0,2,0: 12:[1, 31] Operation: 33-2=31 Exploring Operation: 1+2=3, Resulting Numbers: [33, 3] Generated Node #0,2,1: 12:[33, 3] Operation: 1+2=3 Exploring Operation: 33-1=32, Resulting Numbers: [2, 32] Generated Node #0,2,2: 12:[2, 32] Operation: 33-1=32 Moving to Node #0,0 Current State: 12:[1, 21, 27], Operations: ['54/2=27'] Exploring Operation: 21-1=20, Resulting Numbers: [27, 20] Generated Node #0,0,0: 12:[27, 20] Operation: 21-1=20 Exploring Operation: 27-1=26, Resulting Numbers: [21, 26] Generated Node #0,0,1: 12:[21, 26] Operation: 27-1=26 Exploring Operation: 27-21=6, Resulting Numbers: [1, 6] Generated Node #0,0,2: 12:[1, 6] Operation: 27-21=6 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[1, 6], Operations: ['54/2=27', '27-21=6'] Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[27, 20], Operations: ['54/2=27', '21-1=20'] Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,12 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[21, 26], Operations: ['54/2=27', '27-1=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,12 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: 12:[2, 21, 53], Operations: ['54-1=53'] Exploring Operation: 53-2=51, Resulting Numbers: [21, 51] Generated Node #0,1,0: 12:[21, 51] Operation: 53-2=51 Exploring Operation: 21-2=19, Resulting Numbers: [53, 19] Generated Node #0,1,1: 12:[53, 19] Operation: 21-2=19 Exploring Operation: 53-21=32, Resulting Numbers: [2, 32] Generated Node #0,1,2: 12:[2, 32] Operation: 53-21=32 Moving to Node #0,2,0 Current State: 12:[1, 31], Operations: ['54-21=33', '33-2=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[2, 32], Operations: ['54-21=33', '33-1=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[2, 32], Operations: ['54-1=53', '53-21=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[33, 3], Operations: ['54-21=33', '1+2=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[53, 19], Operations: ['54-1=53', '21-2=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,12 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[21, 51], Operations: ['54-1=53', '53-2=51'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,12 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 10, 3, 40, 15 ]
10
[ "10+40=50", "15/3=5", "50/5=10" ]
Current State: 10:[10, 3, 40, 15], Operations: [] Exploring Operation: 10+40=50, Resulting Numbers: [3, 15, 50] Generated Node #2: [3, 15, 50] from Operation: 10+40=50 Current State: 10:[3, 15, 50], Operations: ['10+40=50'] Exploring Operation: 15/3=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 15/3=5 Current State: 10:[50, 5], Operations: ['10+40=50', '15/3=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[10, 3, 40, 15], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [10, 3, 25] Generated Node #0,0: 10:[10, 3, 25] Operation: 40-15=25 Exploring Operation: 40/10=4, Resulting Numbers: [3, 15, 4] Generated Node #0,1: 10:[3, 15, 4] Operation: 40/10=4 Moving to Node #0,1 Current State: 10:[3, 15, 4], Operations: ['40/10=4'] Exploring Operation: 15-4=11, Resulting Numbers: [3, 11] Generated Node #0,1,0: 10:[3, 11] Operation: 15-4=11 Exploring Operation: 15/3=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 10:[4, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[4, 5], Operations: ['40/10=4', '15/3=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[3, 11], Operations: ['40/10=4', '15-4=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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:[10, 3, 25], Operations: ['40-15=25'] Exploring Operation: 25-10=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 10:[3, 15] Operation: 25-10=15 Exploring Operation: 25-3=22, Resulting Numbers: [10, 22] Generated Node #0,0,1: 10:[10, 22] Operation: 25-3=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[3, 15], Operations: ['40-15=25', '25-10=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[10, 22], Operations: ['40-15=25', '25-3=22'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 10, 45, 6 ]
36
[ "64-10=54", "54/6=9", "45-9=36" ]
Current State: 36:[64, 10, 45, 6], Operations: [] Exploring Operation: 64-10=54, Resulting Numbers: [45, 6, 54] Generated Node #2: [45, 6, 54] from Operation: 64-10=54 Current State: 36:[45, 6, 54], Operations: ['64-10=54'] Exploring Operation: 54/6=9, Resulting Numbers: [45, 9] Generated Node #3: [45, 9] from Operation: 54/6=9 Current State: 36:[45, 9], Operations: ['64-10=54', '54/6=9'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[64, 10, 45, 6], Operations: [] Exploring Operation: 64-6=58, Resulting Numbers: [10, 45, 58] Generated Node #0,0: 36:[10, 45, 58] Operation: 64-6=58 Exploring Operation: 45-10=35, Resulting Numbers: [64, 6, 35] Generated Node #0,1: 36:[64, 6, 35] Operation: 45-10=35 Exploring Operation: 64-10=54, Resulting Numbers: [45, 6, 54] Generated Node #0,2: 36:[45, 6, 54] Operation: 64-10=54 Exploring Operation: 64-45=19, Resulting Numbers: [10, 6, 19] Generated Node #0,3: 36:[10, 6, 19] Operation: 64-45=19 Moving to Node #0,3 Current State: 36:[10, 6, 19], Operations: ['64-45=19'] Exploring Operation: 19-10=9, Resulting Numbers: [6, 9] Generated Node #0,3,0: 36:[6, 9] Operation: 19-10=9 Exploring Operation: 19-6=13, Resulting Numbers: [10, 13] Generated Node #0,3,1: 36:[10, 13] Operation: 19-6=13 Exploring Operation: 10+6=16, Resulting Numbers: [19, 16] Generated Node #0,3,2: 36:[19, 16] Operation: 10+6=16 Exploring Operation: 10-6=4, Resulting Numbers: [19, 4] Generated Node #0,3,3: 36:[19, 4] Operation: 10-6=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[6, 9], Operations: ['64-45=19', '19-10=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[19, 4], Operations: ['64-45=19', '10-6=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,36 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[10, 13], Operations: ['64-45=19', '19-6=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[19, 16], Operations: ['64-45=19', '10+6=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,36 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: 36:[45, 6, 54], Operations: ['64-10=54'] Exploring Operation: 54-45=9, Resulting Numbers: [6, 9] Generated Node #0,2,0: 36:[6, 9] Operation: 54-45=9 Exploring Operation: 45-6=39, Resulting Numbers: [54, 39] Generated Node #0,2,1: 36:[54, 39] Operation: 45-6=39 Exploring Operation: 54-6=48, Resulting Numbers: [45, 48] Generated Node #0,2,2: 36:[45, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [45, 9] Generated Node #0,2,3: 36:[45, 9] Operation: 54/6=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[6, 9], Operations: ['64-10=54', '54-45=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[45, 9], Operations: ['64-10=54', '54/6=9'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[64, 10, 45, 6], Operations: [] Exploring Operation: 64-10=54, Resulting Numbers: [45, 6, 54] Generated Node #0,2: 36:[45, 6, 54] Operation: 64-10=54 Moving to Node #0,2 Current State: 36:[45, 6, 54], Operations: ['64-10=54'] Exploring Operation: 54/6=9, Resulting Numbers: [45, 9] Generated Node #0,2,3: 36:[45, 9] Operation: 54/6=9 Moving to Node #0,2,3 Current State: 36:[45, 9], Operations: ['64-10=54', '54/6=9'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 1, 20, 90, 23 ]
93
[ "1*20=20", "90+23=113", "113-20=93" ]
Current State: 93:[1, 20, 90, 23], Operations: [] Exploring Operation: 1*20=20, Resulting Numbers: [90, 23, 20] Generated Node #2: [90, 23, 20] from Operation: 1*20=20 Current State: 93:[90, 23, 20], Operations: ['1*20=20'] Exploring Operation: 90+23=113, Resulting Numbers: [20, 113] Generated Node #3: [20, 113] from Operation: 90+23=113 Current State: 93:[20, 113], Operations: ['1*20=20', '90+23=113'] Exploring Operation: 113-20=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[1, 20, 90, 23], Operations: [] Exploring Operation: 1+20=21, Resulting Numbers: [90, 23, 21] Generated Node #0,0: 93:[90, 23, 21] Operation: 1+20=21 Exploring Operation: 23-20=3, Resulting Numbers: [1, 90, 3] Generated Node #0,1: 93:[1, 90, 3] Operation: 23-20=3 Exploring Operation: 20+23=43, Resulting Numbers: [1, 90, 43] Generated Node #0,2: 93:[1, 90, 43] Operation: 20+23=43 Exploring Operation: 1+90=91, Resulting Numbers: [20, 23, 91] Generated Node #0,3: 93:[20, 23, 91] Operation: 1+90=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[1, 90, 3], Operations: ['23-20=3'] Exploring Operation: 90+3=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 90+3=93 Exploring Operation: 90/1=90, Resulting Numbers: [3, 90] Generated Node #0,1,1: 93:[3, 90] Operation: 90/1=90 Exploring Operation: 1*90=90, Resulting Numbers: [3, 90] Generated Node #0,1,2: 93:[3, 90] Operation: 1*90=90 Exploring Operation: 1+90=91, Resulting Numbers: [3, 91] Generated Node #0,1,3: 93:[3, 91] Operation: 1+90=91 Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['23-20=3', '90+3=93'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[1, 20, 90, 23], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [1, 90, 3] Generated Node #0,1: 93:[1, 90, 3] Operation: 23-20=3 Moving to Node #0,1 Current State: 93:[1, 90, 3], Operations: ['23-20=3'] Exploring Operation: 90+3=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 90+3=93 Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['23-20=3', '90+3=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 4, 7, 10, 86 ]
99
[ "7-4=3", "10+86=96", "3+96=99" ]
Current State: 99:[4, 7, 10, 86], Operations: [] Exploring Operation: 7-4=3, Resulting Numbers: [10, 86, 3] Generated Node #2: [10, 86, 3] from Operation: 7-4=3 Current State: 99:[10, 86, 3], Operations: ['7-4=3'] Exploring Operation: 10+86=96, Resulting Numbers: [3, 96] Generated Node #3: [3, 96] from Operation: 10+86=96 Current State: 99:[3, 96], Operations: ['7-4=3', '10+86=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[4, 7, 10, 86], Operations: [] Exploring Operation: 10+86=96, Resulting Numbers: [4, 7, 96] Generated Node #0,0: 99:[4, 7, 96] Operation: 10+86=96 Exploring Operation: 7+86=93, Resulting Numbers: [4, 10, 93] Generated Node #0,1: 99:[4, 10, 93] Operation: 7+86=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[4, 7, 96], Operations: ['10+86=96'] Exploring Operation: 4+7=11, Resulting Numbers: [96, 11] Generated Node #0,0,0: 99:[96, 11] Operation: 4+7=11 Exploring Operation: 7-4=3, Resulting Numbers: [96, 3] Generated Node #0,0,1: 99:[96, 3] Operation: 7-4=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[96, 11], Operations: ['10+86=96', '4+7=11'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 96+11=107, Resulting Numbers: [107] 107,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[96, 3], Operations: ['10+86=96', '7-4=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[4, 7, 10, 86], Operations: [] Exploring Operation: 10+86=96, Resulting Numbers: [4, 7, 96] Generated Node #0,0: 99:[4, 7, 96] Operation: 10+86=96 Moving to Node #0,0 Current State: 99:[4, 7, 96], Operations: ['10+86=96'] Exploring Operation: 7-4=3, Resulting Numbers: [96, 3] Generated Node #0,0,1: 99:[96, 3] Operation: 7-4=3 Moving to Node #0,0,1 Current State: 99:[96, 3], Operations: ['10+86=96', '7-4=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 77, 67, 75, 64 ]
60
[ "75-64=11", "77/11=7", "67-7=60" ]
Current State: 60:[77, 67, 75, 64], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [77, 67, 11] Generated Node #2: [77, 67, 11] from Operation: 75-64=11 Current State: 60:[77, 67, 11], Operations: ['75-64=11'] Exploring Operation: 77/11=7, Resulting Numbers: [67, 7] Generated Node #3: [67, 7] from Operation: 77/11=7 Current State: 60:[67, 7], Operations: ['75-64=11', '77/11=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[77, 67, 75, 64], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [77, 64, 8] Generated Node #0,0: 60:[77, 64, 8] Operation: 75-67=8 Exploring Operation: 77-67=10, Resulting Numbers: [75, 64, 10] Generated Node #0,1: 60:[75, 64, 10] Operation: 77-67=10 Exploring Operation: 77-64=13, Resulting Numbers: [67, 75, 13] Generated Node #0,2: 60:[67, 75, 13] Operation: 77-64=13 Exploring Operation: 77-75=2, Resulting Numbers: [67, 64, 2] Generated Node #0,3: 60:[67, 64, 2] Operation: 77-75=2 Moving to Node #0,3 Current State: 60:[67, 64, 2], Operations: ['77-75=2'] Exploring Operation: 64/2=32, Resulting Numbers: [67, 32] Generated Node #0,3,0: 60:[67, 32] Operation: 64/2=32 Exploring Operation: 67-2=65, Resulting Numbers: [64, 65] Generated Node #0,3,1: 60:[64, 65] Operation: 67-2=65 Exploring Operation: 67-64=3, Resulting Numbers: [2, 3] Generated Node #0,3,2: 60:[2, 3] Operation: 67-64=3 Exploring Operation: 64-2=62, Resulting Numbers: [67, 62] Generated Node #0,3,3: 60:[67, 62] Operation: 64-2=62 Moving to Node #0,1 Current State: 60:[75, 64, 10], Operations: ['77-67=10'] Exploring Operation: 75-64=11, Resulting Numbers: [10, 11] Generated Node #0,1,0: 60:[10, 11] Operation: 75-64=11 Exploring Operation: 64-10=54, Resulting Numbers: [75, 54] Generated Node #0,1,1: 60:[75, 54] Operation: 64-10=54 Exploring Operation: 75+10=85, Resulting Numbers: [64, 85] Generated Node #0,1,2: 60:[64, 85] Operation: 75+10=85 Exploring Operation: 75-10=65, Resulting Numbers: [64, 65] Generated Node #0,1,3: 60:[64, 65] Operation: 75-10=65 Moving to Node #0,2 Current State: 60:[67, 75, 13], Operations: ['77-64=13'] Exploring Operation: 75-67=8, Resulting Numbers: [13, 8] Generated Node #0,2,0: 60:[13, 8] Operation: 75-67=8 Exploring Operation: 67-13=54, Resulting Numbers: [75, 54] Generated Node #0,2,1: 60:[75, 54] Operation: 67-13=54 Exploring Operation: 75-13=62, Resulting Numbers: [67, 62] Generated Node #0,2,2: 60:[67, 62] Operation: 75-13=62 Exploring Operation: 67+13=80, Resulting Numbers: [75, 80] Generated Node #0,2,3: 60:[75, 80] Operation: 67+13=80 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[13, 8], Operations: ['77-64=13', '75-67=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[67, 62], Operations: ['77-64=13', '75-13=62'] Exploring Operation: 67*62=4154, Resulting Numbers: [4154] 4154,60 unequal: No Solution Exploring Operation: 67+62=129, Resulting Numbers: [129] 129,60 unequal: No Solution Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[75, 54], Operations: ['77-64=13', '67-13=54'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,60 unequal: No Solution Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[75, 80], Operations: ['77-64=13', '67+13=80'] Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,60 unequal: No Solution Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,60 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,60 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: 60:[77, 64, 8], Operations: ['75-67=8'] Exploring Operation: 64-8=56, Resulting Numbers: [77, 56] Generated Node #0,0,0: 60:[77, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [77, 8] Generated Node #0,0,1: 60:[77, 8] Operation: 64/8=8 Exploring Operation: 77-64=13, Resulting Numbers: [8, 13] Generated Node #0,0,2: 60:[8, 13] Operation: 77-64=13 Exploring Operation: 77-8=69, Resulting Numbers: [64, 69] Generated Node #0,0,3: 60:[64, 69] Operation: 77-8=69 Moving to Node #0,3,2 Current State: 60:[2, 3], Operations: ['77-75=2', '67-64=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[10, 11], Operations: ['77-67=10', '75-64=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,60 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[8, 13], Operations: ['75-67=8', '77-64=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[64, 65], Operations: ['77-75=2', '67-2=65'] Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,60 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[64, 65], Operations: ['77-67=10', '75-10=65'] Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,60 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,60 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[67, 32], Operations: ['77-75=2', '64/2=32'] Exploring Operation: 67*32=2144, Resulting Numbers: [2144] 2144,60 unequal: No Solution Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[67, 62], Operations: ['77-75=2', '64-2=62'] Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 67*62=4154, Resulting Numbers: [4154] 4154,60 unequal: No Solution Exploring Operation: 67+62=129, Resulting Numbers: [129] 129,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[64, 69], Operations: ['75-67=8', '77-8=69'] Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,60 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[77, 8], Operations: ['75-67=8', '64/8=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,60 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[77, 56], Operations: ['75-67=8', '64-8=56'] Exploring Operation: 77+56=133, Resulting Numbers: [133] 133,60 unequal: No Solution Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 77*56=4312, Resulting Numbers: [4312] 4312,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[75, 54], Operations: ['77-67=10', '64-10=54'] Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,60 unequal: No Solution Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,60 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[64, 85], Operations: ['77-67=10', '75+10=85'] Exploring Operation: 64*85=5440, Resulting Numbers: [5440] 5440,60 unequal: No Solution Exploring Operation: 64+85=149, Resulting Numbers: [149] 149,60 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,60 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 2, 20, 93, 65 ]
81
[ "93-20=73", "2*73=146", "146-65=81" ]
Current State: 81:[2, 20, 93, 65], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [2, 65, 73] Generated Node #2: [2, 65, 73] from Operation: 93-20=73 Current State: 81:[2, 65, 73], Operations: ['93-20=73'] Exploring Operation: 2*73=146, Resulting Numbers: [65, 146] Generated Node #3: [65, 146] from Operation: 2*73=146 Current State: 81:[65, 146], Operations: ['93-20=73', '2*73=146'] Exploring Operation: 146-65=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 20, 93, 65], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [2, 20, 28] Generated Node #0,0: 81:[2, 20, 28] Operation: 93-65=28 Moving to Node #0,0 Current State: 81:[2, 20, 28], Operations: ['93-65=28'] Exploring Operation: 20/2=10, Resulting Numbers: [28, 10] Generated Node #0,0,0: 81:[28, 10] Operation: 20/2=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[28, 10], Operations: ['93-65=28', '20/2=10'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 25, 31, 11, 40 ]
85
[ "25+31=56", "40-11=29", "56+29=85" ]
Current State: 85:[25, 31, 11, 40], Operations: [] Exploring Operation: 25+31=56, Resulting Numbers: [11, 40, 56] Generated Node #2: [11, 40, 56] from Operation: 25+31=56 Current State: 85:[11, 40, 56], Operations: ['25+31=56'] Exploring Operation: 40-11=29, Resulting Numbers: [56, 29] Generated Node #3: [56, 29] from Operation: 40-11=29 Current State: 85:[56, 29], Operations: ['25+31=56', '40-11=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[25, 31, 11, 40], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [25, 11, 9] Generated Node #0,0: 85:[25, 11, 9] Operation: 40-31=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[25, 11, 9], Operations: ['40-31=9'] Exploring Operation: 25-11=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 85:[9, 14] Operation: 25-11=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[9, 14], Operations: ['40-31=9', '25-11=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 73, 20, 2 ]
14
[ "73-65=8", "20+2=22", "22-8=14" ]
Current State: 14:[65, 73, 20, 2], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [20, 2, 8] Generated Node #2: [20, 2, 8] from Operation: 73-65=8 Current State: 14:[20, 2, 8], Operations: ['73-65=8'] Exploring Operation: 20+2=22, Resulting Numbers: [8, 22] Generated Node #3: [8, 22] from Operation: 20+2=22 Current State: 14:[8, 22], Operations: ['73-65=8', '20+2=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[65, 73, 20, 2], Operations: [] Exploring Operation: 65-20=45, Resulting Numbers: [73, 2, 45] Generated Node #0,0: 14:[73, 2, 45] Operation: 65-20=45 Exploring Operation: 73-65=8, Resulting Numbers: [20, 2, 8] Generated Node #0,1: 14:[20, 2, 8] Operation: 73-65=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[20, 2, 8], Operations: ['73-65=8'] Exploring Operation: 20-8=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 14:[2, 12] Operation: 20-8=12 Exploring Operation: 20/2=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 14:[8, 10] Operation: 20/2=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[2, 12], Operations: ['73-65=8', '20-8=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[65, 73, 20, 2], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [20, 2, 8] Generated Node #0,1: 14:[20, 2, 8] Operation: 73-65=8 Moving to Node #0,1 Current State: 14:[20, 2, 8], Operations: ['73-65=8'] Exploring Operation: 20-8=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 14:[2, 12] Operation: 20-8=12 Moving to Node #0,1,0 Current State: 14:[2, 12], Operations: ['73-65=8', '20-8=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 41, 86, 7, 73 ]
50
[ "86-73=13", "7*13=91", "91-41=50" ]
Current State: 50:[41, 86, 7, 73], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [41, 7, 13] Generated Node #2: [41, 7, 13] from Operation: 86-73=13 Current State: 50:[41, 7, 13], Operations: ['86-73=13'] Exploring Operation: 7*13=91, Resulting Numbers: [41, 91] Generated Node #3: [41, 91] from Operation: 7*13=91 Current State: 50:[41, 91], Operations: ['86-73=13', '7*13=91'] Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[41, 86, 7, 73], Operations: [] Exploring Operation: 86-7=79, Resulting Numbers: [41, 73, 79] Generated Node #0,0: 50:[41, 73, 79] Operation: 86-7=79 Exploring Operation: 86-73=13, Resulting Numbers: [41, 7, 13] Generated Node #0,1: 50:[41, 7, 13] Operation: 86-73=13 Exploring Operation: 41+7=48, Resulting Numbers: [86, 73, 48] Generated Node #0,2: 50:[86, 73, 48] Operation: 41+7=48 Exploring Operation: 86-41=45, Resulting Numbers: [7, 73, 45] Generated Node #0,3: 50:[7, 73, 45] Operation: 86-41=45 Exploring Operation: 73-41=32, Resulting Numbers: [86, 7, 32] Generated Node #0,4: 50:[86, 7, 32] Operation: 73-41=32 Moving to Node #0,1 Current State: 50:[41, 7, 13], Operations: ['86-73=13'] Exploring Operation: 41+13=54, Resulting Numbers: [7, 54] Generated Node #0,1,0: 50:[7, 54] Operation: 41+13=54 Exploring Operation: 41+7=48, Resulting Numbers: [13, 48] Generated Node #0,1,1: 50:[13, 48] Operation: 41+7=48 Exploring Operation: 13-7=6, Resulting Numbers: [41, 6] Generated Node #0,1,2: 50:[41, 6] Operation: 13-7=6 Exploring Operation: 41-13=28, Resulting Numbers: [7, 28] Generated Node #0,1,3: 50:[7, 28] Operation: 41-13=28 Exploring Operation: 41-7=34, Resulting Numbers: [13, 34] Generated Node #0,1,4: 50:[13, 34] Operation: 41-7=34 Moving to Node #0,3 Current State: 50:[7, 73, 45], Operations: ['86-41=45'] Exploring Operation: 73-45=28, Resulting Numbers: [7, 28] Generated Node #0,3,0: 50:[7, 28] Operation: 73-45=28 Exploring Operation: 7+45=52, Resulting Numbers: [73, 52] Generated Node #0,3,1: 50:[73, 52] Operation: 7+45=52 Exploring Operation: 7+73=80, Resulting Numbers: [45, 80] Generated Node #0,3,2: 50:[45, 80] Operation: 7+73=80 Exploring Operation: 45-7=38, Resulting Numbers: [73, 38] Generated Node #0,3,3: 50:[73, 38] Operation: 45-7=38 Exploring Operation: 73-7=66, Resulting Numbers: [45, 66] Generated Node #0,3,4: 50:[45, 66] Operation: 73-7=66 Moving to Node #0,4 Current State: 50:[86, 7, 32], Operations: ['73-41=32'] Exploring Operation: 32-7=25, Resulting Numbers: [86, 25] Generated Node #0,4,0: 50:[86, 25] Operation: 32-7=25 Exploring Operation: 86+7=93, Resulting Numbers: [32, 93] Generated Node #0,4,1: 50:[32, 93] Operation: 86+7=93 Exploring Operation: 7+32=39, Resulting Numbers: [86, 39] Generated Node #0,4,2: 50:[86, 39] Operation: 7+32=39 Exploring Operation: 86-32=54, Resulting Numbers: [7, 54] Generated Node #0,4,3: 50:[7, 54] Operation: 86-32=54 Exploring Operation: 86-7=79, Resulting Numbers: [32, 79] Generated Node #0,4,4: 50:[32, 79] Operation: 86-7=79 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 50:[7, 54], Operations: ['73-41=32', '86-32=54'] Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,50 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,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,0 Current State: 50:[86, 25], Operations: ['73-41=32', '32-7=25'] Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,50 unequal: No Solution Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,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,4 Current State: 50:[32, 79], Operations: ['73-41=32', '86-7=79'] Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,50 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,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,2 Current State: 50:[86, 39], Operations: ['73-41=32', '7+32=39'] Exploring Operation: 86*39=3354, Resulting Numbers: [3354] 3354,50 unequal: No Solution Exploring Operation: 86+39=125, Resulting Numbers: [125] 125,50 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,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,1 Current State: 50:[32, 93], Operations: ['73-41=32', '86+7=93'] Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,50 unequal: No Solution Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,50 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: 50:[41, 73, 79], Operations: ['86-7=79'] Exploring Operation: 79-73=6, Resulting Numbers: [41, 6] Generated Node #0,0,0: 50:[41, 6] Operation: 79-73=6 Exploring Operation: 73-41=32, Resulting Numbers: [79, 32] Generated Node #0,0,1: 50:[79, 32] Operation: 73-41=32 Exploring Operation: 79-41=38, Resulting Numbers: [73, 38] Generated Node #0,0,2: 50:[73, 38] Operation: 79-41=38 Exploring Operation: 41+79=120, Resulting Numbers: [73, 120] Generated Node #0,0,3: 50:[73, 120] Operation: 41+79=120 Exploring Operation: 41+73=114, Resulting Numbers: [79, 114] Generated Node #0,0,4: 50:[79, 114] Operation: 41+73=114 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[41, 6], Operations: ['86-7=79', '79-73=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,50 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[73, 38], Operations: ['86-7=79', '79-41=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,50 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,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,1 Current State: 50:[79, 32], Operations: ['86-7=79', '73-41=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[73, 120], Operations: ['86-7=79', '41+79=120'] Exploring Operation: 73*120=8760, Resulting Numbers: [8760] 8760,50 unequal: No Solution Exploring Operation: 73+120=193, Resulting Numbers: [193] 193,50 unequal: No Solution Exploring Operation: 120-73=47, Resulting Numbers: [47] 47,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[79, 114], Operations: ['86-7=79', '41+73=114'] Exploring Operation: 79+114=193, Resulting Numbers: [193] 193,50 unequal: No Solution Exploring Operation: 79*114=9006, Resulting Numbers: [9006] 9006,50 unequal: No Solution Exploring Operation: 114-79=35, Resulting Numbers: [35] 35,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[86, 73, 48], Operations: ['41+7=48'] Exploring Operation: 86+48=134, Resulting Numbers: [73, 134] Generated Node #0,2,0: 50:[73, 134] Operation: 86+48=134 Exploring Operation: 86-73=13, Resulting Numbers: [48, 13] Generated Node #0,2,1: 50:[48, 13] Operation: 86-73=13 Exploring Operation: 86-48=38, Resulting Numbers: [73, 38] Generated Node #0,2,2: 50:[73, 38] Operation: 86-48=38 Exploring Operation: 73+48=121, Resulting Numbers: [86, 121] Generated Node #0,2,3: 50:[86, 121] Operation: 73+48=121 Exploring Operation: 73-48=25, Resulting Numbers: [86, 25] Generated Node #0,2,4: 50:[86, 25] Operation: 73-48=25 Moving to Node #0,1,1 Current State: 50:[13, 48], Operations: ['86-73=13', '41+7=48'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 13*48=624, Resulting Numbers: [624] 624,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[7, 28], Operations: ['86-41=45', '73-45=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[7, 28], Operations: ['86-73=13', '41-13=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[48, 13], Operations: ['41+7=48', '86-73=13'] Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,50 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[7, 54], Operations: ['86-73=13', '41+13=54'] Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,50 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[41, 6], Operations: ['86-73=13', '13-7=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,50 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,50 unequal: No Solution Moving to Node #0,1,4 Current State: 50:[13, 34], Operations: ['86-73=13', '41-7=34'] Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,50 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,50 unequal: No Solution Moving to Node #0,3,4 Current State: 50:[45, 66], Operations: ['86-41=45', '73-7=66'] Exploring Operation: 45*66=2970, Resulting Numbers: [2970] 2970,50 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 45+66=111, Resulting Numbers: [111] 111,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[73, 52], Operations: ['86-41=45', '7+45=52'] Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,50 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[73, 38], Operations: ['41+7=48', '86-48=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,50 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[73, 38], Operations: ['86-41=45', '45-7=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,50 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[45, 80], Operations: ['86-41=45', '7+73=80'] Exploring Operation: 45+80=125, Resulting Numbers: [125] 125,50 unequal: No Solution Exploring Operation: 45*80=3600, Resulting Numbers: [3600] 3600,50 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,50 unequal: No Solution Moving to Node #0,2,4 Current State: 50:[86, 25], Operations: ['41+7=48', '73-48=25'] Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,50 unequal: No Solution Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[86, 121], Operations: ['41+7=48', '73+48=121'] Exploring Operation: 86*121=10406, Resulting Numbers: [10406] 10406,50 unequal: No Solution Exploring Operation: 86+121=207, Resulting Numbers: [207] 207,50 unequal: No Solution Exploring Operation: 121-86=35, Resulting Numbers: [35] 35,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[73, 134], Operations: ['41+7=48', '86+48=134'] Exploring Operation: 134-73=61, Resulting Numbers: [61] 61,50 unequal: No Solution Exploring Operation: 73+134=207, Resulting Numbers: [207] 207,50 unequal: No Solution Exploring Operation: 73*134=9782, Resulting Numbers: [9782] 9782,50 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 69, 52, 20, 53 ]
88
[ "69+52=121", "53-20=33", "121-33=88" ]
Current State: 88:[69, 52, 20, 53], Operations: [] Exploring Operation: 69+52=121, Resulting Numbers: [20, 53, 121] Generated Node #2: [20, 53, 121] from Operation: 69+52=121 Current State: 88:[20, 53, 121], Operations: ['69+52=121'] Exploring Operation: 53-20=33, Resulting Numbers: [121, 33] Generated Node #3: [121, 33] from Operation: 53-20=33 Current State: 88:[121, 33], Operations: ['69+52=121', '53-20=33'] Exploring Operation: 121-33=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[69, 52, 20, 53], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [52, 20, 16] Generated Node #0,0: 88:[52, 20, 16] Operation: 69-53=16 Exploring Operation: 69-52=17, Resulting Numbers: [20, 53, 17] Generated Node #0,1: 88:[20, 53, 17] Operation: 69-52=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[52, 20, 16], Operations: ['69-53=16'] Exploring Operation: 52-16=36, Resulting Numbers: [20, 36] Generated Node #0,0,0: 88:[20, 36] Operation: 52-16=36 Exploring Operation: 20-16=4, Resulting Numbers: [52, 4] Generated Node #0,0,1: 88:[52, 4] Operation: 20-16=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[52, 4], Operations: ['69-53=16', '20-16=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,88 unequal: No Solution No 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: 88:[20, 36], Operations: ['69-53=16', '52-16=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,88 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: 88:[20, 53, 17], Operations: ['69-52=17'] Exploring Operation: 20-17=3, Resulting Numbers: [53, 3] Generated Node #0,1,0: 88:[53, 3] Operation: 20-17=3 Exploring Operation: 53-17=36, Resulting Numbers: [20, 36] Generated Node #0,1,1: 88:[20, 36] Operation: 53-17=36 Moving to Node #0,1,0 Current State: 88:[53, 3], Operations: ['69-52=17', '20-17=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[20, 36], Operations: ['69-52=17', '53-17=36'] Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 55, 22, 48, 18 ]
67
[ "22-18=4", "48/4=12", "55+12=67" ]
Current State: 67:[55, 22, 48, 18], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [55, 48, 4] Generated Node #2: [55, 48, 4] from Operation: 22-18=4 Current State: 67:[55, 48, 4], Operations: ['22-18=4'] Exploring Operation: 48/4=12, Resulting Numbers: [55, 12] Generated Node #3: [55, 12] from Operation: 48/4=12 Current State: 67:[55, 12], Operations: ['22-18=4', '48/4=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[55, 22, 48, 18], Operations: [] Exploring Operation: 48+18=66, Resulting Numbers: [55, 22, 66] Generated Node #0,0: 67:[55, 22, 66] Operation: 48+18=66 Exploring Operation: 22+48=70, Resulting Numbers: [55, 18, 70] Generated Node #0,1: 67:[55, 18, 70] Operation: 22+48=70 Exploring Operation: 55+18=73, Resulting Numbers: [22, 48, 73] Generated Node #0,2: 67:[22, 48, 73] Operation: 55+18=73 Exploring Operation: 22+18=40, Resulting Numbers: [55, 48, 40] Generated Node #0,3: 67:[55, 48, 40] Operation: 22+18=40 Moving to Node #0,0 Current State: 67:[55, 22, 66], Operations: ['48+18=66'] Exploring Operation: 55-22=33, Resulting Numbers: [66, 33] Generated Node #0,0,0: 67:[66, 33] Operation: 55-22=33 Exploring Operation: 66-22=44, Resulting Numbers: [55, 44] Generated Node #0,0,1: 67:[55, 44] Operation: 66-22=44 Exploring Operation: 22+66=88, Resulting Numbers: [55, 88] Generated Node #0,0,2: 67:[55, 88] Operation: 22+66=88 Exploring Operation: 55+22=77, Resulting Numbers: [66, 77] Generated Node #0,0,3: 67:[66, 77] Operation: 55+22=77 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[66, 77], Operations: ['48+18=66', '55+22=77'] Exploring Operation: 66*77=5082, Resulting Numbers: [5082] 5082,67 unequal: No Solution Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 66+77=143, Resulting Numbers: [143] 143,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[55, 88], Operations: ['48+18=66', '22+66=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,67 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[66, 33], Operations: ['48+18=66', '55-22=33'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,67 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[55, 44], Operations: ['48+18=66', '66-22=44'] Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,67 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,67 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: 67:[55, 48, 40], Operations: ['22+18=40'] Exploring Operation: 55+40=95, Resulting Numbers: [48, 95] Generated Node #0,3,0: 67:[48, 95] Operation: 55+40=95 Exploring Operation: 48+40=88, Resulting Numbers: [55, 88] Generated Node #0,3,1: 67:[55, 88] Operation: 48+40=88 Exploring Operation: 55-40=15, Resulting Numbers: [48, 15] Generated Node #0,3,2: 67:[48, 15] Operation: 55-40=15 Exploring Operation: 55+48=103, Resulting Numbers: [40, 103] Generated Node #0,3,3: 67:[40, 103] Operation: 55+48=103 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[55, 88], Operations: ['22+18=40', '48+40=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[48, 95], Operations: ['22+18=40', '55+40=95'] Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,67 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[40, 103], Operations: ['22+18=40', '55+48=103'] Exploring Operation: 40+103=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 40*103=4120, Resulting Numbers: [4120] 4120,67 unequal: No Solution Exploring Operation: 103-40=63, Resulting Numbers: [63] 63,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[48, 15], Operations: ['22+18=40', '55-40=15'] Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,67 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[55, 18, 70], Operations: ['22+48=70'] Exploring Operation: 55+18=73, Resulting Numbers: [70, 73] Generated Node #0,1,0: 67:[70, 73] Operation: 55+18=73 Exploring Operation: 55-18=37, Resulting Numbers: [70, 37] Generated Node #0,1,1: 67:[70, 37] Operation: 55-18=37 Exploring Operation: 18+70=88, Resulting Numbers: [55, 88] Generated Node #0,1,2: 67:[55, 88] Operation: 18+70=88 Exploring Operation: 70-18=52, Resulting Numbers: [55, 52] Generated Node #0,1,3: 67:[55, 52] Operation: 70-18=52 Moving to Node #0,2 Current State: 67:[22, 48, 73], Operations: ['55+18=73'] Exploring Operation: 22+73=95, Resulting Numbers: [48, 95] Generated Node #0,2,0: 67:[48, 95] Operation: 22+73=95 Exploring Operation: 22+48=70, Resulting Numbers: [73, 70] Generated Node #0,2,1: 67:[73, 70] Operation: 22+48=70 Exploring Operation: 48-22=26, Resulting Numbers: [73, 26] Generated Node #0,2,2: 67:[73, 26] Operation: 48-22=26 Exploring Operation: 73-22=51, Resulting Numbers: [48, 51] Generated Node #0,2,3: 67:[48, 51] Operation: 73-22=51 Moving to Node #0,1,0 Current State: 67:[70, 73], Operations: ['22+48=70', '55+18=73'] Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 70*73=5110, Resulting Numbers: [5110] 5110,67 unequal: No Solution Exploring Operation: 70+73=143, Resulting Numbers: [143] 143,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[73, 70], Operations: ['55+18=73', '22+48=70'] Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,67 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[55, 52], Operations: ['22+48=70', '70-18=52'] Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,67 unequal: No Solution Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[70, 37], Operations: ['22+48=70', '55-18=37'] Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,67 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[55, 88], Operations: ['22+48=70', '18+70=88'] Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,67 unequal: No Solution Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[48, 51], Operations: ['55+18=73', '73-22=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[48, 95], Operations: ['55+18=73', '22+73=95'] Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,67 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[73, 26], Operations: ['55+18=73', '48-22=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,67 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 15, 90, 60 ]
70
[ "15-6=9", "90/9=10", "60+10=70" ]
Current State: 70:[6, 15, 90, 60], Operations: [] Exploring Operation: 15-6=9, Resulting Numbers: [90, 60, 9] Generated Node #2: [90, 60, 9] from Operation: 15-6=9 Current State: 70:[90, 60, 9], Operations: ['15-6=9'] Exploring Operation: 90/9=10, Resulting Numbers: [60, 10] Generated Node #3: [60, 10] from Operation: 90/9=10 Current State: 70:[60, 10], Operations: ['15-6=9', '90/9=10'] Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[6, 15, 90, 60], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [6, 15, 30] Generated Node #0,0: 70:[6, 15, 30] Operation: 90-60=30 Exploring Operation: 90/6=15, Resulting Numbers: [15, 60, 15] Generated Node #0,1: 70:[15, 60, 15] Operation: 90/6=15 Exploring Operation: 90/15=6, Resulting Numbers: [6, 60, 6] Generated Node #0,2: 70:[6, 60, 6] Operation: 90/15=6 Moving to Node #0,0 Current State: 70:[6, 15, 30], Operations: ['90-60=30'] Exploring Operation: 6+30=36, Resulting Numbers: [15, 36] Generated Node #0,0,0: 70:[15, 36] Operation: 6+30=36 Exploring Operation: 30/15=2, Resulting Numbers: [6, 2] Generated Node #0,0,1: 70:[6, 2] Operation: 30/15=2 Exploring Operation: 30/6=5, Resulting Numbers: [15, 5] Generated Node #0,0,2: 70:[15, 5] Operation: 30/6=5 Moving to Node #0,1 Current State: 70:[15, 60, 15], Operations: ['90/6=15'] Exploring Operation: 15+60=75, Resulting Numbers: [15, 75] Generated Node #0,1,0: 70:[15, 75] Operation: 15+60=75 Exploring Operation: 60/15=4, Resulting Numbers: [15, 4] Generated Node #0,1,1: 70:[15, 4] Operation: 60/15=4 Exploring Operation: 60/15=4, Resulting Numbers: [15, 4] Generated Node #0,1,2: 70:[15, 4] Operation: 60/15=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[15, 4], Operations: ['90/6=15', '60/15=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[15, 4], Operations: ['90/6=15', '60/15=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[15, 75], Operations: ['90/6=15', '15+60=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,70 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: 70:[6, 60, 6], Operations: ['90/15=6'] Exploring Operation: 6+60=66, Resulting Numbers: [6, 66] Generated Node #0,2,0: 70:[6, 66] Operation: 6+60=66 Exploring Operation: 60/6=10, Resulting Numbers: [6, 10] Generated Node #0,2,1: 70:[6, 10] Operation: 60/6=10 Exploring Operation: 60/6=10, Resulting Numbers: [6, 10] Generated Node #0,2,2: 70:[6, 10] Operation: 60/6=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[6, 10], Operations: ['90/15=6', '60/6=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[6, 10], Operations: ['90/15=6', '60/6=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[6, 66], Operations: ['90/15=6', '6+60=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,70 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: 70:[6, 2], Operations: ['90-60=30', '30/15=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[15, 5], Operations: ['90-60=30', '30/6=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[15, 36], Operations: ['90-60=30', '6+30=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,70 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 35, 6, 90, 66 ]
86
[ "35+66=101", "90/6=15", "101-15=86" ]
Current State: 86:[35, 6, 90, 66], Operations: [] Exploring Operation: 35+66=101, Resulting Numbers: [6, 90, 101] Generated Node #2: [6, 90, 101] from Operation: 35+66=101 Current State: 86:[6, 90, 101], Operations: ['35+66=101'] Exploring Operation: 90/6=15, Resulting Numbers: [101, 15] Generated Node #3: [101, 15] from Operation: 90/6=15 Current State: 86:[101, 15], Operations: ['35+66=101', '90/6=15'] Exploring Operation: 101-15=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[35, 6, 90, 66], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [6, 90, 31] Generated Node #0,0: 86:[6, 90, 31] Operation: 66-35=31 Exploring Operation: 35+66=101, Resulting Numbers: [6, 90, 101] Generated Node #0,1: 86:[6, 90, 101] Operation: 35+66=101 Exploring Operation: 35+6=41, Resulting Numbers: [90, 66, 41] Generated Node #0,2: 86:[90, 66, 41] Operation: 35+6=41 Exploring Operation: 6+66=72, Resulting Numbers: [35, 90, 72] Generated Node #0,3: 86:[35, 90, 72] Operation: 6+66=72 Exploring Operation: 66/6=11, Resulting Numbers: [35, 90, 11] Generated Node #0,4: 86:[35, 90, 11] Operation: 66/6=11 Moving to Node #0,0 Current State: 86:[6, 90, 31], Operations: ['66-35=31'] Exploring Operation: 6+90=96, Resulting Numbers: [31, 96] Generated Node #0,0,0: 86:[31, 96] Operation: 6+90=96 Exploring Operation: 31-6=25, Resulting Numbers: [90, 25] Generated Node #0,0,1: 86:[90, 25] Operation: 31-6=25 Exploring Operation: 90-6=84, Resulting Numbers: [31, 84] Generated Node #0,0,2: 86:[31, 84] Operation: 90-6=84 Exploring Operation: 6+31=37, Resulting Numbers: [90, 37] Generated Node #0,0,3: 86:[90, 37] Operation: 6+31=37 Exploring Operation: 90-31=59, Resulting Numbers: [6, 59] Generated Node #0,0,4: 86:[6, 59] Operation: 90-31=59 Moving to Node #0,4 Current State: 86:[35, 90, 11], Operations: ['66/6=11'] Exploring Operation: 90-11=79, Resulting Numbers: [35, 79] Generated Node #0,4,0: 86:[35, 79] Operation: 90-11=79 Exploring Operation: 90+11=101, Resulting Numbers: [35, 101] Generated Node #0,4,1: 86:[35, 101] Operation: 90+11=101 Exploring Operation: 90-35=55, Resulting Numbers: [11, 55] Generated Node #0,4,2: 86:[11, 55] Operation: 90-35=55 Exploring Operation: 35-11=24, Resulting Numbers: [90, 24] Generated Node #0,4,3: 86:[90, 24] Operation: 35-11=24 Exploring Operation: 35+11=46, Resulting Numbers: [90, 46] Generated Node #0,4,4: 86:[90, 46] Operation: 35+11=46 Moving to Node #0,1 Current State: 86:[6, 90, 101], Operations: ['35+66=101'] Exploring Operation: 6+101=107, Resulting Numbers: [90, 107] Generated Node #0,1,0: 86:[90, 107] Operation: 6+101=107 Exploring Operation: 90-6=84, Resulting Numbers: [101, 84] Generated Node #0,1,1: 86:[101, 84] Operation: 90-6=84 Exploring Operation: 6+90=96, Resulting Numbers: [101, 96] Generated Node #0,1,2: 86:[101, 96] Operation: 6+90=96 Exploring Operation: 101-90=11, Resulting Numbers: [6, 11] Generated Node #0,1,3: 86:[6, 11] Operation: 101-90=11 Exploring Operation: 101-6=95, Resulting Numbers: [90, 95] Generated Node #0,1,4: 86:[90, 95] Operation: 101-6=95 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[6, 11], Operations: ['35+66=101', '101-90=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 11-6=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,4 Current State: 86:[90, 95], Operations: ['35+66=101', '101-6=95'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 90*95=8550, Resulting Numbers: [8550] 8550,86 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,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:[101, 84], Operations: ['35+66=101', '90-6=84'] Exploring Operation: 101-84=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 101*84=8484, Resulting Numbers: [8484] 8484,86 unequal: No Solution Exploring Operation: 101+84=185, Resulting Numbers: [185] 185,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:[90, 107], Operations: ['35+66=101', '6+101=107'] Exploring Operation: 107-90=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 90*107=9630, Resulting Numbers: [9630] 9630,86 unequal: No Solution Exploring Operation: 90+107=197, Resulting Numbers: [197] 197,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:[101, 96], Operations: ['35+66=101', '6+90=96'] Exploring Operation: 101*96=9696, Resulting Numbers: [9696] 9696,86 unequal: No Solution Exploring Operation: 101+96=197, Resulting Numbers: [197] 197,86 unequal: No Solution Exploring Operation: 101-96=5, Resulting Numbers: [5] 5,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:[90, 66, 41], Operations: ['35+6=41'] Exploring Operation: 90-41=49, Resulting Numbers: [66, 49] Generated Node #0,2,0: 86:[66, 49] Operation: 90-41=49 Exploring Operation: 66-41=25, Resulting Numbers: [90, 25] Generated Node #0,2,1: 86:[90, 25] Operation: 66-41=25 Exploring Operation: 90+41=131, Resulting Numbers: [66, 131] Generated Node #0,2,2: 86:[66, 131] Operation: 90+41=131 Exploring Operation: 90-66=24, Resulting Numbers: [41, 24] Generated Node #0,2,3: 86:[41, 24] Operation: 90-66=24 Exploring Operation: 66+41=107, Resulting Numbers: [90, 107] Generated Node #0,2,4: 86:[90, 107] Operation: 66+41=107 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[41, 24], Operations: ['35+6=41', '90-66=24'] Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,86 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,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,2,1 Current State: 86:[90, 25], Operations: ['35+6=41', '66-41=25'] Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,86 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,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,2,4 Current State: 86:[90, 107], Operations: ['35+6=41', '66+41=107'] Exploring Operation: 107-90=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 90*107=9630, Resulting Numbers: [9630] 9630,86 unequal: No Solution Exploring Operation: 90+107=197, Resulting Numbers: [197] 197,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,2,0 Current State: 86:[66, 49], Operations: ['35+6=41', '90-41=49'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,86 unequal: No Solution Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,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,2,2 Current State: 86:[66, 131], Operations: ['35+6=41', '90+41=131'] Exploring Operation: 66*131=8646, Resulting Numbers: [8646] 8646,86 unequal: No Solution Exploring Operation: 66+131=197, Resulting Numbers: [197] 197,86 unequal: No Solution Exploring Operation: 131-66=65, Resulting Numbers: [65] 65,86 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: 86:[35, 90, 72], Operations: ['6+66=72'] Exploring Operation: 35+72=107, Resulting Numbers: [90, 107] Generated Node #0,3,0: 86:[90, 107] Operation: 35+72=107 Exploring Operation: 90-35=55, Resulting Numbers: [72, 55] Generated Node #0,3,1: 86:[72, 55] Operation: 90-35=55 Exploring Operation: 90-72=18, Resulting Numbers: [35, 18] Generated Node #0,3,2: 86:[35, 18] Operation: 90-72=18 Exploring Operation: 35+90=125, Resulting Numbers: [72, 125] Generated Node #0,3,3: 86:[72, 125] Operation: 35+90=125 Exploring Operation: 72-35=37, Resulting Numbers: [90, 37] Generated Node #0,3,4: 86:[90, 37] Operation: 72-35=37 Moving to Node #0,4,4 Current State: 86:[90, 46], Operations: ['66/6=11', '35+11=46'] Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,86 unequal: No Solution Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 90*46=4140, Resulting Numbers: [4140] 4140,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[90, 37], Operations: ['66-35=31', '6+31=37'] Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,86 unequal: No Solution Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,86 unequal: No Solution Moving to Node #0,3,4 Current State: 86:[90, 37], Operations: ['6+66=72', '72-35=37'] Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[31, 84], Operations: ['66-35=31', '90-6=84'] Exploring Operation: 31+84=115, Resulting Numbers: [115] 115,86 unequal: No Solution Exploring Operation: 31*84=2604, Resulting Numbers: [2604] 2604,86 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[35, 79], Operations: ['66/6=11', '90-11=79'] Exploring Operation: 35*79=2765, Resulting Numbers: [2765] 2765,86 unequal: No Solution Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,86 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,86 unequal: No Solution Moving to Node #0,0,4 Current State: 86:[6, 59], Operations: ['66-35=31', '90-31=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,86 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[11, 55], Operations: ['66/6=11', '90-35=55'] Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,86 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[90, 25], Operations: ['66-35=31', '31-6=25'] Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,86 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,86 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[31, 96], Operations: ['66-35=31', '6+90=96'] Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 31*96=2976, Resulting Numbers: [2976] 2976,86 unequal: No Solution Exploring Operation: 31+96=127, Resulting Numbers: [127] 127,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[90, 24], Operations: ['66/6=11', '35-11=24'] Exploring Operation: 90*24=2160, Resulting Numbers: [2160] 2160,86 unequal: No Solution Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,86 unequal: No Solution Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[35, 101], Operations: ['66/6=11', '90+11=101'] Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,86 unequal: No Solution Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 35*101=3535, Resulting Numbers: [3535] 3535,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[35, 18], Operations: ['6+66=72', '90-72=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,86 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[90, 107], Operations: ['6+66=72', '35+72=107'] Exploring Operation: 90*107=9630, Resulting Numbers: [9630] 9630,86 unequal: No Solution Exploring Operation: 107-90=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 90+107=197, Resulting Numbers: [197] 197,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[72, 55], Operations: ['6+66=72', '90-35=55'] Exploring Operation: 72+55=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 72*55=3960, Resulting Numbers: [3960] 3960,86 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[72, 125], Operations: ['6+66=72', '35+90=125'] Exploring Operation: 72*125=9000, Resulting Numbers: [9000] 9000,86 unequal: No Solution Exploring Operation: 72+125=197, Resulting Numbers: [197] 197,86 unequal: No Solution Exploring Operation: 125-72=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 33, 44, 90, 43 ]
77
[ "44*90=3960", "3960/33=120", "120-43=77" ]
Current State: 77:[33, 44, 90, 43], Operations: [] Exploring Operation: 44*90=3960, Resulting Numbers: [33, 43, 3960] Generated Node #2: [33, 43, 3960] from Operation: 44*90=3960 Current State: 77:[33, 43, 3960], Operations: ['44*90=3960'] Exploring Operation: 3960/33=120, Resulting Numbers: [43, 120] Generated Node #3: [43, 120] from Operation: 3960/33=120 Current State: 77:[43, 120], Operations: ['44*90=3960', '3960/33=120'] Exploring Operation: 120-43=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[33, 44, 90, 43], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [33, 90, 1] Generated Node #0,0: 77:[33, 90, 1] Operation: 44-43=1 Exploring Operation: 44-33=11, Resulting Numbers: [90, 43, 11] Generated Node #0,1: 77:[90, 43, 11] Operation: 44-33=11 Exploring Operation: 33+43=76, Resulting Numbers: [44, 90, 76] Generated Node #0,2: 77:[44, 90, 76] Operation: 33+43=76 Exploring Operation: 33+44=77, Resulting Numbers: [90, 43, 77] Generated Node #0,3: 77:[90, 43, 77] Operation: 33+44=77 Exploring Operation: 44+43=87, Resulting Numbers: [33, 90, 87] Generated Node #0,4: 77:[33, 90, 87] Operation: 44+43=87 Moving to Node #0,0 Current State: 77:[33, 90, 1], Operations: ['44-43=1'] Exploring Operation: 33-1=32, Resulting Numbers: [90, 32] Generated Node #0,0,0: 77:[90, 32] Operation: 33-1=32 Exploring Operation: 33/1=33, Resulting Numbers: [90, 33] Generated Node #0,0,1: 77:[90, 33] Operation: 33/1=33 Exploring Operation: 90-33=57, Resulting Numbers: [1, 57] Generated Node #0,0,2: 77:[1, 57] Operation: 90-33=57 Exploring Operation: 33*1=33, Resulting Numbers: [90, 33] Generated Node #0,0,3: 77:[90, 33] Operation: 33*1=33 Exploring Operation: 90-1=89, Resulting Numbers: [33, 89] Generated Node #0,0,4: 77:[33, 89] Operation: 90-1=89 Moving to Node #0,3 Current State: 77:[90, 43, 77], Operations: ['33+44=77'] Exploring Operation: 90+43=133, Resulting Numbers: [77, 133] Generated Node #0,3,0: 77:[77, 133] Operation: 90+43=133 Exploring Operation: 77-43=34, Resulting Numbers: [90, 34] Generated Node #0,3,1: 77:[90, 34] Operation: 77-43=34 Exploring Operation: 43+77=120, Resulting Numbers: [90, 120] Generated Node #0,3,2: 77:[90, 120] Operation: 43+77=120 Exploring Operation: 90-43=47, Resulting Numbers: [77, 47] Generated Node #0,3,3: 77:[77, 47] Operation: 90-43=47 Exploring Operation: 90-77=13, Resulting Numbers: [43, 13] Generated Node #0,3,4: 77:[43, 13] Operation: 90-77=13 Moving to Node #0,1 Current State: 77:[90, 43, 11], Operations: ['44-33=11'] Exploring Operation: 43-11=32, Resulting Numbers: [90, 32] Generated Node #0,1,0: 77:[90, 32] Operation: 43-11=32 Exploring Operation: 90-11=79, Resulting Numbers: [43, 79] Generated Node #0,1,1: 77:[43, 79] Operation: 90-11=79 Exploring Operation: 90-43=47, Resulting Numbers: [11, 47] Generated Node #0,1,2: 77:[11, 47] Operation: 90-43=47 Exploring Operation: 43+11=54, Resulting Numbers: [90, 54] Generated Node #0,1,3: 77:[90, 54] Operation: 43+11=54 Exploring Operation: 90+43=133, Resulting Numbers: [11, 133] Generated Node #0,1,4: 77:[11, 133] Operation: 90+43=133 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[11, 47], Operations: ['44-33=11', '90-43=47'] Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,77 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[90, 32], Operations: ['44-33=11', '43-11=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,77 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,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,1 Current State: 77:[43, 79], Operations: ['44-33=11', '90-11=79'] Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 43*79=3397, Resulting Numbers: [3397] 3397,77 unequal: No Solution Exploring Operation: 43+79=122, Resulting Numbers: [122] 122,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,3 Current State: 77:[90, 54], Operations: ['44-33=11', '43+11=54'] Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,77 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,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,4 Current State: 77:[11, 133], Operations: ['44-33=11', '90+43=133'] Exploring Operation: 11*133=1463, Resulting Numbers: [1463] 1463,77 unequal: No Solution Exploring Operation: 133-11=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 11+133=144, Resulting Numbers: [144] 144,77 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: 77:[33, 90, 87], Operations: ['44+43=87'] Exploring Operation: 90-87=3, Resulting Numbers: [33, 3] Generated Node #0,4,0: 77:[33, 3] Operation: 90-87=3 Exploring Operation: 87-33=54, Resulting Numbers: [90, 54] Generated Node #0,4,1: 77:[90, 54] Operation: 87-33=54 Exploring Operation: 33+87=120, Resulting Numbers: [90, 120] Generated Node #0,4,2: 77:[90, 120] Operation: 33+87=120 Exploring Operation: 90-33=57, Resulting Numbers: [87, 57] Generated Node #0,4,3: 77:[87, 57] Operation: 90-33=57 Exploring Operation: 33+90=123, Resulting Numbers: [87, 123] Generated Node #0,4,4: 77:[87, 123] Operation: 33+90=123 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[33, 3], Operations: ['44+43=87', '90-87=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 77:[87, 57], Operations: ['44+43=87', '90-33=57'] Exploring Operation: 87*57=4959, Resulting Numbers: [4959] 4959,77 unequal: No Solution Exploring Operation: 87+57=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[90, 54], Operations: ['44+43=87', '87-33=54'] Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,77 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 77:[90, 120], Operations: ['44+43=87', '33+87=120'] Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,77 unequal: No Solution Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 77:[87, 123], Operations: ['44+43=87', '33+90=123'] Exploring Operation: 87+123=210, Resulting Numbers: [210] 210,77 unequal: No Solution Exploring Operation: 123-87=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 87*123=10701, Resulting Numbers: [10701] 10701,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 77:[44, 90, 76], Operations: ['33+43=76'] Exploring Operation: 44+76=120, Resulting Numbers: [90, 120] Generated Node #0,2,0: 77:[90, 120] Operation: 44+76=120 Exploring Operation: 76-44=32, Resulting Numbers: [90, 32] Generated Node #0,2,1: 77:[90, 32] Operation: 76-44=32 Exploring Operation: 44+90=134, Resulting Numbers: [76, 134] Generated Node #0,2,2: 77:[76, 134] Operation: 44+90=134 Exploring Operation: 90-44=46, Resulting Numbers: [76, 46] Generated Node #0,2,3: 77:[76, 46] Operation: 90-44=46 Exploring Operation: 90-76=14, Resulting Numbers: [44, 14] Generated Node #0,2,4: 77:[44, 14] Operation: 90-76=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[76, 46], Operations: ['33+43=76', '90-44=46'] Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,77 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[90, 32], Operations: ['33+43=76', '76-44=32'] Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,77 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[44, 14], Operations: ['33+43=76', '90-76=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,77 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[90, 120], Operations: ['33+43=76', '44+76=120'] Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,77 unequal: No Solution Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[76, 134], Operations: ['33+43=76', '44+90=134'] Exploring Operation: 134-76=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 76+134=210, Resulting Numbers: [210] 210,77 unequal: No Solution Exploring Operation: 76*134=10184, Resulting Numbers: [10184] 10184,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 77:[1, 57], Operations: ['44-43=1', '90-33=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[77, 47], Operations: ['33+44=77', '90-43=47'] Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 77*47=3619, Resulting Numbers: [3619] 3619,77 unequal: No Solution Exploring Operation: 77+47=124, Resulting Numbers: [124] 124,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[43, 13], Operations: ['33+44=77', '90-77=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,77 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[33, 89], Operations: ['44-43=1', '90-1=89'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 33+89=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 33*89=2937, Resulting Numbers: [2937] 2937,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[90, 32], Operations: ['44-43=1', '33-1=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,77 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[90, 33], Operations: ['44-43=1', '33*1=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,77 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[90, 33], Operations: ['44-43=1', '33/1=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,77 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,77 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[90, 34], Operations: ['33+44=77', '77-43=34'] Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,77 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[77, 133], Operations: ['33+44=77', '90+43=133'] Exploring Operation: 133-77=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 77*133=10241, Resulting Numbers: [10241] 10241,77 unequal: No Solution Exploring Operation: 77+133=210, Resulting Numbers: [210] 210,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[90, 120], Operations: ['33+44=77', '43+77=120'] Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,77 unequal: No Solution Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 30, 21, 2, 16 ]
43
[ "30+21=51", "16/2=8", "51-8=43" ]
Current State: 43:[30, 21, 2, 16], Operations: [] Exploring Operation: 30+21=51, Resulting Numbers: [2, 16, 51] Generated Node #2: [2, 16, 51] from Operation: 30+21=51 Current State: 43:[2, 16, 51], Operations: ['30+21=51'] Exploring Operation: 16/2=8, Resulting Numbers: [51, 8] Generated Node #3: [51, 8] from Operation: 16/2=8 Current State: 43:[51, 8], Operations: ['30+21=51', '16/2=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[30, 21, 2, 16], Operations: [] Exploring Operation: 30+2=32, Resulting Numbers: [21, 16, 32] Generated Node #0,0: 43:[21, 16, 32] Operation: 30+2=32 Exploring Operation: 21*2=42, Resulting Numbers: [30, 16, 42] Generated Node #0,1: 43:[30, 16, 42] Operation: 21*2=42 Exploring Operation: 2*16=32, Resulting Numbers: [30, 21, 32] Generated Node #0,2: 43:[30, 21, 32] Operation: 2*16=32 Exploring Operation: 21+2=23, Resulting Numbers: [30, 16, 23] Generated Node #0,3: 43:[30, 16, 23] Operation: 21+2=23 Exploring Operation: 21+16=37, Resulting Numbers: [30, 2, 37] Generated Node #0,4: 43:[30, 2, 37] Operation: 21+16=37 Moving to Node #0,1 Current State: 43:[30, 16, 42], Operations: ['21*2=42'] Exploring Operation: 16+42=58, Resulting Numbers: [30, 58] Generated Node #0,1,0: 43:[30, 58] Operation: 16+42=58 Exploring Operation: 42-16=26, Resulting Numbers: [30, 26] Generated Node #0,1,1: 43:[30, 26] Operation: 42-16=26 Exploring Operation: 30+42=72, Resulting Numbers: [16, 72] Generated Node #0,1,2: 43:[16, 72] Operation: 30+42=72 Exploring Operation: 30-16=14, Resulting Numbers: [42, 14] Generated Node #0,1,3: 43:[42, 14] Operation: 30-16=14 Exploring Operation: 30+16=46, Resulting Numbers: [42, 46] Generated Node #0,1,4: 43:[42, 46] Operation: 30+16=46 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 43:[42, 46], Operations: ['21*2=42', '30+16=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,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,0 Current State: 43:[30, 58], Operations: ['21*2=42', '16+42=58'] Exploring Operation: 30*58=1740, Resulting Numbers: [1740] 1740,43 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 30+58=88, Resulting Numbers: [88] 88,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:[30, 26], Operations: ['21*2=42', '42-16=26'] Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,43 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[42, 14], Operations: ['21*2=42', '30-16=14'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,43 unequal: No Solution Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[16, 72], Operations: ['21*2=42', '30+42=72'] Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,43 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,43 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: 43:[30, 21, 32], Operations: ['2*16=32'] Exploring Operation: 30-21=9, Resulting Numbers: [32, 9] Generated Node #0,2,0: 43:[32, 9] Operation: 30-21=9 Exploring Operation: 32-21=11, Resulting Numbers: [30, 11] Generated Node #0,2,1: 43:[30, 11] Operation: 32-21=11 Exploring Operation: 30+21=51, Resulting Numbers: [32, 51] Generated Node #0,2,2: 43:[32, 51] Operation: 30+21=51 Exploring Operation: 21+32=53, Resulting Numbers: [30, 53] Generated Node #0,2,3: 43:[30, 53] Operation: 21+32=53 Exploring Operation: 30+32=62, Resulting Numbers: [21, 62] Generated Node #0,2,4: 43:[21, 62] Operation: 30+32=62 Moving to Node #0,0 Current State: 43:[21, 16, 32], Operations: ['30+2=32'] Exploring Operation: 21-16=5, Resulting Numbers: [32, 5] Generated Node #0,0,0: 43:[32, 5] Operation: 21-16=5 Exploring Operation: 32-16=16, Resulting Numbers: [21, 16] Generated Node #0,0,1: 43:[21, 16] Operation: 32-16=16 Exploring Operation: 21+16=37, Resulting Numbers: [32, 37] Generated Node #0,0,2: 43:[32, 37] Operation: 21+16=37 Exploring Operation: 16+32=48, Resulting Numbers: [21, 48] Generated Node #0,0,3: 43:[21, 48] Operation: 16+32=48 Exploring Operation: 21+32=53, Resulting Numbers: [16, 53] Generated Node #0,0,4: 43:[16, 53] Operation: 21+32=53 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[32, 37], Operations: ['30+2=32', '21+16=37'] Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,43 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,43 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[21, 48], Operations: ['30+2=32', '16+32=48'] Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[16, 53], Operations: ['30+2=32', '21+32=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,43 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[32, 5], Operations: ['30+2=32', '21-16=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[21, 16], Operations: ['30+2=32', '32-16=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,43 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 43:[30, 16, 23], Operations: ['21+2=23'] Exploring Operation: 30+16=46, Resulting Numbers: [23, 46] Generated Node #0,3,0: 43:[23, 46] Operation: 30+16=46 Exploring Operation: 30+23=53, Resulting Numbers: [16, 53] Generated Node #0,3,1: 43:[16, 53] Operation: 30+23=53 Exploring Operation: 16+23=39, Resulting Numbers: [30, 39] Generated Node #0,3,2: 43:[30, 39] Operation: 16+23=39 Exploring Operation: 30-16=14, Resulting Numbers: [23, 14] Generated Node #0,3,3: 43:[23, 14] Operation: 30-16=14 Exploring Operation: 23-16=7, Resulting Numbers: [30, 7] Generated Node #0,3,4: 43:[30, 7] Operation: 23-16=7 Moving to Node #0,4 Current State: 43:[30, 2, 37], Operations: ['21+16=37'] Exploring Operation: 30+2=32, Resulting Numbers: [37, 32] Generated Node #0,4,0: 43:[37, 32] Operation: 30+2=32 Exploring Operation: 30-2=28, Resulting Numbers: [37, 28] Generated Node #0,4,1: 43:[37, 28] Operation: 30-2=28 Exploring Operation: 30*2=60, Resulting Numbers: [37, 60] Generated Node #0,4,2: 43:[37, 60] Operation: 30*2=60 Exploring Operation: 37-2=35, Resulting Numbers: [30, 35] Generated Node #0,4,3: 43:[30, 35] Operation: 37-2=35 Exploring Operation: 2+37=39, Resulting Numbers: [30, 39] Generated Node #0,4,4: 43:[30, 39] Operation: 2+37=39 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 43:[37, 32], Operations: ['21+16=37', '30+2=32'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,43 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 43:[30, 39], Operations: ['21+16=37', '2+37=39'] Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,43 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,43 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 43:[37, 28], Operations: ['21+16=37', '30-2=28'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,43 unequal: No Solution Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 43:[30, 35], Operations: ['21+16=37', '37-2=35'] Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,43 unequal: No Solution Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,43 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 43:[37, 60], Operations: ['21+16=37', '30*2=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,43 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,43 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,43 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: 43:[30, 39], Operations: ['21+2=23', '16+23=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,43 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[32, 51], Operations: ['2*16=32', '30+21=51'] Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,43 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[23, 46], Operations: ['21+2=23', '30+16=46'] Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,43 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[30, 53], Operations: ['2*16=32', '21+32=53'] Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,43 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[16, 53], Operations: ['21+2=23', '30+23=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,43 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[21, 62], Operations: ['2*16=32', '30+32=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,43 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[30, 11], Operations: ['2*16=32', '32-21=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,43 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[32, 9], Operations: ['2*16=32', '30-21=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,43 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[30, 7], Operations: ['21+2=23', '23-16=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,43 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[23, 14], Operations: ['21+2=23', '30-16=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,43 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,43 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 44, 77, 10, 22 ]
17
[ "77*10=770", "770-22=748", "748/44=17" ]
Current State: 17:[44, 77, 10, 22], Operations: [] Exploring Operation: 77*10=770, Resulting Numbers: [44, 22, 770] Generated Node #2: [44, 22, 770] from Operation: 77*10=770 Current State: 17:[44, 22, 770], Operations: ['77*10=770'] Exploring Operation: 770-22=748, Resulting Numbers: [44, 748] Generated Node #3: [44, 748] from Operation: 770-22=748 Current State: 17:[44, 748], Operations: ['77*10=770', '770-22=748'] Exploring Operation: 748/44=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[44, 77, 10, 22], Operations: [] Exploring Operation: 44-22=22, Resulting Numbers: [77, 10, 22] Generated Node #0,0: 17:[77, 10, 22] Operation: 44-22=22 Exploring Operation: 77-22=55, Resulting Numbers: [44, 10, 55] Generated Node #0,1: 17:[44, 10, 55] Operation: 77-22=55 Exploring Operation: 44/22=2, Resulting Numbers: [77, 10, 2] Generated Node #0,2: 17:[77, 10, 2] Operation: 44/22=2 Exploring Operation: 77-44=33, Resulting Numbers: [10, 22, 33] Generated Node #0,3: 17:[10, 22, 33] Operation: 77-44=33 Exploring Operation: 44-10=34, Resulting Numbers: [77, 22, 34] Generated Node #0,4: 17:[77, 22, 34] Operation: 44-10=34 Moving to Node #0,3 Current State: 17:[10, 22, 33], Operations: ['77-44=33'] Exploring Operation: 22-10=12, Resulting Numbers: [33, 12] Generated Node #0,3,0: 17:[33, 12] Operation: 22-10=12 Exploring Operation: 10+22=32, Resulting Numbers: [33, 32] Generated Node #0,3,1: 17:[33, 32] Operation: 10+22=32 Exploring Operation: 10+33=43, Resulting Numbers: [22, 43] Generated Node #0,3,2: 17:[22, 43] Operation: 10+33=43 Exploring Operation: 33-10=23, Resulting Numbers: [22, 23] Generated Node #0,3,3: 17:[22, 23] Operation: 33-10=23 Exploring Operation: 33-22=11, Resulting Numbers: [10, 11] Generated Node #0,3,4: 17:[10, 11] Operation: 33-22=11 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[22, 23], Operations: ['77-44=33', '33-10=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,17 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[10, 11], Operations: ['77-44=33', '33-22=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[33, 12], Operations: ['77-44=33', '22-10=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,17 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[33, 32], Operations: ['77-44=33', '10+22=32'] Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,17 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[22, 43], Operations: ['77-44=33', '10+33=43'] Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,17 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 17:[44, 10, 55], Operations: ['77-22=55'] Exploring Operation: 55-44=11, Resulting Numbers: [10, 11] Generated Node #0,1,0: 17:[10, 11] Operation: 55-44=11 Exploring Operation: 44+10=54, Resulting Numbers: [55, 54] Generated Node #0,1,1: 17:[55, 54] Operation: 44+10=54 Exploring Operation: 10+55=65, Resulting Numbers: [44, 65] Generated Node #0,1,2: 17:[44, 65] Operation: 10+55=65 Exploring Operation: 55-10=45, Resulting Numbers: [44, 45] Generated Node #0,1,3: 17:[44, 45] Operation: 55-10=45 Exploring Operation: 44-10=34, Resulting Numbers: [55, 34] Generated Node #0,1,4: 17:[55, 34] Operation: 44-10=34 Moving to Node #0,0 Current State: 17:[77, 10, 22], Operations: ['44-22=22'] Exploring Operation: 77-10=67, Resulting Numbers: [22, 67] Generated Node #0,0,0: 17:[22, 67] Operation: 77-10=67 Exploring Operation: 10+22=32, Resulting Numbers: [77, 32] Generated Node #0,0,1: 17:[77, 32] Operation: 10+22=32 Exploring Operation: 77-22=55, Resulting Numbers: [10, 55] Generated Node #0,0,2: 17:[10, 55] Operation: 77-22=55 Exploring Operation: 77+10=87, Resulting Numbers: [22, 87] Generated Node #0,0,3: 17:[22, 87] Operation: 77+10=87 Exploring Operation: 22-10=12, Resulting Numbers: [77, 12] Generated Node #0,0,4: 17:[77, 12] Operation: 22-10=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[10, 55], Operations: ['44-22=22', '77-22=55'] Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,17 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[22, 67], Operations: ['44-22=22', '77-10=67'] Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,17 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[77, 12], Operations: ['44-22=22', '22-10=12'] Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,17 unequal: No Solution Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[77, 32], Operations: ['44-22=22', '10+22=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,17 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[22, 87], Operations: ['44-22=22', '77+10=87'] Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,17 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,17 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: 17:[77, 10, 2], Operations: ['44/22=2'] Exploring Operation: 77-10=67, Resulting Numbers: [2, 67] Generated Node #0,2,0: 17:[2, 67] Operation: 77-10=67 Exploring Operation: 10+2=12, Resulting Numbers: [77, 12] Generated Node #0,2,1: 17:[77, 12] Operation: 10+2=12 Exploring Operation: 77+2=79, Resulting Numbers: [10, 79] Generated Node #0,2,2: 17:[10, 79] Operation: 77+2=79 Exploring Operation: 10*2=20, Resulting Numbers: [77, 20] Generated Node #0,2,3: 17:[77, 20] Operation: 10*2=20 Exploring Operation: 77-2=75, Resulting Numbers: [10, 75] Generated Node #0,2,4: 17:[10, 75] Operation: 77-2=75 Moving to Node #0,4 Current State: 17:[77, 22, 34], Operations: ['44-10=34'] Exploring Operation: 77-34=43, Resulting Numbers: [22, 43] Generated Node #0,4,0: 17:[22, 43] Operation: 77-34=43 Exploring Operation: 34-22=12, Resulting Numbers: [77, 12] Generated Node #0,4,1: 17:[77, 12] Operation: 34-22=12 Exploring Operation: 77+22=99, Resulting Numbers: [34, 99] Generated Node #0,4,2: 17:[34, 99] Operation: 77+22=99 Exploring Operation: 77-22=55, Resulting Numbers: [34, 55] Generated Node #0,4,3: 17:[34, 55] Operation: 77-22=55 Exploring Operation: 77+34=111, Resulting Numbers: [22, 111] Generated Node #0,4,4: 17:[22, 111] Operation: 77+34=111 Moving to Node #0,1,0 Current State: 17:[10, 11], Operations: ['77-22=55', '55-44=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[22, 43], Operations: ['44-10=34', '77-34=43'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,17 unequal: No Solution Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[55, 34], Operations: ['77-22=55', '44-10=34'] Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,17 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[34, 55], Operations: ['44-10=34', '77-22=55'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 34+55=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 34*55=1870, Resulting Numbers: [1870] 1870,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[44, 45], Operations: ['77-22=55', '55-10=45'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,17 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[77, 20], Operations: ['44/22=2', '10*2=20'] Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,17 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[2, 67], Operations: ['44/22=2', '77-10=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[77, 12], Operations: ['44-10=34', '34-22=12'] Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,17 unequal: No Solution Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[77, 12], Operations: ['44/22=2', '10+2=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,17 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[10, 75], Operations: ['44/22=2', '77-2=75'] Exploring Operation: 10*75=750, Resulting Numbers: [750] 750,17 unequal: No Solution Exploring Operation: 10+75=85, Resulting Numbers: [85] 85,17 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[10, 79], Operations: ['44/22=2', '77+2=79'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 10*79=790, Resulting Numbers: [790] 790,17 unequal: No Solution Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[44, 65], Operations: ['77-22=55', '10+55=65'] Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 44+65=109, Resulting Numbers: [109] 109,17 unequal: No Solution Exploring Operation: 44*65=2860, Resulting Numbers: [2860] 2860,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[55, 54], Operations: ['77-22=55', '44+10=54'] Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,17 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 55*54=2970, Resulting Numbers: [2970] 2970,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[34, 99], Operations: ['44-10=34', '77+22=99'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 34*99=3366, Resulting Numbers: [3366] 3366,17 unequal: No Solution Exploring Operation: 34+99=133, Resulting Numbers: [133] 133,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[22, 111], Operations: ['44-10=34', '77+34=111'] Exploring Operation: 111-22=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 22+111=133, Resulting Numbers: [133] 133,17 unequal: No Solution Exploring Operation: 22*111=2442, Resulting Numbers: [2442] 2442,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 12, 67, 88, 65 ]
94
[ "67-65=2", "12/2=6", "88+6=94" ]
Current State: 94:[12, 67, 88, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [12, 88, 2] Generated Node #2: [12, 88, 2] from Operation: 67-65=2 Current State: 94:[12, 88, 2], Operations: ['67-65=2'] Exploring Operation: 12/2=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 12/2=6 Current State: 94:[88, 6], Operations: ['67-65=2', '12/2=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[12, 67, 88, 65], Operations: [] Exploring Operation: 67-12=55, Resulting Numbers: [88, 65, 55] Generated Node #0,0: 94:[88, 65, 55] Operation: 67-12=55 Exploring Operation: 12+67=79, Resulting Numbers: [88, 65, 79] Generated Node #0,1: 94:[88, 65, 79] Operation: 12+67=79 Exploring Operation: 12+65=77, Resulting Numbers: [67, 88, 77] Generated Node #0,2: 94:[67, 88, 77] Operation: 12+65=77 Exploring Operation: 65-12=53, Resulting Numbers: [67, 88, 53] Generated Node #0,3: 94:[67, 88, 53] Operation: 65-12=53 Exploring Operation: 67-65=2, Resulting Numbers: [12, 88, 2] Generated Node #0,4: 94:[12, 88, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[12, 88, 2], Operations: ['67-65=2'] Exploring Operation: 12+88=100, Resulting Numbers: [2, 100] Generated Node #0,4,0: 94:[2, 100] Operation: 12+88=100 Exploring Operation: 12/2=6, Resulting Numbers: [88, 6] Generated Node #0,4,1: 94:[88, 6] Operation: 12/2=6 Exploring Operation: 88+2=90, Resulting Numbers: [12, 90] Generated Node #0,4,2: 94:[12, 90] Operation: 88+2=90 Exploring Operation: 88/2=44, Resulting Numbers: [12, 44] Generated Node #0,4,3: 94:[12, 44] Operation: 88/2=44 Exploring Operation: 12-2=10, Resulting Numbers: [88, 10] Generated Node #0,4,4: 94:[88, 10] Operation: 12-2=10 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 94:[2, 100], Operations: ['67-65=2', '12+88=100'] Exploring Operation: 2*100=200, Resulting Numbers: [200] 200,94 unequal: No Solution Exploring Operation: 2+100=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 100/2=50, Resulting Numbers: [50] 50,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 94:[88, 6], Operations: ['67-65=2', '12/2=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[12, 67, 88, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [12, 88, 2] Generated Node #0,4: 94:[12, 88, 2] Operation: 67-65=2 Moving to Node #0,4 Current State: 94:[12, 88, 2], Operations: ['67-65=2'] Exploring Operation: 12/2=6, Resulting Numbers: [88, 6] Generated Node #0,4,1: 94:[88, 6] Operation: 12/2=6 Moving to Node #0,4,1 Current State: 94:[88, 6], Operations: ['67-65=2', '12/2=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 44, 60, 22, 83 ]
77
[ "60-44=16", "83-22=61", "16+61=77" ]
Current State: 77:[44, 60, 22, 83], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [22, 83, 16] Generated Node #2: [22, 83, 16] from Operation: 60-44=16 Current State: 77:[22, 83, 16], Operations: ['60-44=16'] Exploring Operation: 83-22=61, Resulting Numbers: [16, 61] Generated Node #3: [16, 61] from Operation: 83-22=61 Current State: 77:[16, 61], Operations: ['60-44=16', '83-22=61'] Exploring Operation: 16+61=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[44, 60, 22, 83], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [60, 83, 2] Generated Node #0,0: 77:[60, 83, 2] Operation: 44/22=2 Exploring Operation: 44+22=66, Resulting Numbers: [60, 83, 66] Generated Node #0,1: 77:[60, 83, 66] Operation: 44+22=66 Exploring Operation: 60-44=16, Resulting Numbers: [22, 83, 16] Generated Node #0,2: 77:[22, 83, 16] Operation: 60-44=16 Moving to Node #0,2 Current State: 77:[22, 83, 16], Operations: ['60-44=16'] Exploring Operation: 83-22=61, Resulting Numbers: [16, 61] Generated Node #0,2,0: 77:[16, 61] Operation: 83-22=61 Exploring Operation: 22-16=6, Resulting Numbers: [83, 6] Generated Node #0,2,1: 77:[83, 6] Operation: 22-16=6 Exploring Operation: 83-16=67, Resulting Numbers: [22, 67] Generated Node #0,2,2: 77:[22, 67] Operation: 83-16=67 Moving to Node #0,0 Current State: 77:[60, 83, 2], Operations: ['44/22=2'] Exploring Operation: 60+2=62, Resulting Numbers: [83, 62] Generated Node #0,0,0: 77:[83, 62] Operation: 60+2=62 Exploring Operation: 83-2=81, Resulting Numbers: [60, 81] Generated Node #0,0,1: 77:[60, 81] Operation: 83-2=81 Exploring Operation: 83-60=23, Resulting Numbers: [2, 23] Generated Node #0,0,2: 77:[2, 23] Operation: 83-60=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[2, 23], Operations: ['44/22=2', '83-60=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[83, 62], Operations: ['44/22=2', '60+2=62'] Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,77 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[60, 81], Operations: ['44/22=2', '83-2=81'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 60*81=4860, Resulting Numbers: [4860] 4860,77 unequal: No Solution Exploring Operation: 60+81=141, Resulting Numbers: [141] 141,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[60, 83, 66], Operations: ['44+22=66'] Exploring Operation: 83-60=23, Resulting Numbers: [66, 23] Generated Node #0,1,0: 77:[66, 23] Operation: 83-60=23 Exploring Operation: 83-66=17, Resulting Numbers: [60, 17] Generated Node #0,1,1: 77:[60, 17] Operation: 83-66=17 Exploring Operation: 66-60=6, Resulting Numbers: [83, 6] Generated Node #0,1,2: 77:[83, 6] Operation: 66-60=6 Moving to Node #0,2,1 Current State: 77:[83, 6], Operations: ['60-44=16', '22-16=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,77 unequal: No Solution Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,77 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[44, 60, 22, 83], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [22, 83, 16] Generated Node #0,2: 77:[22, 83, 16] Operation: 60-44=16 Moving to Node #0,2 Current State: 77:[22, 83, 16], Operations: ['60-44=16'] Exploring Operation: 22-16=6, Resulting Numbers: [83, 6] Generated Node #0,2,1: 77:[83, 6] Operation: 22-16=6 Moving to Node #0,2,1 Current State: 77:[83, 6], Operations: ['60-44=16', '22-16=6'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 2, 61, 4, 62 ]
91
[ "61*4=244", "244-62=182", "182/2=91" ]
Current State: 91:[2, 61, 4, 62], Operations: [] Exploring Operation: 61*4=244, Resulting Numbers: [2, 62, 244] Generated Node #2: [2, 62, 244] from Operation: 61*4=244 Current State: 91:[2, 62, 244], Operations: ['61*4=244'] Exploring Operation: 244-62=182, Resulting Numbers: [2, 182] Generated Node #3: [2, 182] from Operation: 244-62=182 Current State: 91:[2, 182], Operations: ['61*4=244', '244-62=182'] Exploring Operation: 182/2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[2, 61, 4, 62], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [2, 4, 1] Generated Node #0,0: 91:[2, 4, 1] Operation: 62-61=1 Exploring Operation: 62/2=31, Resulting Numbers: [61, 4, 31] Generated Node #0,1: 91:[61, 4, 31] Operation: 62/2=31 Exploring Operation: 61+62=123, Resulting Numbers: [2, 4, 123] Generated Node #0,2: 91:[2, 4, 123] Operation: 61+62=123 Exploring Operation: 2+61=63, Resulting Numbers: [4, 62, 63] Generated Node #0,3: 91:[4, 62, 63] Operation: 2+61=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[2, 4, 1], Operations: ['62-61=1'] Exploring Operation: 2*4=8, Resulting Numbers: [1, 8] Generated Node #0,0,0: 91:[1, 8] Operation: 2*4=8 Exploring Operation: 2+4=6, Resulting Numbers: [1, 6] Generated Node #0,0,1: 91:[1, 6] Operation: 2+4=6 Exploring Operation: 4+1=5, Resulting Numbers: [2, 5] Generated Node #0,0,2: 91:[2, 5] Operation: 4+1=5 Exploring Operation: 2+1=3, Resulting Numbers: [4, 3] Generated Node #0,0,3: 91:[4, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 91:[1, 8], Operations: ['62-61=1', '2*4=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[2, 5], Operations: ['62-61=1', '4+1=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[1, 6], Operations: ['62-61=1', '2+4=6'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[4, 3], Operations: ['62-61=1', '2+1=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[2, 4, 123], Operations: ['61+62=123'] Exploring Operation: 123-2=121, Resulting Numbers: [4, 121] Generated Node #0,2,0: 91:[4, 121] Operation: 123-2=121 Exploring Operation: 123-4=119, Resulting Numbers: [2, 119] Generated Node #0,2,1: 91:[2, 119] Operation: 123-4=119 Exploring Operation: 2*4=8, Resulting Numbers: [123, 8] Generated Node #0,2,2: 91:[123, 8] Operation: 2*4=8 Exploring Operation: 2+4=6, Resulting Numbers: [123, 6] Generated Node #0,2,3: 91:[123, 6] Operation: 2+4=6 Moving to Node #0,2,0 Current State: 91:[4, 121], Operations: ['61+62=123', '123-2=121'] Exploring Operation: 4+121=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 4*121=484, Resulting Numbers: [484] 484,91 unequal: No Solution Exploring Operation: 121-4=117, Resulting Numbers: [117] 117,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[123, 8], Operations: ['61+62=123', '2*4=8'] Exploring Operation: 123+8=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 123*8=984, Resulting Numbers: [984] 984,91 unequal: No Solution Exploring Operation: 123-8=115, Resulting Numbers: [115] 115,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[2, 119], Operations: ['61+62=123', '123-4=119'] Exploring Operation: 2*119=238, Resulting Numbers: [238] 238,91 unequal: No Solution Exploring Operation: 2+119=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 119-2=117, Resulting Numbers: [117] 117,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[123, 6], Operations: ['61+62=123', '2+4=6'] Exploring Operation: 123-6=117, Resulting Numbers: [117] 117,91 unequal: No Solution Exploring Operation: 123+6=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 123*6=738, Resulting Numbers: [738] 738,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[61, 4, 31], Operations: ['62/2=31'] Exploring Operation: 31-4=27, Resulting Numbers: [61, 27] Generated Node #0,1,0: 91:[61, 27] Operation: 31-4=27 Exploring Operation: 61+31=92, Resulting Numbers: [4, 92] Generated Node #0,1,1: 91:[4, 92] Operation: 61+31=92 Exploring Operation: 61-31=30, Resulting Numbers: [4, 30] Generated Node #0,1,2: 91:[4, 30] Operation: 61-31=30 Exploring Operation: 61+4=65, Resulting Numbers: [31, 65] Generated Node #0,1,3: 91:[31, 65] Operation: 61+4=65 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[4, 92], Operations: ['62/2=31', '61+31=92'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 4*92=368, Resulting Numbers: [368] 368,91 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,91 unequal: No Solution Exploring Operation: 4+92=96, Resulting Numbers: [96] 96,91 unequal: No Solution No 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: 91:[4, 30], Operations: ['62/2=31', '61-31=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,91 unequal: No Solution No 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: 91:[61, 27], Operations: ['62/2=31', '31-4=27'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,91 unequal: No Solution No 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: 91:[31, 65], Operations: ['62/2=31', '61+4=65'] Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,91 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,91 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: 91:[4, 62, 63], Operations: ['2+61=63'] Exploring Operation: 63-62=1, Resulting Numbers: [4, 1] Generated Node #0,3,0: 91:[4, 1] Operation: 63-62=1 Exploring Operation: 4+62=66, Resulting Numbers: [63, 66] Generated Node #0,3,1: 91:[63, 66] Operation: 4+62=66 Exploring Operation: 4+63=67, Resulting Numbers: [62, 67] Generated Node #0,3,2: 91:[62, 67] Operation: 4+63=67 Exploring Operation: 62+63=125, Resulting Numbers: [4, 125] Generated Node #0,3,3: 91:[4, 125] Operation: 62+63=125 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 91:[4, 1], Operations: ['2+61=63', '63-62=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,91 unequal: No Solution No 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: 91:[4, 125], Operations: ['2+61=63', '62+63=125'] Exploring Operation: 125-4=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 4*125=500, Resulting Numbers: [500] 500,91 unequal: No Solution Exploring Operation: 4+125=129, Resulting Numbers: [129] 129,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 91:[63, 66], Operations: ['2+61=63', '4+62=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,91 unequal: No Solution No 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: 91:[62, 67], Operations: ['2+61=63', '4+63=67'] Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 62*67=4154, Resulting Numbers: [4154] 4154,91 unequal: No Solution Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 2, 91, 86, 43 ]
38
[ "2*86=172", "91+43=134", "172-134=38" ]
Current State: 38:[2, 91, 86, 43], Operations: [] Exploring Operation: 2*86=172, Resulting Numbers: [91, 43, 172] Generated Node #2: [91, 43, 172] from Operation: 2*86=172 Current State: 38:[91, 43, 172], Operations: ['2*86=172'] Exploring Operation: 91+43=134, Resulting Numbers: [172, 134] Generated Node #3: [172, 134] from Operation: 91+43=134 Current State: 38:[172, 134], Operations: ['2*86=172', '91+43=134'] Exploring Operation: 172-134=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[2, 91, 86, 43], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [2, 43, 5] Generated Node #0,0: 38:[2, 43, 5] Operation: 91-86=5 Exploring Operation: 86/43=2, Resulting Numbers: [2, 91, 2] Generated Node #0,1: 38:[2, 91, 2] Operation: 86/43=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[2, 43, 5], Operations: ['91-86=5'] Exploring Operation: 43-5=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 38:[2, 38] Operation: 43-5=38 Exploring Operation: 43-2=41, Resulting Numbers: [5, 41] Generated Node #0,0,1: 38:[5, 41] Operation: 43-2=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[2, 38], Operations: ['91-86=5', '43-5=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,38 unequal: No Solution No 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: 38:[5, 41], Operations: ['91-86=5', '43-2=41'] Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,38 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[2, 91, 2], Operations: ['86/43=2'] Exploring Operation: 91-2=89, Resulting Numbers: [2, 89] Generated Node #0,1,0: 38:[2, 89] Operation: 91-2=89 Exploring Operation: 91-2=89, Resulting Numbers: [2, 89] Generated Node #0,1,1: 38:[2, 89] Operation: 91-2=89 Moving to Node #0,1,0 Current State: 38:[2, 89], Operations: ['86/43=2', '91-2=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,38 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[2, 89], Operations: ['86/43=2', '91-2=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,38 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 82, 75, 69, 18 ]
57
[ "82-75=7", "18*7=126", "126-69=57" ]
Current State: 57:[82, 75, 69, 18], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [69, 18, 7] Generated Node #2: [69, 18, 7] from Operation: 82-75=7 Current State: 57:[69, 18, 7], Operations: ['82-75=7'] Exploring Operation: 18*7=126, Resulting Numbers: [69, 126] Generated Node #3: [69, 126] from Operation: 18*7=126 Current State: 57:[69, 126], Operations: ['82-75=7', '18*7=126'] Exploring Operation: 126-69=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[82, 75, 69, 18], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [75, 18, 13] Generated Node #0,0: 57:[75, 18, 13] Operation: 82-69=13 Exploring Operation: 82-75=7, Resulting Numbers: [69, 18, 7] Generated Node #0,1: 57:[69, 18, 7] Operation: 82-75=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[69, 18, 7], Operations: ['82-75=7'] Exploring Operation: 69-18=51, Resulting Numbers: [7, 51] Generated Node #0,1,0: 57:[7, 51] Operation: 69-18=51 Exploring Operation: 69-7=62, Resulting Numbers: [18, 62] Generated Node #0,1,1: 57:[18, 62] Operation: 69-7=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[18, 62], Operations: ['82-75=7', '69-7=62'] Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,57 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[7, 51], Operations: ['82-75=7', '69-18=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[75, 18, 13], Operations: ['82-69=13'] Exploring Operation: 75-13=62, Resulting Numbers: [18, 62] Generated Node #0,0,0: 57:[18, 62] Operation: 75-13=62 Exploring Operation: 75-18=57, Resulting Numbers: [13, 57] Generated Node #0,0,1: 57:[13, 57] Operation: 75-18=57 Moving to Node #0,0,0 Current State: 57:[18, 62], Operations: ['82-69=13', '75-13=62'] Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[13, 57], Operations: ['82-69=13', '75-18=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 80, 73, 42 ]
42
[ "80-69=11", "73-42=31", "11+31=42" ]
Current State: 42:[69, 80, 73, 42], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [73, 42, 11] Generated Node #2: [73, 42, 11] from Operation: 80-69=11 Current State: 42:[73, 42, 11], Operations: ['80-69=11'] Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #3: [11, 31] from Operation: 73-42=31 Current State: 42:[11, 31], Operations: ['80-69=11', '73-42=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[69, 80, 73, 42], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [80, 42, 4] Generated Node #0,0: 42:[80, 42, 4] Operation: 73-69=4 Exploring Operation: 80-42=38, Resulting Numbers: [69, 73, 38] Generated Node #0,1: 42:[69, 73, 38] Operation: 80-42=38 Exploring Operation: 80-69=11, Resulting Numbers: [73, 42, 11] Generated Node #0,2: 42:[73, 42, 11] Operation: 80-69=11 Exploring Operation: 80-73=7, Resulting Numbers: [69, 42, 7] Generated Node #0,3: 42:[69, 42, 7] Operation: 80-73=7 Moving to Node #0,3 Current State: 42:[69, 42, 7], Operations: ['80-73=7'] Exploring Operation: 69-42=27, Resulting Numbers: [7, 27] Generated Node #0,3,0: 42:[7, 27] Operation: 69-42=27 Exploring Operation: 69+7=76, Resulting Numbers: [42, 76] Generated Node #0,3,1: 42:[42, 76] Operation: 69+7=76 Exploring Operation: 69-7=62, Resulting Numbers: [42, 62] Generated Node #0,3,2: 42:[42, 62] Operation: 69-7=62 Exploring Operation: 42/7=6, Resulting Numbers: [69, 6] Generated Node #0,3,3: 42:[69, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[7, 27], Operations: ['80-73=7', '69-42=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,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:[42, 62], Operations: ['80-73=7', '69-7=62'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 42*62=2604, Resulting Numbers: [2604] 2604,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:[69, 6], Operations: ['80-73=7', '42/7=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,42 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[42, 76], Operations: ['80-73=7', '69+7=76'] Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,42 unequal: No Solution Exploring Operation: 42*76=3192, Resulting Numbers: [3192] 3192,42 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[73, 42, 11], Operations: ['80-69=11'] Exploring Operation: 73+11=84, Resulting Numbers: [42, 84] Generated Node #0,2,0: 42:[42, 84] Operation: 73+11=84 Exploring Operation: 42-11=31, Resulting Numbers: [73, 31] Generated Node #0,2,1: 42:[73, 31] Operation: 42-11=31 Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #0,2,2: 42:[11, 31] Operation: 73-42=31 Exploring Operation: 73-11=62, Resulting Numbers: [42, 62] Generated Node #0,2,3: 42:[42, 62] Operation: 73-11=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[11, 31], Operations: ['80-69=11', '73-42=31'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,42 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[69, 80, 73, 42], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [73, 42, 11] Generated Node #0,2: 42:[73, 42, 11] Operation: 80-69=11 Moving to Node #0,2 Current State: 42:[73, 42, 11], Operations: ['80-69=11'] Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #0,2,2: 42:[11, 31] Operation: 73-42=31 Moving to Node #0,2,2 Current State: 42:[11, 31], Operations: ['80-69=11', '73-42=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 65, 18, 4, 38 ]
90
[ "65-38=27", "4*27=108", "108-18=90" ]
Current State: 90:[65, 18, 4, 38], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [18, 4, 27] Generated Node #2: [18, 4, 27] from Operation: 65-38=27 Current State: 90:[18, 4, 27], Operations: ['65-38=27'] Exploring Operation: 4*27=108, Resulting Numbers: [18, 108] Generated Node #3: [18, 108] from Operation: 4*27=108 Current State: 90:[18, 108], Operations: ['65-38=27', '4*27=108'] Exploring Operation: 108-18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[65, 18, 4, 38], Operations: [] Exploring Operation: 65-18=47, Resulting Numbers: [4, 38, 47] Generated Node #0,0: 90:[4, 38, 47] Operation: 65-18=47 Exploring Operation: 65-38=27, Resulting Numbers: [18, 4, 27] Generated Node #0,1: 90:[18, 4, 27] Operation: 65-38=27 Moving to Node #0,1 Current State: 90:[18, 4, 27], Operations: ['65-38=27'] Exploring Operation: 27-18=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 90:[4, 9] Operation: 27-18=9 Exploring Operation: 18+27=45, Resulting Numbers: [4, 45] Generated Node #0,1,1: 90:[4, 45] Operation: 18+27=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[4, 9], Operations: ['65-38=27', '27-18=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[4, 45], Operations: ['65-38=27', '18+27=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 90:[4, 38, 47], Operations: ['65-18=47'] Exploring Operation: 4+38=42, Resulting Numbers: [47, 42] Generated Node #0,0,0: 90:[47, 42] Operation: 4+38=42 Exploring Operation: 47-38=9, Resulting Numbers: [4, 9] Generated Node #0,0,1: 90:[4, 9] Operation: 47-38=9 Moving to Node #0,0,1 Current State: 90:[4, 9], Operations: ['65-18=47', '47-38=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[47, 42], Operations: ['65-18=47', '4+38=42'] Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 61, 29, 88, 43 ]
77
[ "61-29=32", "88-43=45", "32+45=77" ]
Current State: 77:[61, 29, 88, 43], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [88, 43, 32] Generated Node #2: [88, 43, 32] from Operation: 61-29=32 Current State: 77:[88, 43, 32], Operations: ['61-29=32'] Exploring Operation: 88-43=45, Resulting Numbers: [32, 45] Generated Node #3: [32, 45] from Operation: 88-43=45 Current State: 77:[32, 45], Operations: ['61-29=32', '88-43=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[61, 29, 88, 43], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [61, 88, 14] Generated Node #0,0: 77:[61, 88, 14] Operation: 43-29=14 Exploring Operation: 61+43=104, Resulting Numbers: [29, 88, 104] Generated Node #0,1: 77:[29, 88, 104] Operation: 61+43=104 Exploring Operation: 61-43=18, Resulting Numbers: [29, 88, 18] Generated Node #0,2: 77:[29, 88, 18] Operation: 61-43=18 Exploring Operation: 29+43=72, Resulting Numbers: [61, 88, 72] Generated Node #0,3: 77:[61, 88, 72] Operation: 29+43=72 Exploring Operation: 61+29=90, Resulting Numbers: [88, 43, 90] Generated Node #0,4: 77:[88, 43, 90] Operation: 61+29=90 Moving to Node #0,0 Current State: 77:[61, 88, 14], Operations: ['43-29=14'] Exploring Operation: 88+14=102, Resulting Numbers: [61, 102] Generated Node #0,0,0: 77:[61, 102] Operation: 88+14=102 Exploring Operation: 88-61=27, Resulting Numbers: [14, 27] Generated Node #0,0,1: 77:[14, 27] Operation: 88-61=27 Exploring Operation: 88-14=74, Resulting Numbers: [61, 74] Generated Node #0,0,2: 77:[61, 74] Operation: 88-14=74 Exploring Operation: 61-14=47, Resulting Numbers: [88, 47] Generated Node #0,0,3: 77:[88, 47] Operation: 61-14=47 Exploring Operation: 61+14=75, Resulting Numbers: [88, 75] Generated Node #0,0,4: 77:[88, 75] Operation: 61+14=75 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[88, 75], Operations: ['43-29=14', '61+14=75'] Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,77 unequal: No Solution Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[14, 27], Operations: ['43-29=14', '88-61=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,77 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,77 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[61, 74], Operations: ['43-29=14', '88-14=74'] Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,77 unequal: No Solution Exploring Operation: 61*74=4514, Resulting Numbers: [4514] 4514,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[61, 102], Operations: ['43-29=14', '88+14=102'] Exploring Operation: 102-61=41, Resulting Numbers: [41] 41,77 unequal: No Solution Exploring Operation: 61*102=6222, Resulting Numbers: [6222] 6222,77 unequal: No Solution Exploring Operation: 61+102=163, Resulting Numbers: [163] 163,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[88, 47], Operations: ['43-29=14', '61-14=47'] Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,77 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,77 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,77 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: 77:[61, 88, 72], Operations: ['29+43=72'] Exploring Operation: 88-61=27, Resulting Numbers: [72, 27] Generated Node #0,3,0: 77:[72, 27] Operation: 88-61=27 Exploring Operation: 61+88=149, Resulting Numbers: [72, 149] Generated Node #0,3,1: 77:[72, 149] Operation: 61+88=149 Exploring Operation: 61+72=133, Resulting Numbers: [88, 133] Generated Node #0,3,2: 77:[88, 133] Operation: 61+72=133 Exploring Operation: 88-72=16, Resulting Numbers: [61, 16] Generated Node #0,3,3: 77:[61, 16] Operation: 88-72=16 Exploring Operation: 72-61=11, Resulting Numbers: [88, 11] Generated Node #0,3,4: 77:[88, 11] Operation: 72-61=11 Moving to Node #0,2 Current State: 77:[29, 88, 18], Operations: ['61-43=18'] Exploring Operation: 88-18=70, Resulting Numbers: [29, 70] Generated Node #0,2,0: 77:[29, 70] Operation: 88-18=70 Exploring Operation: 29+18=47, Resulting Numbers: [88, 47] Generated Node #0,2,1: 77:[88, 47] Operation: 29+18=47 Exploring Operation: 29-18=11, Resulting Numbers: [88, 11] Generated Node #0,2,2: 77:[88, 11] Operation: 29-18=11 Exploring Operation: 29+88=117, Resulting Numbers: [18, 117] Generated Node #0,2,3: 77:[18, 117] Operation: 29+88=117 Exploring Operation: 88-29=59, Resulting Numbers: [18, 59] Generated Node #0,2,4: 77:[18, 59] Operation: 88-29=59 Moving to Node #0,1 Current State: 77:[29, 88, 104], Operations: ['61+43=104'] Exploring Operation: 104-29=75, Resulting Numbers: [88, 75] Generated Node #0,1,0: 77:[88, 75] Operation: 104-29=75 Exploring Operation: 29+88=117, Resulting Numbers: [104, 117] Generated Node #0,1,1: 77:[104, 117] Operation: 29+88=117 Exploring Operation: 104-88=16, Resulting Numbers: [29, 16] Generated Node #0,1,2: 77:[29, 16] Operation: 104-88=16 Exploring Operation: 88-29=59, Resulting Numbers: [104, 59] Generated Node #0,1,3: 77:[104, 59] Operation: 88-29=59 Exploring Operation: 29+104=133, Resulting Numbers: [88, 133] Generated Node #0,1,4: 77:[88, 133] Operation: 29+104=133 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[88, 75], Operations: ['61+43=104', '104-29=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,77 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[29, 16], Operations: ['61+43=104', '104-88=16'] Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,77 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,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,3 Current State: 77:[104, 59], Operations: ['61+43=104', '88-29=59'] Exploring Operation: 104+59=163, Resulting Numbers: [163] 163,77 unequal: No Solution Exploring Operation: 104*59=6136, Resulting Numbers: [6136] 6136,77 unequal: No Solution Exploring Operation: 104-59=45, Resulting Numbers: [45] 45,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,1 Current State: 77:[104, 117], Operations: ['61+43=104', '29+88=117'] Exploring Operation: 117-104=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 104*117=12168, Resulting Numbers: [12168] 12168,77 unequal: No Solution Exploring Operation: 104+117=221, Resulting Numbers: [221] 221,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,4 Current State: 77:[88, 133], Operations: ['61+43=104', '29+104=133'] Exploring Operation: 88+133=221, Resulting Numbers: [221] 221,77 unequal: No Solution Exploring Operation: 133-88=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 88*133=11704, Resulting Numbers: [11704] 11704,77 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: 77:[88, 43, 90], Operations: ['61+29=90'] Exploring Operation: 88-43=45, Resulting Numbers: [90, 45] Generated Node #0,4,0: 77:[90, 45] Operation: 88-43=45 Exploring Operation: 90-43=47, Resulting Numbers: [88, 47] Generated Node #0,4,1: 77:[88, 47] Operation: 90-43=47 Exploring Operation: 90-88=2, Resulting Numbers: [43, 2] Generated Node #0,4,2: 77:[43, 2] Operation: 90-88=2 Exploring Operation: 43+90=133, Resulting Numbers: [88, 133] Generated Node #0,4,3: 77:[88, 133] Operation: 43+90=133 Exploring Operation: 88+43=131, Resulting Numbers: [90, 131] Generated Node #0,4,4: 77:[90, 131] Operation: 88+43=131 Moving to Node #0,3,4 Current State: 77:[88, 11], Operations: ['29+43=72', '72-61=11'] Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 88*11=968, Resulting Numbers: [968] 968,77 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[61, 29, 88, 43], Operations: [] Exploring Operation: 29+43=72, Resulting Numbers: [61, 88, 72] Generated Node #0,3: 77:[61, 88, 72] Operation: 29+43=72 Moving to Node #0,3 Current State: 77:[61, 88, 72], Operations: ['29+43=72'] Exploring Operation: 72-61=11, Resulting Numbers: [88, 11] Generated Node #0,3,4: 77:[88, 11] Operation: 72-61=11 Moving to Node #0,3,4 Current State: 77:[88, 11], Operations: ['29+43=72', '72-61=11'] Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 20, 67, 48, 18 ]
20
[ "67-48=19", "19-18=1", "20*1=20" ]
Current State: 20:[20, 67, 48, 18], Operations: [] Exploring Operation: 67-48=19, Resulting Numbers: [20, 18, 19] Generated Node #2: [20, 18, 19] from Operation: 67-48=19 Current State: 20:[20, 18, 19], Operations: ['67-48=19'] Exploring Operation: 19-18=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 19-18=1 Current State: 20:[20, 1], Operations: ['67-48=19', '19-18=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[20, 67, 48, 18], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [20, 48, 49] Generated Node #0,0: 20:[20, 48, 49] Operation: 67-18=49 Exploring Operation: 67-20=47, Resulting Numbers: [48, 18, 47] Generated Node #0,1: 20:[48, 18, 47] Operation: 67-20=47 Exploring Operation: 67-48=19, Resulting Numbers: [20, 18, 19] Generated Node #0,2: 20:[20, 18, 19] Operation: 67-48=19 Exploring Operation: 48-20=28, Resulting Numbers: [67, 18, 28] Generated Node #0,3: 20:[67, 18, 28] Operation: 48-20=28 Moving to Node #0,2 Current State: 20:[20, 18, 19], Operations: ['67-48=19'] Exploring Operation: 18+19=37, Resulting Numbers: [20, 37] Generated Node #0,2,0: 20:[20, 37] Operation: 18+19=37 Exploring Operation: 20-18=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 20:[19, 2] Operation: 20-18=2 Exploring Operation: 20-19=1, Resulting Numbers: [18, 1] Generated Node #0,2,2: 20:[18, 1] Operation: 20-19=1 Exploring Operation: 19-18=1, Resulting Numbers: [20, 1] Generated Node #0,2,3: 20:[20, 1] Operation: 19-18=1 Moving to Node #0,1 Current State: 20:[48, 18, 47], Operations: ['67-20=47'] Exploring Operation: 48-47=1, Resulting Numbers: [18, 1] Generated Node #0,1,0: 20:[18, 1] Operation: 48-47=1 Exploring Operation: 48+18=66, Resulting Numbers: [47, 66] Generated Node #0,1,1: 20:[47, 66] Operation: 48+18=66 Exploring Operation: 48-18=30, Resulting Numbers: [47, 30] Generated Node #0,1,2: 20:[47, 30] Operation: 48-18=30 Exploring Operation: 47-18=29, Resulting Numbers: [48, 29] Generated Node #0,1,3: 20:[48, 29] Operation: 47-18=29 Moving to Node #0,0 Current State: 20:[20, 48, 49], Operations: ['67-18=49'] Exploring Operation: 49-48=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 20:[20, 1] Operation: 49-48=1 Exploring Operation: 20+48=68, Resulting Numbers: [49, 68] Generated Node #0,0,1: 20:[49, 68] Operation: 20+48=68 Exploring Operation: 49-20=29, Resulting Numbers: [48, 29] Generated Node #0,0,2: 20:[48, 29] Operation: 49-20=29 Exploring Operation: 48-20=28, Resulting Numbers: [49, 28] Generated Node #0,0,3: 20:[49, 28] Operation: 48-20=28 Moving to Node #0,3 Current State: 20:[67, 18, 28], Operations: ['48-20=28'] Exploring Operation: 67-28=39, Resulting Numbers: [18, 39] Generated Node #0,3,0: 20:[18, 39] Operation: 67-28=39 Exploring Operation: 67+18=85, Resulting Numbers: [28, 85] Generated Node #0,3,1: 20:[28, 85] Operation: 67+18=85 Exploring Operation: 28-18=10, Resulting Numbers: [67, 10] Generated Node #0,3,2: 20:[67, 10] Operation: 28-18=10 Exploring Operation: 67-18=49, Resulting Numbers: [28, 49] Generated Node #0,3,3: 20:[28, 49] Operation: 67-18=49 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 20:[18, 39], Operations: ['48-20=28', '67-28=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 20:[28, 49], Operations: ['48-20=28', '67-18=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,20 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[67, 10], Operations: ['48-20=28', '28-18=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,20 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[28, 85], Operations: ['48-20=28', '67+18=85'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,20 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: 20:[19, 2], Operations: ['67-48=19', '20-18=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[20, 1], Operations: ['67-48=19', '19-18=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[20, 67, 48, 18], Operations: [] Exploring Operation: 67-48=19, Resulting Numbers: [20, 18, 19] Generated Node #0,2: 20:[20, 18, 19] Operation: 67-48=19 Moving to Node #0,2 Current State: 20:[20, 18, 19], Operations: ['67-48=19'] Exploring Operation: 19-18=1, Resulting Numbers: [20, 1] Generated Node #0,2,3: 20:[20, 1] Operation: 19-18=1 Moving to Node #0,2,3 Current State: 20:[20, 1], Operations: ['67-48=19', '19-18=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.965278
hs_4
sum_heuristic
[ 58, 13, 97, 78 ]
52
[ "58+13=71", "97-78=19", "71-19=52" ]
Current State: 52:[58, 13, 97, 78], Operations: [] Exploring Operation: 58+13=71, Resulting Numbers: [97, 78, 71] Generated Node #2: [97, 78, 71] from Operation: 58+13=71 Current State: 52:[97, 78, 71], Operations: ['58+13=71'] Exploring Operation: 97-78=19, Resulting Numbers: [71, 19] Generated Node #3: [71, 19] from Operation: 97-78=19 Current State: 52:[71, 19], Operations: ['58+13=71', '97-78=19'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[58, 13, 97, 78], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [58, 13, 19] Generated Node #0,0: 52:[58, 13, 19] Operation: 97-78=19 Exploring Operation: 97-58=39, Resulting Numbers: [13, 78, 39] Generated Node #0,1: 52:[13, 78, 39] Operation: 97-58=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[58, 13, 19], Operations: ['97-78=19'] Exploring Operation: 13+19=32, Resulting Numbers: [58, 32] Generated Node #0,0,0: 52:[58, 32] Operation: 13+19=32 Exploring Operation: 19-13=6, Resulting Numbers: [58, 6] Generated Node #0,0,1: 52:[58, 6] Operation: 19-13=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[58, 6], Operations: ['97-78=19', '19-13=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[58, 13, 97, 78], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [58, 13, 19] Generated Node #0,0: 52:[58, 13, 19] Operation: 97-78=19 Moving to Node #0,0 Current State: 52:[58, 13, 19], Operations: ['97-78=19'] Exploring Operation: 19-13=6, Resulting Numbers: [58, 6] Generated Node #0,0,1: 52:[58, 6] Operation: 19-13=6 Moving to Node #0,0,1 Current State: 52:[58, 6], Operations: ['97-78=19', '19-13=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 3, 35, 22, 61 ]
45
[ "3+35=38", "22+61=83", "83-38=45" ]
Current State: 45:[3, 35, 22, 61], Operations: [] Exploring Operation: 3+35=38, Resulting Numbers: [22, 61, 38] Generated Node #2: [22, 61, 38] from Operation: 3+35=38 Current State: 45:[22, 61, 38], Operations: ['3+35=38'] Exploring Operation: 22+61=83, Resulting Numbers: [38, 83] Generated Node #3: [38, 83] from Operation: 22+61=83 Current State: 45:[38, 83], Operations: ['3+35=38', '22+61=83'] Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 35, 22, 61], Operations: [] Exploring Operation: 35+22=57, Resulting Numbers: [3, 61, 57] Generated Node #0,0: 45:[3, 61, 57] Operation: 35+22=57 Exploring Operation: 3+35=38, Resulting Numbers: [22, 61, 38] Generated Node #0,1: 45:[22, 61, 38] Operation: 3+35=38 Exploring Operation: 61-35=26, Resulting Numbers: [3, 22, 26] Generated Node #0,2: 45:[3, 22, 26] Operation: 61-35=26 Exploring Operation: 35-22=13, Resulting Numbers: [3, 61, 13] Generated Node #0,3: 45:[3, 61, 13] Operation: 35-22=13 Exploring Operation: 61-22=39, Resulting Numbers: [3, 35, 39] Generated Node #0,4: 45:[3, 35, 39] Operation: 61-22=39 Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[3, 35, 39], Operations: ['61-22=39'] Exploring Operation: 39-35=4, Resulting Numbers: [3, 4] Generated Node #0,4,0: 45:[3, 4] Operation: 39-35=4 Exploring Operation: 3+39=42, Resulting Numbers: [35, 42] Generated Node #0,4,1: 45:[35, 42] Operation: 3+39=42 Exploring Operation: 39/3=13, Resulting Numbers: [35, 13] Generated Node #0,4,2: 45:[35, 13] Operation: 39/3=13 Exploring Operation: 35-3=32, Resulting Numbers: [39, 32] Generated Node #0,4,3: 45:[39, 32] Operation: 35-3=32 Exploring Operation: 3+35=38, Resulting Numbers: [39, 38] Generated Node #0,4,4: 45:[39, 38] Operation: 3+35=38 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 45:[3, 4], Operations: ['61-22=39', '39-35=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 45:[35, 13], Operations: ['61-22=39', '39/3=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 45:[35, 42], Operations: ['61-22=39', '3+39=42'] Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,45 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,45 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 45:[39, 38], Operations: ['61-22=39', '3+35=38'] Exploring Operation: 39*38=1482, Resulting Numbers: [1482] 1482,45 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 45:[39, 32], Operations: ['61-22=39', '35-3=32'] Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,45 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[3, 22, 26], Operations: ['61-35=26'] Exploring Operation: 26-22=4, Resulting Numbers: [3, 4] Generated Node #0,2,0: 45:[3, 4] Operation: 26-22=4 Exploring Operation: 26-3=23, Resulting Numbers: [22, 23] Generated Node #0,2,1: 45:[22, 23] Operation: 26-3=23 Exploring Operation: 3+22=25, Resulting Numbers: [26, 25] Generated Node #0,2,2: 45:[26, 25] Operation: 3+22=25 Exploring Operation: 22-3=19, Resulting Numbers: [26, 19] Generated Node #0,2,3: 45:[26, 19] Operation: 22-3=19 Exploring Operation: 22+26=48, Resulting Numbers: [3, 48] Generated Node #0,2,4: 45:[3, 48] Operation: 22+26=48 Moving to Node #0,2,0 Current State: 45:[3, 4], Operations: ['61-35=26', '26-22=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[3, 48], Operations: ['61-35=26', '22+26=48'] Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[3, 35, 22, 61], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [3, 22, 26] Generated Node #0,2: 45:[3, 22, 26] Operation: 61-35=26 Moving to Node #0,2 Current State: 45:[3, 22, 26], Operations: ['61-35=26'] Exploring Operation: 22+26=48, Resulting Numbers: [3, 48] Generated Node #0,2,4: 45:[3, 48] Operation: 22+26=48 Moving to Node #0,2,4 Current State: 45:[3, 48], Operations: ['61-35=26', '22+26=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 28, 84, 83, 88 ]
57
[ "84/28=3", "83+88=171", "171/3=57" ]
Current State: 57:[28, 84, 83, 88], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [83, 88, 3] Generated Node #2: [83, 88, 3] from Operation: 84/28=3 Current State: 57:[83, 88, 3], Operations: ['84/28=3'] Exploring Operation: 83+88=171, Resulting Numbers: [3, 171] Generated Node #3: [3, 171] from Operation: 83+88=171 Current State: 57:[3, 171], Operations: ['84/28=3', '83+88=171'] Exploring Operation: 171/3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[28, 84, 83, 88], Operations: [] Exploring Operation: 88-28=60, Resulting Numbers: [84, 83, 60] Generated Node #0,0: 57:[84, 83, 60] Operation: 88-28=60 Exploring Operation: 84-83=1, Resulting Numbers: [28, 88, 1] Generated Node #0,1: 57:[28, 88, 1] Operation: 84-83=1 Exploring Operation: 88-84=4, Resulting Numbers: [28, 83, 4] Generated Node #0,2: 57:[28, 83, 4] Operation: 88-84=4 Exploring Operation: 88-83=5, Resulting Numbers: [28, 84, 5] Generated Node #0,3: 57:[28, 84, 5] Operation: 88-83=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[28, 83, 4], Operations: ['88-84=4'] Exploring Operation: 28-4=24, Resulting Numbers: [83, 24] Generated Node #0,2,0: 57:[83, 24] Operation: 28-4=24 Exploring Operation: 83-28=55, Resulting Numbers: [4, 55] Generated Node #0,2,1: 57:[4, 55] Operation: 83-28=55 Exploring Operation: 28/4=7, Resulting Numbers: [83, 7] Generated Node #0,2,2: 57:[83, 7] Operation: 28/4=7 Exploring Operation: 83-4=79, Resulting Numbers: [28, 79] Generated Node #0,2,3: 57:[28, 79] Operation: 83-4=79 Moving to Node #0,2,1 Current State: 57:[4, 55], Operations: ['88-84=4', '83-28=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,57 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[83, 7], Operations: ['88-84=4', '28/4=7'] Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,57 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,57 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[28, 79], Operations: ['88-84=4', '83-4=79'] Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,57 unequal: No Solution Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,57 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[83, 24], Operations: ['88-84=4', '28-4=24'] Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,57 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,57 unequal: No Solution No 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: 57:[28, 84, 5], Operations: ['88-83=5'] Exploring Operation: 28-5=23, Resulting Numbers: [84, 23] Generated Node #0,3,0: 57:[84, 23] Operation: 28-5=23 Exploring Operation: 84-5=79, Resulting Numbers: [28, 79] Generated Node #0,3,1: 57:[28, 79] Operation: 84-5=79 Exploring Operation: 84-28=56, Resulting Numbers: [5, 56] Generated Node #0,3,2: 57:[5, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [5, 3] Generated Node #0,3,3: 57:[5, 3] Operation: 84/28=3 Moving to Node #0,3,3 Current State: 57:[5, 3], Operations: ['88-83=5', '84/28=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[5, 56], Operations: ['88-83=5', '84-28=56'] Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,57 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,57 unequal: No Solution Moving to Node #0,3,1 Current State: 57:[28, 79], Operations: ['88-83=5', '84-5=79'] Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,57 unequal: No Solution Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,57 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[84, 23], Operations: ['88-83=5', '28-5=23'] Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,57 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,57 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,57 unequal: No Solution No 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: 57:[28, 88, 1], Operations: ['84-83=1'] Exploring Operation: 28*1=28, Resulting Numbers: [88, 28] Generated Node #0,1,0: 57:[88, 28] Operation: 28*1=28 Exploring Operation: 88-1=87, Resulting Numbers: [28, 87] Generated Node #0,1,1: 57:[28, 87] Operation: 88-1=87 Exploring Operation: 88-28=60, Resulting Numbers: [1, 60] Generated Node #0,1,2: 57:[1, 60] Operation: 88-28=60 Exploring Operation: 28-1=27, Resulting Numbers: [88, 27] Generated Node #0,1,3: 57:[88, 27] Operation: 28-1=27 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[1, 60], Operations: ['84-83=1', '88-28=60'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[28, 87], Operations: ['84-83=1', '88-1=87'] Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,57 unequal: No Solution Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 57:[88, 27], Operations: ['84-83=1', '28-1=27'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[88, 28], Operations: ['84-83=1', '28*1=28'] Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,57 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[84, 83, 60], Operations: ['88-28=60'] Exploring Operation: 84+83=167, Resulting Numbers: [60, 167] Generated Node #0,0,0: 57:[60, 167] Operation: 84+83=167 Exploring Operation: 84-83=1, Resulting Numbers: [60, 1] Generated Node #0,0,1: 57:[60, 1] Operation: 84-83=1 Exploring Operation: 83-60=23, Resulting Numbers: [84, 23] Generated Node #0,0,2: 57:[84, 23] Operation: 83-60=23 Exploring Operation: 84-60=24, Resulting Numbers: [83, 24] Generated Node #0,0,3: 57:[83, 24] Operation: 84-60=24 Moving to Node #0,0,1 Current State: 57:[60, 1], Operations: ['88-28=60', '84-83=1'] Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[83, 24], Operations: ['88-28=60', '84-60=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,57 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[84, 23], Operations: ['88-28=60', '83-60=23'] Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,57 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[60, 167], Operations: ['88-28=60', '84+83=167'] Exploring Operation: 167-60=107, Resulting Numbers: [107] 107,57 unequal: No Solution Exploring Operation: 60*167=10020, Resulting Numbers: [10020] 10020,57 unequal: No Solution Exploring Operation: 60+167=227, Resulting Numbers: [227] 227,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 14, 48, 58, 18 ]
87
[ "14+18=32", "48*58=2784", "2784/32=87" ]
Current State: 87:[14, 48, 58, 18], Operations: [] Exploring Operation: 14+18=32, Resulting Numbers: [48, 58, 32] Generated Node #2: [48, 58, 32] from Operation: 14+18=32 Current State: 87:[48, 58, 32], Operations: ['14+18=32'] Exploring Operation: 48*58=2784, Resulting Numbers: [32, 2784] Generated Node #3: [32, 2784] from Operation: 48*58=2784 Current State: 87:[32, 2784], Operations: ['14+18=32', '48*58=2784'] Exploring Operation: 2784/32=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[14, 48, 58, 18], Operations: [] Exploring Operation: 48+58=106, Resulting Numbers: [14, 18, 106] Generated Node #0,0: 87:[14, 18, 106] Operation: 48+58=106 Exploring Operation: 58-48=10, Resulting Numbers: [14, 18, 10] Generated Node #0,1: 87:[14, 18, 10] Operation: 58-48=10 Exploring Operation: 48-18=30, Resulting Numbers: [14, 58, 30] Generated Node #0,2: 87:[14, 58, 30] Operation: 48-18=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[14, 18, 10], Operations: ['58-48=10'] Exploring Operation: 14+18=32, Resulting Numbers: [10, 32] Generated Node #0,1,0: 87:[10, 32] Operation: 14+18=32 Exploring Operation: 14-10=4, Resulting Numbers: [18, 4] Generated Node #0,1,1: 87:[18, 4] Operation: 14-10=4 Exploring Operation: 18-14=4, Resulting Numbers: [10, 4] Generated Node #0,1,2: 87:[10, 4] Operation: 18-14=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[10, 4], Operations: ['58-48=10', '18-14=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[10, 32], Operations: ['58-48=10', '14+18=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[18, 4], Operations: ['58-48=10', '14-10=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[14, 18, 106], Operations: ['48+58=106'] Exploring Operation: 106-14=92, Resulting Numbers: [18, 92] Generated Node #0,0,0: 87:[18, 92] Operation: 106-14=92 Exploring Operation: 18-14=4, Resulting Numbers: [106, 4] Generated Node #0,0,1: 87:[106, 4] Operation: 18-14=4 Exploring Operation: 106-18=88, Resulting Numbers: [14, 88] Generated Node #0,0,2: 87:[14, 88] Operation: 106-18=88 Moving to Node #0,0,2 Current State: 87:[14, 88], Operations: ['48+58=106', '106-18=88'] Exploring Operation: 14*88=1232, Resulting Numbers: [1232] 1232,87 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 14+88=102, Resulting Numbers: [102] 102,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[18, 92], Operations: ['48+58=106', '106-14=92'] Exploring Operation: 18+92=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 18*92=1656, Resulting Numbers: [1656] 1656,87 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[106, 4], Operations: ['48+58=106', '18-14=4'] Exploring Operation: 106+4=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 106*4=424, Resulting Numbers: [424] 424,87 unequal: No Solution Exploring Operation: 106-4=102, Resulting Numbers: [102] 102,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[14, 58, 30], Operations: ['48-18=30'] Exploring Operation: 14+58=72, Resulting Numbers: [30, 72] Generated Node #0,2,0: 87:[30, 72] Operation: 14+58=72 Exploring Operation: 58+30=88, Resulting Numbers: [14, 88] Generated Node #0,2,1: 87:[14, 88] Operation: 58+30=88 Exploring Operation: 58-30=28, Resulting Numbers: [14, 28] Generated Node #0,2,2: 87:[14, 28] Operation: 58-30=28 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[14, 88], Operations: ['48-18=30', '58+30=88'] Exploring Operation: 14*88=1232, Resulting Numbers: [1232] 1232,87 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 14+88=102, Resulting Numbers: [102] 102,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[14, 28], Operations: ['48-18=30', '58-30=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[30, 72], Operations: ['48-18=30', '14+58=72'] Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,87 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 11, 63, 2, 51 ]
83
[ "51-11=40", "40/2=20", "63+20=83" ]
Current State: 83:[11, 63, 2, 51], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [63, 2, 40] Generated Node #2: [63, 2, 40] from Operation: 51-11=40 Current State: 83:[63, 2, 40], Operations: ['51-11=40'] Exploring Operation: 40/2=20, Resulting Numbers: [63, 20] Generated Node #3: [63, 20] from Operation: 40/2=20 Current State: 83:[63, 20], Operations: ['51-11=40', '40/2=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[11, 63, 2, 51], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [63, 51, 22] Generated Node #0,0: 83:[63, 51, 22] Operation: 11*2=22 Exploring Operation: 11+51=62, Resulting Numbers: [63, 2, 62] Generated Node #0,1: 83:[63, 2, 62] Operation: 11+51=62 Exploring Operation: 2*51=102, Resulting Numbers: [11, 63, 102] Generated Node #0,2: 83:[11, 63, 102] Operation: 2*51=102 Exploring Operation: 11+2=13, Resulting Numbers: [63, 51, 13] Generated Node #0,3: 83:[63, 51, 13] Operation: 11+2=13 Exploring Operation: 11+63=74, Resulting Numbers: [2, 51, 74] Generated Node #0,4: 83:[2, 51, 74] Operation: 11+63=74 Moving to Node #0,2 Current State: 83:[11, 63, 102], Operations: ['2*51=102'] Exploring Operation: 11+102=113, Resulting Numbers: [63, 113] Generated Node #0,2,0: 83:[63, 113] Operation: 11+102=113 Exploring Operation: 102-11=91, Resulting Numbers: [63, 91] Generated Node #0,2,1: 83:[63, 91] Operation: 102-11=91 Exploring Operation: 102-63=39, Resulting Numbers: [11, 39] Generated Node #0,2,2: 83:[11, 39] Operation: 102-63=39 Exploring Operation: 63-11=52, Resulting Numbers: [102, 52] Generated Node #0,2,3: 83:[102, 52] Operation: 63-11=52 Exploring Operation: 11+63=74, Resulting Numbers: [102, 74] Generated Node #0,2,4: 83:[102, 74] Operation: 11+63=74 Moving to Node #0,0 Current State: 83:[63, 51, 22], Operations: ['11*2=22'] Exploring Operation: 51+22=73, Resulting Numbers: [63, 73] Generated Node #0,0,0: 83:[63, 73] Operation: 51+22=73 Exploring Operation: 63-22=41, Resulting Numbers: [51, 41] Generated Node #0,0,1: 83:[51, 41] Operation: 63-22=41 Exploring Operation: 63+22=85, Resulting Numbers: [51, 85] Generated Node #0,0,2: 83:[51, 85] Operation: 63+22=85 Exploring Operation: 63+51=114, Resulting Numbers: [22, 114] Generated Node #0,0,3: 83:[22, 114] Operation: 63+51=114 Exploring Operation: 51-22=29, Resulting Numbers: [63, 29] Generated Node #0,0,4: 83:[63, 29] Operation: 51-22=29 Moving to Node #0,1 Current State: 83:[63, 2, 62], Operations: ['11+51=62'] Exploring Operation: 63-2=61, Resulting Numbers: [62, 61] Generated Node #0,1,0: 83:[62, 61] Operation: 63-2=61 Exploring Operation: 63+2=65, Resulting Numbers: [62, 65] Generated Node #0,1,1: 83:[62, 65] Operation: 63+2=65 Exploring Operation: 2+62=64, Resulting Numbers: [63, 64] Generated Node #0,1,2: 83:[63, 64] Operation: 2+62=64 Exploring Operation: 2*62=124, Resulting Numbers: [63, 124] Generated Node #0,1,3: 83:[63, 124] Operation: 2*62=124 Exploring Operation: 62-2=60, Resulting Numbers: [63, 60] Generated Node #0,1,4: 83:[63, 60] Operation: 62-2=60 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[62, 65], Operations: ['11+51=62', '63+2=65'] Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 62*65=4030, Resulting Numbers: [4030] 4030,83 unequal: No Solution Exploring Operation: 62+65=127, Resulting Numbers: [127] 127,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[63, 64], Operations: ['11+51=62', '2+62=64'] Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,83 unequal: No Solution Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[62, 61], Operations: ['11+51=62', '63-2=61'] Exploring Operation: 62*61=3782, Resulting Numbers: [3782] 3782,83 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[63, 60], Operations: ['11+51=62', '62-2=60'] Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,83 unequal: No Solution Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[63, 124], Operations: ['11+51=62', '2*62=124'] Exploring Operation: 124-63=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 63+124=187, Resulting Numbers: [187] 187,83 unequal: No Solution Exploring Operation: 63*124=7812, Resulting Numbers: [7812] 7812,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 83:[63, 51, 13], Operations: ['11+2=13'] Exploring Operation: 51+13=64, Resulting Numbers: [63, 64] Generated Node #0,3,0: 83:[63, 64] Operation: 51+13=64 Exploring Operation: 63+51=114, Resulting Numbers: [13, 114] Generated Node #0,3,1: 83:[13, 114] Operation: 63+51=114 Exploring Operation: 63-13=50, Resulting Numbers: [51, 50] Generated Node #0,3,2: 83:[51, 50] Operation: 63-13=50 Exploring Operation: 63+13=76, Resulting Numbers: [51, 76] Generated Node #0,3,3: 83:[51, 76] Operation: 63+13=76 Exploring Operation: 51-13=38, Resulting Numbers: [63, 38] Generated Node #0,3,4: 83:[63, 38] Operation: 51-13=38 Moving to Node #0,4 Current State: 83:[2, 51, 74], Operations: ['11+63=74'] Exploring Operation: 74-2=72, Resulting Numbers: [51, 72] Generated Node #0,4,0: 83:[51, 72] Operation: 74-2=72 Exploring Operation: 2*51=102, Resulting Numbers: [74, 102] Generated Node #0,4,1: 83:[74, 102] Operation: 2*51=102 Exploring Operation: 51-2=49, Resulting Numbers: [74, 49] Generated Node #0,4,2: 83:[74, 49] Operation: 51-2=49 Exploring Operation: 2+51=53, Resulting Numbers: [74, 53] Generated Node #0,4,3: 83:[74, 53] Operation: 2+51=53 Exploring Operation: 2+74=76, Resulting Numbers: [51, 76] Generated Node #0,4,4: 83:[51, 76] Operation: 2+74=76 Moving to Node #0,2,1 Current State: 83:[63, 91], Operations: ['2*51=102', '102-11=91'] Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 63*91=5733, Resulting Numbers: [5733] 5733,83 unequal: No Solution Exploring Operation: 63+91=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[102, 74], Operations: ['2*51=102', '11+63=74'] Exploring Operation: 102*74=7548, Resulting Numbers: [7548] 7548,83 unequal: No Solution Exploring Operation: 102+74=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 102-74=28, Resulting Numbers: [28] 28,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[74, 102], Operations: ['11+63=74', '2*51=102'] Exploring Operation: 102-74=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 74+102=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 74*102=7548, Resulting Numbers: [7548] 7548,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[63, 73], Operations: ['11*2=22', '51+22=73'] Exploring Operation: 63+73=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 73-63=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 63*73=4599, Resulting Numbers: [4599] 4599,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[51, 85], Operations: ['11*2=22', '63+22=85'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,83 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[51, 76], Operations: ['11+2=13', '63+13=76'] Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 51*76=3876, Resulting Numbers: [3876] 3876,83 unequal: No Solution Exploring Operation: 51+76=127, Resulting Numbers: [127] 127,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[63, 64], Operations: ['11+2=13', '51+13=64'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,83 unequal: No Solution Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[51, 76], Operations: ['11+63=74', '2+74=76'] Exploring Operation: 51*76=3876, Resulting Numbers: [3876] 3876,83 unequal: No Solution Exploring Operation: 51+76=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[74, 53], Operations: ['11+63=74', '2+51=53'] Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,83 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[74, 49], Operations: ['11+63=74', '51-2=49'] Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,83 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[51, 72], Operations: ['11+63=74', '74-2=72'] Exploring Operation: 51*72=3672, Resulting Numbers: [3672] 3672,83 unequal: No Solution Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[63, 113], Operations: ['2*51=102', '11+102=113'] Exploring Operation: 63+113=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 63*113=7119, Resulting Numbers: [7119] 7119,83 unequal: No Solution Exploring Operation: 113-63=50, Resulting Numbers: [50] 50,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[102, 52], Operations: ['2*51=102', '63-11=52'] Exploring Operation: 102*52=5304, Resulting Numbers: [5304] 5304,83 unequal: No Solution Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 102+52=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[63, 38], Operations: ['11+2=13', '51-13=38'] Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,83 unequal: No Solution Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[51, 50], Operations: ['11+2=13', '63-13=50'] Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,83 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[51, 41], Operations: ['11*2=22', '63-22=41'] Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,83 unequal: No Solution Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[63, 29], Operations: ['11*2=22', '51-22=29'] Exploring Operation: 63*29=1827, Resulting Numbers: [1827] 1827,83 unequal: No Solution Exploring Operation: 63+29=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[22, 114], Operations: ['11*2=22', '63+51=114'] Exploring Operation: 22+114=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 22*114=2508, Resulting Numbers: [2508] 2508,83 unequal: No Solution Exploring Operation: 114-22=92, Resulting Numbers: [92] 92,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[13, 114], Operations: ['11+2=13', '63+51=114'] Exploring Operation: 13+114=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 13*114=1482, Resulting Numbers: [1482] 1482,83 unequal: No Solution Exploring Operation: 114-13=101, Resulting Numbers: [101] 101,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[11, 39], Operations: ['2*51=102', '102-63=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,83 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 75, 15, 16 ]
16
[ "75-28=47", "15+16=31", "47-31=16" ]
Current State: 16:[28, 75, 15, 16], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [15, 16, 47] Generated Node #2: [15, 16, 47] from Operation: 75-28=47 Current State: 16:[15, 16, 47], Operations: ['75-28=47'] Exploring Operation: 15+16=31, Resulting Numbers: [47, 31] Generated Node #3: [47, 31] from Operation: 15+16=31 Current State: 16:[47, 31], Operations: ['75-28=47', '15+16=31'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[28, 75, 15, 16], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [28, 16, 5] Generated Node #0,0: 16:[28, 16, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 16:[28, 16, 5], Operations: ['75/15=5'] Exploring Operation: 28-16=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 16:[5, 12] Operation: 28-16=12 Moving to Node #0,0,0 Current State: 16:[5, 12], Operations: ['75/15=5', '28-16=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,16 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 3, 39, 4 ]
97
[ "3+39=42", "4*42=168", "168-71=97" ]
Current State: 97:[71, 3, 39, 4], Operations: [] Exploring Operation: 3+39=42, Resulting Numbers: [71, 4, 42] Generated Node #2: [71, 4, 42] from Operation: 3+39=42 Current State: 97:[71, 4, 42], Operations: ['3+39=42'] Exploring Operation: 4*42=168, Resulting Numbers: [71, 168] Generated Node #3: [71, 168] from Operation: 4*42=168 Current State: 97:[71, 168], Operations: ['3+39=42', '4*42=168'] Exploring Operation: 168-71=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[71, 3, 39, 4], Operations: [] Exploring Operation: 3*39=117, Resulting Numbers: [71, 4, 117] Generated Node #0,0: 97:[71, 4, 117] Operation: 3*39=117 Moving to Node #0,0 Current State: 97:[71, 4, 117], Operations: ['3*39=117'] Exploring Operation: 71+4=75, Resulting Numbers: [117, 75] Generated Node #0,0,0: 97:[117, 75] Operation: 71+4=75 Moving to Node #0,0,0 Current State: 97:[117, 75], Operations: ['3*39=117', '71+4=75'] Exploring Operation: 117-75=42, Resulting Numbers: [42] 42,97 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 10, 23, 35, 34 ]
12
[ "23-10=13", "35-34=1", "13-1=12" ]
Current State: 12:[10, 23, 35, 34], Operations: [] Exploring Operation: 23-10=13, Resulting Numbers: [35, 34, 13] Generated Node #2: [35, 34, 13] from Operation: 23-10=13 Current State: 12:[35, 34, 13], Operations: ['23-10=13'] Exploring Operation: 35-34=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 35-34=1 Current State: 12:[13, 1], Operations: ['23-10=13', '35-34=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[10, 23, 35, 34], Operations: [] Exploring Operation: 35-10=25, Resulting Numbers: [23, 34, 25] Generated Node #0,0: 12:[23, 34, 25] Operation: 35-10=25 Exploring Operation: 35-34=1, Resulting Numbers: [10, 23, 1] Generated Node #0,1: 12:[10, 23, 1] Operation: 35-34=1 Exploring Operation: 23-10=13, Resulting Numbers: [35, 34, 13] Generated Node #0,2: 12:[35, 34, 13] Operation: 23-10=13 Exploring Operation: 35-23=12, Resulting Numbers: [10, 34, 12] Generated Node #0,3: 12:[10, 34, 12] Operation: 35-23=12 Exploring Operation: 34-23=11, Resulting Numbers: [10, 35, 11] Generated Node #0,4: 12:[10, 35, 11] Operation: 34-23=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[10, 23, 1], Operations: ['35-34=1'] Exploring Operation: 10*1=10, Resulting Numbers: [23, 10] Generated Node #0,1,0: 12:[23, 10] Operation: 10*1=10 Exploring Operation: 23-1=22, Resulting Numbers: [10, 22] Generated Node #0,1,1: 12:[10, 22] Operation: 23-1=22 Exploring Operation: 10/1=10, Resulting Numbers: [23, 10] Generated Node #0,1,2: 12:[23, 10] Operation: 10/1=10 Exploring Operation: 23-10=13, Resulting Numbers: [1, 13] Generated Node #0,1,3: 12:[1, 13] Operation: 23-10=13 Exploring Operation: 10+1=11, Resulting Numbers: [23, 11] Generated Node #0,1,4: 12:[23, 11] Operation: 10+1=11 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[1, 13], Operations: ['35-34=1', '23-10=13'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[10, 23, 35, 34], Operations: [] Exploring Operation: 35-34=1, Resulting Numbers: [10, 23, 1] Generated Node #0,1: 12:[10, 23, 1] Operation: 35-34=1 Moving to Node #0,1 Current State: 12:[10, 23, 1], Operations: ['35-34=1'] Exploring Operation: 23-10=13, Resulting Numbers: [1, 13] Generated Node #0,1,3: 12:[1, 13] Operation: 23-10=13 Moving to Node #0,1,3 Current State: 12:[1, 13], Operations: ['35-34=1', '23-10=13'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 77, 78, 75, 38 ]
97
[ "77-75=2", "38/2=19", "78+19=97" ]
Current State: 97:[77, 78, 75, 38], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [78, 38, 2] Generated Node #2: [78, 38, 2] from Operation: 77-75=2 Current State: 97:[78, 38, 2], Operations: ['77-75=2'] Exploring Operation: 38/2=19, Resulting Numbers: [78, 19] Generated Node #3: [78, 19] from Operation: 38/2=19 Current State: 97:[78, 19], Operations: ['77-75=2', '38/2=19'] Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[77, 78, 75, 38], Operations: [] Exploring Operation: 77-38=39, Resulting Numbers: [78, 75, 39] Generated Node #0,0: 97:[78, 75, 39] Operation: 77-38=39 Exploring Operation: 75+38=113, Resulting Numbers: [77, 78, 113] Generated Node #0,1: 97:[77, 78, 113] Operation: 75+38=113 Exploring Operation: 77+38=115, Resulting Numbers: [78, 75, 115] Generated Node #0,2: 97:[78, 75, 115] Operation: 77+38=115 Exploring Operation: 78+38=116, Resulting Numbers: [77, 75, 116] Generated Node #0,3: 97:[77, 75, 116] Operation: 78+38=116 Moving to Node #0,1 Current State: 97:[77, 78, 113], Operations: ['75+38=113'] Exploring Operation: 113-78=35, Resulting Numbers: [77, 35] Generated Node #0,1,0: 97:[77, 35] Operation: 113-78=35 Exploring Operation: 113-77=36, Resulting Numbers: [78, 36] Generated Node #0,1,1: 97:[78, 36] Operation: 113-77=36 Exploring Operation: 78-77=1, Resulting Numbers: [113, 1] Generated Node #0,1,2: 97:[113, 1] Operation: 78-77=1 Exploring Operation: 77+78=155, Resulting Numbers: [113, 155] Generated Node #0,1,3: 97:[113, 155] Operation: 77+78=155 Moving to Node #0,2 Current State: 97:[78, 75, 115], Operations: ['77+38=115'] Exploring Operation: 115-75=40, Resulting Numbers: [78, 40] Generated Node #0,2,0: 97:[78, 40] Operation: 115-75=40 Exploring Operation: 78+75=153, Resulting Numbers: [115, 153] Generated Node #0,2,1: 97:[115, 153] Operation: 78+75=153 Exploring Operation: 115-78=37, Resulting Numbers: [75, 37] Generated Node #0,2,2: 97:[75, 37] Operation: 115-78=37 Exploring Operation: 78-75=3, Resulting Numbers: [115, 3] Generated Node #0,2,3: 97:[115, 3] Operation: 78-75=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[115, 153], Operations: ['77+38=115', '78+75=153'] Exploring Operation: 115*153=17595, Resulting Numbers: [17595] 17595,97 unequal: No Solution Exploring Operation: 115+153=268, Resulting Numbers: [268] 268,97 unequal: No Solution Exploring Operation: 153-115=38, Resulting Numbers: [38] 38,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[78, 40], Operations: ['77+38=115', '115-75=40'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 78*40=3120, Resulting Numbers: [3120] 3120,97 unequal: No Solution Exploring Operation: 78+40=118, Resulting Numbers: [118] 118,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[75, 37], Operations: ['77+38=115', '115-78=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[115, 3], Operations: ['77+38=115', '78-75=3'] Exploring Operation: 115+3=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 115-3=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 115*3=345, Resulting Numbers: [345] 345,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 97:[77, 75, 116], Operations: ['78+38=116'] Exploring Operation: 116-75=41, Resulting Numbers: [77, 41] Generated Node #0,3,0: 97:[77, 41] Operation: 116-75=41 Exploring Operation: 116-77=39, Resulting Numbers: [75, 39] Generated Node #0,3,1: 97:[75, 39] Operation: 116-77=39 Exploring Operation: 77-75=2, Resulting Numbers: [116, 2] Generated Node #0,3,2: 97:[116, 2] Operation: 77-75=2 Exploring Operation: 77+75=152, Resulting Numbers: [116, 152] Generated Node #0,3,3: 97:[116, 152] Operation: 77+75=152 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[116, 152], Operations: ['78+38=116', '77+75=152'] Exploring Operation: 152-116=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 116+152=268, Resulting Numbers: [268] 268,97 unequal: No Solution Exploring Operation: 116*152=17632, Resulting Numbers: [17632] 17632,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[77, 41], Operations: ['78+38=116', '116-75=41'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 77*41=3157, Resulting Numbers: [3157] 3157,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[75, 39], Operations: ['78+38=116', '116-77=39'] Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,97 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[116, 2], Operations: ['78+38=116', '77-75=2'] Exploring Operation: 116-2=114, Resulting Numbers: [114] 114,97 unequal: No Solution Exploring Operation: 116*2=232, Resulting Numbers: [232] 232,97 unequal: No Solution Exploring Operation: 116/2=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 116+2=118, Resulting Numbers: [118] 118,97 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: 97:[78, 75, 39], Operations: ['77-38=39'] Exploring Operation: 75-39=36, Resulting Numbers: [78, 36] Generated Node #0,0,0: 97:[78, 36] Operation: 75-39=36 Exploring Operation: 78-39=39, Resulting Numbers: [75, 39] Generated Node #0,0,1: 97:[75, 39] Operation: 78-39=39 Exploring Operation: 75+39=114, Resulting Numbers: [78, 114] Generated Node #0,0,2: 97:[78, 114] Operation: 75+39=114 Exploring Operation: 78+39=117, Resulting Numbers: [75, 117] Generated Node #0,0,3: 97:[75, 117] Operation: 78+39=117 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[78, 114], Operations: ['77-38=39', '75+39=114'] Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,97 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[75, 117], Operations: ['77-38=39', '78+39=117'] Exploring Operation: 117-75=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 75*117=8775, Resulting Numbers: [8775] 8775,97 unequal: No Solution Exploring Operation: 75+117=192, Resulting Numbers: [192] 192,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[78, 36], Operations: ['77-38=39', '75-39=36'] Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,97 unequal: No Solution Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[75, 39], Operations: ['77-38=39', '78-39=39'] Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,97 unequal: No Solution Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,97 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: 97:[113, 155], Operations: ['75+38=113', '77+78=155'] Exploring Operation: 113*155=17515, Resulting Numbers: [17515] 17515,97 unequal: No Solution Exploring Operation: 113+155=268, Resulting Numbers: [268] 268,97 unequal: No Solution Exploring Operation: 155-113=42, Resulting Numbers: [42] 42,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[78, 36], Operations: ['75+38=113', '113-77=36'] Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,97 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[77, 35], Operations: ['75+38=113', '113-78=35'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[113, 1], Operations: ['75+38=113', '78-77=1'] Exploring Operation: 113/1=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 113-1=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 113+1=114, Resulting Numbers: [114] 114,97 unequal: No Solution Exploring Operation: 113*1=113, Resulting Numbers: [113] 113,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 46, 57, 39, 33 ]
66
[ "57-46=11", "39-33=6", "11*6=66" ]
Current State: 66:[46, 57, 39, 33], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [39, 33, 11] Generated Node #2: [39, 33, 11] from Operation: 57-46=11 Current State: 66:[39, 33, 11], Operations: ['57-46=11'] Exploring Operation: 39-33=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 39-33=6 Current State: 66:[11, 6], Operations: ['57-46=11', '39-33=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[46, 57, 39, 33], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [57, 39, 13] Generated Node #0,0: 66:[57, 39, 13] Operation: 46-33=13 Exploring Operation: 57-46=11, Resulting Numbers: [39, 33, 11] Generated Node #0,1: 66:[39, 33, 11] Operation: 57-46=11 Exploring Operation: 46-39=7, Resulting Numbers: [57, 33, 7] Generated Node #0,2: 66:[57, 33, 7] Operation: 46-39=7 Exploring Operation: 57-39=18, Resulting Numbers: [46, 33, 18] Generated Node #0,3: 66:[46, 33, 18] Operation: 57-39=18 Exploring Operation: 57-33=24, Resulting Numbers: [46, 39, 24] Generated Node #0,4: 66:[46, 39, 24] Operation: 57-33=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[39, 33, 11], Operations: ['57-46=11'] Exploring Operation: 33/11=3, Resulting Numbers: [39, 3] Generated Node #0,1,0: 66:[39, 3] Operation: 33/11=3 Exploring Operation: 39-33=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 66:[11, 6] Operation: 39-33=6 Exploring Operation: 33-11=22, Resulting Numbers: [39, 22] Generated Node #0,1,2: 66:[39, 22] Operation: 33-11=22 Exploring Operation: 39-11=28, Resulting Numbers: [33, 28] Generated Node #0,1,3: 66:[33, 28] Operation: 39-11=28 Exploring Operation: 39+33=72, Resulting Numbers: [11, 72] Generated Node #0,1,4: 66:[11, 72] Operation: 39+33=72 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[11, 6], Operations: ['57-46=11', '39-33=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[46, 57, 39, 33], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [39, 33, 11] Generated Node #0,1: 66:[39, 33, 11] Operation: 57-46=11 Moving to Node #0,1 Current State: 66:[39, 33, 11], Operations: ['57-46=11'] Exploring Operation: 39-33=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 66:[11, 6] Operation: 39-33=6 Moving to Node #0,1,1 Current State: 66:[11, 6], Operations: ['57-46=11', '39-33=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 27, 57, 21, 48 ]
18
[ "57-48=9", "27/9=3", "21-3=18" ]
Current State: 18:[27, 57, 21, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [27, 21, 9] Generated Node #2: [27, 21, 9] from Operation: 57-48=9 Current State: 18:[27, 21, 9], Operations: ['57-48=9'] Exploring Operation: 27/9=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 27/9=3 Current State: 18:[21, 3], Operations: ['57-48=9', '27/9=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[27, 57, 21, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [27, 21, 9] Generated Node #0,0: 18:[27, 21, 9] Operation: 57-48=9 Exploring Operation: 48-27=21, Resulting Numbers: [57, 21, 21] Generated Node #0,1: 18:[57, 21, 21] Operation: 48-27=21 Exploring Operation: 57-27=30, Resulting Numbers: [21, 48, 30] Generated Node #0,2: 18:[21, 48, 30] Operation: 57-27=30 Moving to Node #0,0 Current State: 18:[27, 21, 9], Operations: ['57-48=9'] Exploring Operation: 27-21=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 18:[9, 6] Operation: 27-21=6 Exploring Operation: 27-9=18, Resulting Numbers: [21, 18] Generated Node #0,0,1: 18:[21, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 18:[21, 3] Operation: 27/9=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[9, 6], Operations: ['57-48=9', '27-21=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[21, 18], Operations: ['57-48=9', '27-9=18'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[21, 3], Operations: ['57-48=9', '27/9=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[27, 57, 21, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [27, 21, 9] Generated Node #0,0: 18:[27, 21, 9] Operation: 57-48=9 Moving to Node #0,0 Current State: 18:[27, 21, 9], Operations: ['57-48=9'] Exploring Operation: 27/9=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 18:[21, 3] Operation: 27/9=3 Moving to Node #0,0,2 Current State: 18:[21, 3], Operations: ['57-48=9', '27/9=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 50, 83, 81, 99 ]
74
[ "83-81=2", "50/2=25", "99-25=74" ]
Current State: 74:[50, 83, 81, 99], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [50, 99, 2] Generated Node #2: [50, 99, 2] from Operation: 83-81=2 Current State: 74:[50, 99, 2], Operations: ['83-81=2'] Exploring Operation: 50/2=25, Resulting Numbers: [99, 25] Generated Node #3: [99, 25] from Operation: 50/2=25 Current State: 74:[99, 25], Operations: ['83-81=2', '50/2=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[50, 83, 81, 99], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [50, 83, 18] Generated Node #0,0: 74:[50, 83, 18] Operation: 99-81=18 Exploring Operation: 83-81=2, Resulting Numbers: [50, 99, 2] Generated Node #0,1: 74:[50, 99, 2] Operation: 83-81=2 Exploring Operation: 99-83=16, Resulting Numbers: [50, 81, 16] Generated Node #0,2: 74:[50, 81, 16] Operation: 99-83=16 Exploring Operation: 99-50=49, Resulting Numbers: [83, 81, 49] Generated Node #0,3: 74:[83, 81, 49] Operation: 99-50=49 Exploring Operation: 83-50=33, Resulting Numbers: [81, 99, 33] Generated Node #0,4: 74:[81, 99, 33] Operation: 83-50=33 Moving to Node #0,3 Current State: 74:[83, 81, 49], Operations: ['99-50=49'] Exploring Operation: 83-81=2, Resulting Numbers: [49, 2] Generated Node #0,3,0: 74:[49, 2] Operation: 83-81=2 Exploring Operation: 83-49=34, Resulting Numbers: [81, 34] Generated Node #0,3,1: 74:[81, 34] Operation: 83-49=34 Exploring Operation: 81-49=32, Resulting Numbers: [83, 32] Generated Node #0,3,2: 74:[83, 32] Operation: 81-49=32 Exploring Operation: 81+49=130, Resulting Numbers: [83, 130] Generated Node #0,3,3: 74:[83, 130] Operation: 81+49=130 Exploring Operation: 83+49=132, Resulting Numbers: [81, 132] Generated Node #0,3,4: 74:[81, 132] Operation: 83+49=132 Moving to Node #0,2 Current State: 74:[50, 81, 16], Operations: ['99-83=16'] Exploring Operation: 81+16=97, Resulting Numbers: [50, 97] Generated Node #0,2,0: 74:[50, 97] Operation: 81+16=97 Exploring Operation: 50-16=34, Resulting Numbers: [81, 34] Generated Node #0,2,1: 74:[81, 34] Operation: 50-16=34 Exploring Operation: 81-50=31, Resulting Numbers: [16, 31] Generated Node #0,2,2: 74:[16, 31] Operation: 81-50=31 Exploring Operation: 81-16=65, Resulting Numbers: [50, 65] Generated Node #0,2,3: 74:[50, 65] Operation: 81-16=65 Exploring Operation: 50+16=66, Resulting Numbers: [81, 66] Generated Node #0,2,4: 74:[81, 66] Operation: 50+16=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[81, 34], Operations: ['99-83=16', '50-16=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,74 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 81-34=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,2,4 Current State: 74:[81, 66], Operations: ['99-83=16', '50+16=66'] Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,74 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,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,2 Current State: 74:[16, 31], Operations: ['99-83=16', '81-50=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,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,3 Current State: 74:[50, 65], Operations: ['99-83=16', '81-16=65'] Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,74 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,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,0 Current State: 74:[50, 97], Operations: ['99-83=16', '81+16=97'] Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,74 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: 74:[81, 99, 33], Operations: ['83-50=33'] Exploring Operation: 99-33=66, Resulting Numbers: [81, 66] Generated Node #0,4,0: 74:[81, 66] Operation: 99-33=66 Exploring Operation: 99/33=3, Resulting Numbers: [81, 3] Generated Node #0,4,1: 74:[81, 3] Operation: 99/33=3 Exploring Operation: 81-33=48, Resulting Numbers: [99, 48] Generated Node #0,4,2: 74:[99, 48] Operation: 81-33=48 Exploring Operation: 99-81=18, Resulting Numbers: [33, 18] Generated Node #0,4,3: 74:[33, 18] Operation: 99-81=18 Exploring Operation: 81+33=114, Resulting Numbers: [99, 114] Generated Node #0,4,4: 74:[99, 114] Operation: 81+33=114 Moving to Node #0,0 Current State: 74:[50, 83, 18], Operations: ['99-81=18'] Exploring Operation: 50-18=32, Resulting Numbers: [83, 32] Generated Node #0,0,0: 74:[83, 32] Operation: 50-18=32 Exploring Operation: 83-50=33, Resulting Numbers: [18, 33] Generated Node #0,0,1: 74:[18, 33] Operation: 83-50=33 Exploring Operation: 50+18=68, Resulting Numbers: [83, 68] Generated Node #0,0,2: 74:[83, 68] Operation: 50+18=68 Exploring Operation: 83+18=101, Resulting Numbers: [50, 101] Generated Node #0,0,3: 74:[50, 101] Operation: 83+18=101 Exploring Operation: 83-18=65, Resulting Numbers: [50, 65] Generated Node #0,0,4: 74:[50, 65] Operation: 83-18=65 Moving to Node #0,1 Current State: 74:[50, 99, 2], Operations: ['83-81=2'] Exploring Operation: 50+2=52, Resulting Numbers: [99, 52] Generated Node #0,1,0: 74:[99, 52] Operation: 50+2=52 Exploring Operation: 50-2=48, Resulting Numbers: [99, 48] Generated Node #0,1,1: 74:[99, 48] Operation: 50-2=48 Exploring Operation: 99-2=97, Resulting Numbers: [50, 97] Generated Node #0,1,2: 74:[50, 97] Operation: 99-2=97 Exploring Operation: 50/2=25, Resulting Numbers: [99, 25] Generated Node #0,1,3: 74:[99, 25] Operation: 50/2=25 Exploring Operation: 99-50=49, Resulting Numbers: [2, 49] Generated Node #0,1,4: 74:[2, 49] Operation: 99-50=49 Moving to Node #0,4,1 Current State: 74:[81, 3], Operations: ['83-50=33', '99/33=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,74 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[81, 34], Operations: ['99-50=49', '83-49=34'] Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[49, 2], Operations: ['99-50=49', '83-81=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,74 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[2, 49], Operations: ['83-81=2', '99-50=49'] 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 Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[83, 32], Operations: ['99-50=49', '81-49=32'] Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 83*32=2656, Resulting Numbers: [2656] 2656,74 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[83, 32], Operations: ['99-81=18', '50-18=32'] Exploring Operation: 83*32=2656, Resulting Numbers: [2656] 2656,74 unequal: No Solution Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[81, 66], Operations: ['83-50=33', '99-33=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[83, 68], Operations: ['99-81=18', '50+18=68'] Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[18, 33], Operations: ['99-81=18', '83-50=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,74 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[33, 18], Operations: ['83-50=33', '99-81=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[50, 65], Operations: ['99-81=18', '83-18=65'] Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,74 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[50, 97], Operations: ['83-81=2', '99-2=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,74 unequal: No Solution Moving to Node #0,4,2 Current State: 74:[99, 48], Operations: ['83-50=33', '81-33=48'] Exploring Operation: 99+48=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 99*48=4752, Resulting Numbers: [4752] 4752,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[99, 48], Operations: ['83-81=2', '50-2=48'] Exploring Operation: 99+48=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 99*48=4752, Resulting Numbers: [4752] 4752,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[99, 25], Operations: ['83-81=2', '50/2=25'] Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,74 unequal: No Solution Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[50, 83, 81, 99], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [50, 99, 2] Generated Node #0,1: 74:[50, 99, 2] Operation: 83-81=2 Moving to Node #0,1 Current State: 74:[50, 99, 2], Operations: ['83-81=2'] Exploring Operation: 50/2=25, Resulting Numbers: [99, 25] Generated Node #0,1,3: 74:[99, 25] Operation: 50/2=25 Moving to Node #0,1,3 Current State: 74:[99, 25], Operations: ['83-81=2', '50/2=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.917535
hs_5
mult_heuristic
[ 99, 87, 87, 94 ]
84
[ "99-87=12", "94-87=7", "12*7=84" ]
Current State: 84:[99, 87, 87, 94], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [94, 12] Generated Node #2: [94, 12] from Operation: 99-87=12 Current State: 84:[94, 12], Operations: ['99-87=12'] Exploring Operation: 94-87=7, Resulting Numbers: [12, 7] Generated Node #3: [12, 7] from Operation: 94-87=7 Current State: 84:[12, 7], Operations: ['99-87=12', '94-87=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[99, 87, 87, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [87, 87, 5] Generated Node #0,0: 84:[87, 87, 5] Operation: 99-94=5 Exploring Operation: 99-87=12, Resulting Numbers: [87, 94, 12] Generated Node #0,1: 84:[87, 94, 12] Operation: 99-87=12 Exploring Operation: 99-87=12, Resulting Numbers: [87, 94, 12] Generated Node #0,2: 84:[87, 94, 12] Operation: 99-87=12 Moving to Node #0,0 Current State: 84:[87, 87, 5], Operations: ['99-94=5'] Exploring Operation: 87-87=0, Resulting Numbers: [5, 0] Generated Node #0,0,0: 84:[5, 0] Operation: 87-87=0 Exploring Operation: 87/87=1, Resulting Numbers: [5, 1] Generated Node #0,0,1: 84:[5, 1] Operation: 87/87=1 Exploring Operation: 87-5=82, Resulting Numbers: [87, 82] Generated Node #0,0,2: 84:[87, 82] Operation: 87-5=82 Moving to Node #0,1 Current State: 84:[87, 94, 12], Operations: ['99-87=12'] Exploring Operation: 87-12=75, Resulting Numbers: [94, 75] Generated Node #0,1,0: 84:[94, 75] Operation: 87-12=75 Exploring Operation: 94-12=82, Resulting Numbers: [87, 82] Generated Node #0,1,1: 84:[87, 82] Operation: 94-12=82 Exploring Operation: 94-87=7, Resulting Numbers: [12, 7] Generated Node #0,1,2: 84:[12, 7] Operation: 94-87=7 Moving to Node #0,2 Current State: 84:[87, 94, 12], Operations: ['99-87=12'] Exploring Operation: 94-87=7, Resulting Numbers: [12, 7] Generated Node #0,2,0: 84:[12, 7] Operation: 94-87=7 Exploring Operation: 87-12=75, Resulting Numbers: [94, 75] Generated Node #0,2,1: 84:[94, 75] Operation: 87-12=75 Exploring Operation: 94-12=82, Resulting Numbers: [87, 82] Generated Node #0,2,2: 84:[87, 82] Operation: 94-12=82 Moving to Node #0,1,2 Current State: 84:[12, 7], Operations: ['99-87=12', '94-87=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,84 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[99, 87, 87, 94], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [87, 94, 12] Generated Node #0,1: 84:[87, 94, 12] Operation: 99-87=12 Moving to Node #0,1 Current State: 84:[87, 94, 12], Operations: ['99-87=12'] Exploring Operation: 94-87=7, Resulting Numbers: [12, 7] Generated Node #0,1,2: 84:[12, 7] Operation: 94-87=7 Moving to Node #0,1,2 Current State: 84:[12, 7], Operations: ['99-87=12', '94-87=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 42, 5, 40, 32 ]
78
[ "42+40=82", "5*32=160", "160-82=78" ]
Current State: 78:[42, 5, 40, 32], Operations: [] Exploring Operation: 42+40=82, Resulting Numbers: [5, 32, 82] Generated Node #2: [5, 32, 82] from Operation: 42+40=82 Current State: 78:[5, 32, 82], Operations: ['42+40=82'] Exploring Operation: 5*32=160, Resulting Numbers: [82, 160] Generated Node #3: [82, 160] from Operation: 5*32=160 Current State: 78:[82, 160], Operations: ['42+40=82', '5*32=160'] Exploring Operation: 160-82=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[42, 5, 40, 32], Operations: [] Exploring Operation: 42-32=10, Resulting Numbers: [5, 40, 10] Generated Node #0,0: 78:[5, 40, 10] Operation: 42-32=10 Exploring Operation: 32-5=27, Resulting Numbers: [42, 40, 27] Generated Node #0,1: 78:[42, 40, 27] Operation: 32-5=27 Exploring Operation: 42+32=74, Resulting Numbers: [5, 40, 74] Generated Node #0,2: 78:[5, 40, 74] Operation: 42+32=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[5, 40, 10], Operations: ['42-32=10'] Exploring Operation: 10-5=5, Resulting Numbers: [40, 5] Generated Node #0,0,0: 78:[40, 5] Operation: 10-5=5 Exploring Operation: 40/10=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 78:[5, 4] Operation: 40/10=4 Exploring Operation: 10/5=2, Resulting Numbers: [40, 2] Generated Node #0,0,2: 78:[40, 2] Operation: 10/5=2 Moving to Node #0,0,2 Current State: 78:[40, 2], Operations: ['42-32=10', '10/5=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[40, 5], Operations: ['42-32=10', '10-5=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[5, 4], Operations: ['42-32=10', '40/10=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[42, 40, 27], Operations: ['32-5=27'] Exploring Operation: 42-27=15, Resulting Numbers: [40, 15] Generated Node #0,1,0: 78:[40, 15] Operation: 42-27=15 Exploring Operation: 42-40=2, Resulting Numbers: [27, 2] Generated Node #0,1,1: 78:[27, 2] Operation: 42-40=2 Exploring Operation: 40-27=13, Resulting Numbers: [42, 13] Generated Node #0,1,2: 78:[42, 13] Operation: 40-27=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[27, 2], Operations: ['32-5=27', '42-40=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[40, 15], Operations: ['32-5=27', '42-27=15'] Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[42, 13], Operations: ['32-5=27', '40-27=13'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[5, 40, 74], Operations: ['42+32=74'] Exploring Operation: 5+74=79, Resulting Numbers: [40, 79] Generated Node #0,2,0: 78:[40, 79] Operation: 5+74=79 Exploring Operation: 40/5=8, Resulting Numbers: [74, 8] Generated Node #0,2,1: 78:[74, 8] Operation: 40/5=8 Exploring Operation: 74-40=34, Resulting Numbers: [5, 34] Generated Node #0,2,2: 78:[5, 34] Operation: 74-40=34 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[40, 79], Operations: ['42+32=74', '5+74=79'] Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 40*79=3160, Resulting Numbers: [3160] 3160,78 unequal: No Solution Exploring Operation: 40+79=119, Resulting Numbers: [119] 119,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[74, 8], Operations: ['42+32=74', '40/5=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,78 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[5, 34], Operations: ['42+32=74', '74-40=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,78 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 56, 82, 97, 4 ]
82
[ "97-56=41", "4*41=164", "164-82=82" ]
Current State: 82:[56, 82, 97, 4], Operations: [] Exploring Operation: 97-56=41, Resulting Numbers: [82, 4, 41] Generated Node #2: [82, 4, 41] from Operation: 97-56=41 Current State: 82:[82, 4, 41], Operations: ['97-56=41'] Exploring Operation: 4*41=164, Resulting Numbers: [82, 164] Generated Node #3: [82, 164] from Operation: 4*41=164 Current State: 82:[82, 164], Operations: ['97-56=41', '4*41=164'] Exploring Operation: 164-82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[56, 82, 97, 4], Operations: [] Exploring Operation: 56-4=52, Resulting Numbers: [82, 97, 52] Generated Node #0,0: 82:[82, 97, 52] Operation: 56-4=52 Exploring Operation: 97-56=41, Resulting Numbers: [82, 4, 41] Generated Node #0,1: 82:[82, 4, 41] Operation: 97-56=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[82, 4, 41], Operations: ['97-56=41'] Exploring Operation: 82-41=41, Resulting Numbers: [4, 41] Generated Node #0,1,0: 82:[4, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 82:[4, 2] Operation: 82/41=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[4, 41], Operations: ['97-56=41', '82-41=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[4, 2], Operations: ['97-56=41', '82/41=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[82, 97, 52], Operations: ['56-4=52'] Exploring Operation: 97-52=45, Resulting Numbers: [82, 45] Generated Node #0,0,0: 82:[82, 45] Operation: 97-52=45 Exploring Operation: 97-82=15, Resulting Numbers: [52, 15] Generated Node #0,0,1: 82:[52, 15] Operation: 97-82=15 Moving to Node #0,0,0 Current State: 82:[82, 45], Operations: ['56-4=52', '97-52=45'] Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[52, 15], Operations: ['56-4=52', '97-82=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,82 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
[ 35, 27, 56, 69 ]
62
[ "35-27=8", "56/8=7", "69-7=62" ]
Current State: 62:[35, 27, 56, 69], Operations: [] Exploring Operation: 35-27=8, Resulting Numbers: [56, 69, 8] Generated Node #2: [56, 69, 8] from Operation: 35-27=8 Current State: 62:[56, 69, 8], Operations: ['35-27=8'] Exploring Operation: 56/8=7, Resulting Numbers: [69, 7] Generated Node #3: [69, 7] from Operation: 56/8=7 Current State: 62:[69, 7], Operations: ['35-27=8', '56/8=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 27, 56, 69], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [27, 56, 34] Generated Node #0,0: 62:[27, 56, 34] Operation: 69-35=34 Exploring Operation: 35+27=62, Resulting Numbers: [56, 69, 62] Generated Node #0,1: 62:[56, 69, 62] Operation: 35+27=62 Moving to Node #0,0 Current State: 62:[27, 56, 34], Operations: ['69-35=34'] Exploring Operation: 27+34=61, Resulting Numbers: [56, 61] Generated Node #0,0,0: 62:[56, 61] Operation: 27+34=61 Exploring Operation: 56-27=29, Resulting Numbers: [34, 29] Generated Node #0,0,1: 62:[34, 29] Operation: 56-27=29 Moving to Node #0,1 Current State: 62:[56, 69, 62], Operations: ['35+27=62'] Exploring Operation: 69-56=13, Resulting Numbers: [62, 13] Generated Node #0,1,0: 62:[62, 13] Operation: 69-56=13 Exploring Operation: 62-56=6, Resulting Numbers: [69, 6] Generated Node #0,1,1: 62:[69, 6] Operation: 62-56=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[62, 13], Operations: ['35+27=62', '69-56=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,62 unequal: No Solution No 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: 62:[69, 6], Operations: ['35+27=62', '62-56=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,62 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: 62:[34, 29], Operations: ['69-35=34', '56-27=29'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[56, 61], Operations: ['69-35=34', '27+34=61'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,62 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 15, 12, 27, 93 ]
12
[ "15-12=3", "27*3=81", "93-81=12" ]
Current State: 12:[15, 12, 27, 93], Operations: [] Exploring Operation: 15-12=3, Resulting Numbers: [27, 93, 3] Generated Node #2: [27, 93, 3] from Operation: 15-12=3 Current State: 12:[27, 93, 3], Operations: ['15-12=3'] Exploring Operation: 27*3=81, Resulting Numbers: [93, 81] Generated Node #3: [93, 81] from Operation: 27*3=81 Current State: 12:[93, 81], Operations: ['15-12=3', '27*3=81'] Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[15, 12, 27, 93], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [15, 12, 66] Generated Node #0,0: 12:[15, 12, 66] Operation: 93-27=66 Moving to Node #0,0 Current State: 12:[15, 12, 66], Operations: ['93-27=66'] Exploring Operation: 66-15=51, Resulting Numbers: [12, 51] Generated Node #0,0,0: 12:[12, 51] Operation: 66-15=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[12, 51], Operations: ['93-27=66', '66-15=51'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,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
[ 34, 90, 70, 69 ]
55
[ "90-34=56", "70-69=1", "56-1=55" ]
Current State: 55:[34, 90, 70, 69], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [70, 69, 56] Generated Node #2: [70, 69, 56] from Operation: 90-34=56 Current State: 55:[70, 69, 56], Operations: ['90-34=56'] Exploring Operation: 70-69=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 70-69=1 Current State: 55:[56, 1], Operations: ['90-34=56', '70-69=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[34, 90, 70, 69], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [70, 69, 56] Generated Node #0,0: 55:[70, 69, 56] Operation: 90-34=56 Exploring Operation: 90-70=20, Resulting Numbers: [34, 69, 20] Generated Node #0,1: 55:[34, 69, 20] Operation: 90-70=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[70, 69, 56], Operations: ['90-34=56'] Exploring Operation: 70-56=14, Resulting Numbers: [69, 14] Generated Node #0,0,0: 55:[69, 14] Operation: 70-56=14 Exploring Operation: 70-69=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 55:[56, 1] Operation: 70-69=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[56, 1], Operations: ['90-34=56', '70-69=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[34, 90, 70, 69], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [70, 69, 56] Generated Node #0,0: 55:[70, 69, 56] Operation: 90-34=56 Moving to Node #0,0 Current State: 55:[70, 69, 56], Operations: ['90-34=56'] Exploring Operation: 70-69=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 55:[56, 1] Operation: 70-69=1 Moving to Node #0,0,1 Current State: 55:[56, 1], Operations: ['90-34=56', '70-69=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 46, 80, 12, 39 ]
37
[ "80+12=92", "92/46=2", "39-2=37" ]
Current State: 37:[46, 80, 12, 39], Operations: [] Exploring Operation: 80+12=92, Resulting Numbers: [46, 39, 92] Generated Node #2: [46, 39, 92] from Operation: 80+12=92 Current State: 37:[46, 39, 92], Operations: ['80+12=92'] Exploring Operation: 92/46=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 92/46=2 Current State: 37:[39, 2], Operations: ['80+12=92', '92/46=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[46, 80, 12, 39], Operations: [] Exploring Operation: 80-12=68, Resulting Numbers: [46, 39, 68] Generated Node #0,0: 37:[46, 39, 68] Operation: 80-12=68 Exploring Operation: 80-46=34, Resulting Numbers: [12, 39, 34] Generated Node #0,1: 37:[12, 39, 34] Operation: 80-46=34 Exploring Operation: 80-39=41, Resulting Numbers: [46, 12, 41] Generated Node #0,2: 37:[46, 12, 41] Operation: 80-39=41 Exploring Operation: 46-12=34, Resulting Numbers: [80, 39, 34] Generated Node #0,3: 37:[80, 39, 34] Operation: 46-12=34 Exploring Operation: 39-12=27, Resulting Numbers: [46, 80, 27] Generated Node #0,4: 37:[46, 80, 27] Operation: 39-12=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[12, 39, 34], Operations: ['80-46=34'] Exploring Operation: 39-34=5, Resulting Numbers: [12, 5] Generated Node #0,1,0: 37:[12, 5] Operation: 39-34=5 Exploring Operation: 12+34=46, Resulting Numbers: [39, 46] Generated Node #0,1,1: 37:[39, 46] Operation: 12+34=46 Exploring Operation: 34-12=22, Resulting Numbers: [39, 22] Generated Node #0,1,2: 37:[39, 22] Operation: 34-12=22 Exploring Operation: 12+39=51, Resulting Numbers: [34, 51] Generated Node #0,1,3: 37:[34, 51] Operation: 12+39=51 Exploring Operation: 39-12=27, Resulting Numbers: [34, 27] Generated Node #0,1,4: 37:[34, 27] Operation: 39-12=27 Moving to Node #0,1,1 Current State: 37:[39, 46], Operations: ['80-46=34', '12+34=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[34, 27], Operations: ['80-46=34', '39-12=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,37 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[39, 22], Operations: ['80-46=34', '34-12=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,37 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[34, 51], Operations: ['80-46=34', '12+39=51'] Exploring Operation: 34*51=1734, Resulting Numbers: [1734] 1734,37 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[12, 5], Operations: ['80-46=34', '39-34=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,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,2 Current State: 37:[46, 12, 41], Operations: ['80-39=41'] Exploring Operation: 46-41=5, Resulting Numbers: [12, 5] Generated Node #0,2,0: 37:[12, 5] Operation: 46-41=5 Exploring Operation: 46+12=58, Resulting Numbers: [41, 58] Generated Node #0,2,1: 37:[41, 58] Operation: 46+12=58 Exploring Operation: 12+41=53, Resulting Numbers: [46, 53] Generated Node #0,2,2: 37:[46, 53] Operation: 12+41=53 Exploring Operation: 46-12=34, Resulting Numbers: [41, 34] Generated Node #0,2,3: 37:[41, 34] Operation: 46-12=34 Exploring Operation: 41-12=29, Resulting Numbers: [46, 29] Generated Node #0,2,4: 37:[46, 29] Operation: 41-12=29 Moving to Node #0,2,3 Current State: 37:[41, 34], Operations: ['80-39=41', '46-12=34'] Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[46, 29], Operations: ['80-39=41', '41-12=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,37 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[41, 58], Operations: ['80-39=41', '46+12=58'] Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[46, 53], Operations: ['80-39=41', '12+41=53'] Exploring Operation: 46*53=2438, Resulting Numbers: [2438] 2438,37 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[12, 5], Operations: ['80-39=41', '46-41=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,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 Current State: 37:[46, 39, 68], Operations: ['80-12=68'] Exploring Operation: 46-39=7, Resulting Numbers: [68, 7] Generated Node #0,0,0: 37:[68, 7] Operation: 46-39=7 Exploring Operation: 68-46=22, Resulting Numbers: [39, 22] Generated Node #0,0,1: 37:[39, 22] Operation: 68-46=22 Exploring Operation: 46+39=85, Resulting Numbers: [68, 85] Generated Node #0,0,2: 37:[68, 85] Operation: 46+39=85 Exploring Operation: 46+68=114, Resulting Numbers: [39, 114] Generated Node #0,0,3: 37:[39, 114] Operation: 46+68=114 Exploring Operation: 68-39=29, Resulting Numbers: [46, 29] Generated Node #0,0,4: 37:[46, 29] Operation: 68-39=29 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[39, 22], Operations: ['80-12=68', '68-46=22'] Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,37 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,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,0,4 Current State: 37:[46, 29], Operations: ['80-12=68', '68-39=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,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,0,0 Current State: 37:[68, 7], Operations: ['80-12=68', '46-39=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,37 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,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,0,2 Current State: 37:[68, 85], Operations: ['80-12=68', '46+39=85'] Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 68+85=153, Resulting Numbers: [153] 153,37 unequal: No Solution Exploring Operation: 68*85=5780, Resulting Numbers: [5780] 5780,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,0,3 Current State: 37:[39, 114], Operations: ['80-12=68', '46+68=114'] Exploring Operation: 114-39=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 39*114=4446, Resulting Numbers: [4446] 4446,37 unequal: No Solution Exploring Operation: 39+114=153, Resulting Numbers: [153] 153,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,3 Current State: 37:[80, 39, 34], Operations: ['46-12=34'] Exploring Operation: 39+34=73, Resulting Numbers: [80, 73] Generated Node #0,3,0: 37:[80, 73] Operation: 39+34=73 Exploring Operation: 39-34=5, Resulting Numbers: [80, 5] Generated Node #0,3,1: 37:[80, 5] Operation: 39-34=5 Exploring Operation: 80-39=41, Resulting Numbers: [34, 41] Generated Node #0,3,2: 37:[34, 41] Operation: 80-39=41 Exploring Operation: 80-34=46, Resulting Numbers: [39, 46] Generated Node #0,3,3: 37:[39, 46] Operation: 80-34=46 Exploring Operation: 80+34=114, Resulting Numbers: [39, 114] Generated Node #0,3,4: 37:[39, 114] Operation: 80+34=114 Moving to Node #0,3,2 Current State: 37:[34, 41], Operations: ['46-12=34', '80-39=41'] Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[39, 46], Operations: ['46-12=34', '80-34=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,37 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[80, 5], Operations: ['46-12=34', '39-34=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,37 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[80, 73], Operations: ['46-12=34', '39+34=73'] Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,37 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[39, 114], Operations: ['46-12=34', '80+34=114'] Exploring Operation: 39+114=153, Resulting Numbers: [153] 153,37 unequal: No Solution Exploring Operation: 114-39=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 39*114=4446, Resulting Numbers: [4446] 4446,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,4 Current State: 37:[46, 80, 27], Operations: ['39-12=27'] Exploring Operation: 46-27=19, Resulting Numbers: [80, 19] Generated Node #0,4,0: 37:[80, 19] Operation: 46-27=19 Exploring Operation: 80-46=34, Resulting Numbers: [27, 34] Generated Node #0,4,1: 37:[27, 34] Operation: 80-46=34 Exploring Operation: 46+27=73, Resulting Numbers: [80, 73] Generated Node #0,4,2: 37:[80, 73] Operation: 46+27=73 Exploring Operation: 80-27=53, Resulting Numbers: [46, 53] Generated Node #0,4,3: 37:[46, 53] Operation: 80-27=53 Exploring Operation: 80+27=107, Resulting Numbers: [46, 107] Generated Node #0,4,4: 37:[46, 107] Operation: 80+27=107 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 37:[27, 34], Operations: ['39-12=27', '80-46=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,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:[46, 53], Operations: ['39-12=27', '80-27=53'] Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 46*53=2438, Resulting Numbers: [2438] 2438,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,0 Current State: 37:[80, 19], Operations: ['39-12=27', '46-27=19'] Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,37 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,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:[80, 73], Operations: ['39-12=27', '46+27=73'] Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,37 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,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:[46, 107], Operations: ['39-12=27', '80+27=107'] Exploring Operation: 46+107=153, Resulting Numbers: [153] 153,37 unequal: No Solution Exploring Operation: 107-46=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 46*107=4922, Resulting Numbers: [4922] 4922,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 10, 11, 30, 27 ]
48
[ "30/10=3", "27-11=16", "3*16=48" ]
Current State: 48:[10, 11, 30, 27], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [11, 27, 3] Generated Node #2: [11, 27, 3] from Operation: 30/10=3 Current State: 48:[11, 27, 3], Operations: ['30/10=3'] Exploring Operation: 27-11=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 27-11=16 Current State: 48:[3, 16], Operations: ['30/10=3', '27-11=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 11, 30, 27], Operations: [] Exploring Operation: 30-10=20, Resulting Numbers: [11, 27, 20] Generated Node #0,0: 48:[11, 27, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [11, 27, 3] Generated Node #0,1: 48:[11, 27, 3] Operation: 30/10=3 Exploring Operation: 30-11=19, Resulting Numbers: [10, 27, 19] Generated Node #0,2: 48:[10, 27, 19] Operation: 30-11=19 Exploring Operation: 27-10=17, Resulting Numbers: [11, 30, 17] Generated Node #0,3: 48:[11, 30, 17] Operation: 27-10=17 Exploring Operation: 30-27=3, Resulting Numbers: [10, 11, 3] Generated Node #0,4: 48:[10, 11, 3] Operation: 30-27=3 Moving to Node #0,4 Current State: 48:[10, 11, 3], Operations: ['30-27=3'] Exploring Operation: 11-10=1, Resulting Numbers: [3, 1] Generated Node #0,4,0: 48:[3, 1] Operation: 11-10=1 Exploring Operation: 11-3=8, Resulting Numbers: [10, 8] Generated Node #0,4,1: 48:[10, 8] Operation: 11-3=8 Exploring Operation: 10-3=7, Resulting Numbers: [11, 7] Generated Node #0,4,2: 48:[11, 7] Operation: 10-3=7 Exploring Operation: 10+3=13, Resulting Numbers: [11, 13] Generated Node #0,4,3: 48:[11, 13] Operation: 10+3=13 Exploring Operation: 10+11=21, Resulting Numbers: [3, 21] Generated Node #0,4,4: 48:[3, 21] Operation: 10+11=21 Moving to Node #0,1 Current State: 48:[11, 27, 3], Operations: ['30/10=3'] Exploring Operation: 27-11=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 48:[3, 16] Operation: 27-11=16 Exploring Operation: 11+3=14, Resulting Numbers: [27, 14] Generated Node #0,1,1: 48:[27, 14] Operation: 11+3=14 Exploring Operation: 27/3=9, Resulting Numbers: [11, 9] Generated Node #0,1,2: 48:[11, 9] Operation: 27/3=9 Exploring Operation: 11-3=8, Resulting Numbers: [27, 8] Generated Node #0,1,3: 48:[27, 8] Operation: 11-3=8 Exploring Operation: 27-3=24, Resulting Numbers: [11, 24] Generated Node #0,1,4: 48:[11, 24] Operation: 27-3=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[3, 16], Operations: ['30/10=3', '27-11=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 11, 30, 27], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [11, 27, 3] Generated Node #0,1: 48:[11, 27, 3] Operation: 30/10=3 Moving to Node #0,1 Current State: 48:[11, 27, 3], Operations: ['30/10=3'] Exploring Operation: 27-11=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 48:[3, 16] Operation: 27-11=16 Moving to Node #0,1,0 Current State: 48:[3, 16], Operations: ['30/10=3', '27-11=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 42, 68, 28, 88 ]
34
[ "68-42=26", "88-28=60", "60-26=34" ]
Current State: 34:[42, 68, 28, 88], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [28, 88, 26] Generated Node #2: [28, 88, 26] from Operation: 68-42=26 Current State: 34:[28, 88, 26], Operations: ['68-42=26'] Exploring Operation: 88-28=60, Resulting Numbers: [26, 60] Generated Node #3: [26, 60] from Operation: 88-28=60 Current State: 34:[26, 60], Operations: ['68-42=26', '88-28=60'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[42, 68, 28, 88], Operations: [] Exploring Operation: 88-42=46, Resulting Numbers: [68, 28, 46] Generated Node #0,0: 34:[68, 28, 46] Operation: 88-42=46 Exploring Operation: 88-68=20, Resulting Numbers: [42, 28, 20] Generated Node #0,1: 34:[42, 28, 20] Operation: 88-68=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[42, 28, 20], Operations: ['88-68=20'] Exploring Operation: 42-28=14, Resulting Numbers: [20, 14] Generated Node #0,1,0: 34:[20, 14] Operation: 42-28=14 Exploring Operation: 42-20=22, Resulting Numbers: [28, 22] Generated Node #0,1,1: 34:[28, 22] Operation: 42-20=22 Moving to Node #0,1,0 Current State: 34:[20, 14], Operations: ['88-68=20', '42-28=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[42, 68, 28, 88], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [42, 28, 20] Generated Node #0,1: 34:[42, 28, 20] Operation: 88-68=20 Moving to Node #0,1 Current State: 34:[42, 28, 20], Operations: ['88-68=20'] Exploring Operation: 42-28=14, Resulting Numbers: [20, 14] Generated Node #0,1,0: 34:[20, 14] Operation: 42-28=14 Moving to Node #0,1,0 Current State: 34:[20, 14], Operations: ['88-68=20', '42-28=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 3, 52, 25, 40 ]
41
[ "52-25=27", "3*27=81", "81-40=41" ]
Current State: 41:[3, 52, 25, 40], Operations: [] Exploring Operation: 52-25=27, Resulting Numbers: [3, 40, 27] Generated Node #2: [3, 40, 27] from Operation: 52-25=27 Current State: 41:[3, 40, 27], Operations: ['52-25=27'] Exploring Operation: 3*27=81, Resulting Numbers: [40, 81] Generated Node #3: [40, 81] from Operation: 3*27=81 Current State: 41:[40, 81], Operations: ['52-25=27', '3*27=81'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[3, 52, 25, 40], Operations: [] Exploring Operation: 3+25=28, Resulting Numbers: [52, 40, 28] Generated Node #0,0: 41:[52, 40, 28] Operation: 3+25=28 Exploring Operation: 52-3=49, Resulting Numbers: [25, 40, 49] Generated Node #0,1: 41:[25, 40, 49] Operation: 52-3=49 Exploring Operation: 3+40=43, Resulting Numbers: [52, 25, 43] Generated Node #0,2: 41:[52, 25, 43] Operation: 3+40=43 Moving to Node #0,0 Current State: 41:[52, 40, 28], Operations: ['3+25=28'] Exploring Operation: 40+28=68, Resulting Numbers: [52, 68] Generated Node #0,0,0: 41:[52, 68] Operation: 40+28=68 Exploring Operation: 52+28=80, Resulting Numbers: [40, 80] Generated Node #0,0,1: 41:[40, 80] Operation: 52+28=80 Exploring Operation: 52-28=24, Resulting Numbers: [40, 24] Generated Node #0,0,2: 41:[40, 24] Operation: 52-28=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[40, 24], Operations: ['3+25=28', '52-28=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,41 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[52, 68], Operations: ['3+25=28', '40+28=68'] Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,41 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[40, 80], Operations: ['3+25=28', '52+28=80'] Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 40+80=120, Resulting Numbers: [120] 120,41 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: 41:[25, 40, 49], Operations: ['52-3=49'] Exploring Operation: 25+40=65, Resulting Numbers: [49, 65] Generated Node #0,1,0: 41:[49, 65] Operation: 25+40=65 Exploring Operation: 49-25=24, Resulting Numbers: [40, 24] Generated Node #0,1,1: 41:[40, 24] Operation: 49-25=24 Exploring Operation: 40-25=15, Resulting Numbers: [49, 15] Generated Node #0,1,2: 41:[49, 15] Operation: 40-25=15 Moving to Node #0,2 Current State: 41:[52, 25, 43], Operations: ['3+40=43'] Exploring Operation: 52+25=77, Resulting Numbers: [43, 77] Generated Node #0,2,0: 41:[43, 77] Operation: 52+25=77 Exploring Operation: 43-25=18, Resulting Numbers: [52, 18] Generated Node #0,2,1: 41:[52, 18] Operation: 43-25=18 Exploring Operation: 52-25=27, Resulting Numbers: [43, 27] Generated Node #0,2,2: 41:[43, 27] Operation: 52-25=27 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[43, 27], Operations: ['3+40=43', '52-25=27'] Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,41 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[52, 18], Operations: ['3+40=43', '43-25=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,41 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[43, 77], Operations: ['3+40=43', '52+25=77'] Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 41:[40, 24], Operations: ['52-3=49', '49-25=24'] Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[49, 65], Operations: ['52-3=49', '25+40=65'] Exploring Operation: 49+65=114, Resulting Numbers: [114] 114,41 unequal: No Solution Exploring Operation: 49*65=3185, Resulting Numbers: [3185] 3185,41 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[49, 15], Operations: ['52-3=49', '40-25=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,41 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 18, 24, 78, 99 ]
33
[ "18*99=1782", "78-24=54", "1782/54=33" ]
Current State: 33:[18, 24, 78, 99], Operations: [] Exploring Operation: 18*99=1782, Resulting Numbers: [24, 78, 1782] Generated Node #2: [24, 78, 1782] from Operation: 18*99=1782 Current State: 33:[24, 78, 1782], Operations: ['18*99=1782'] Exploring Operation: 78-24=54, Resulting Numbers: [1782, 54] Generated Node #3: [1782, 54] from Operation: 78-24=54 Current State: 33:[1782, 54], Operations: ['18*99=1782', '78-24=54'] Exploring Operation: 1782/54=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[18, 24, 78, 99], Operations: [] Exploring Operation: 99-78=21, Resulting Numbers: [18, 24, 21] Generated Node #0,0: 33:[18, 24, 21] Operation: 99-78=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[18, 24, 21], Operations: ['99-78=21'] Exploring Operation: 24-21=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 33:[18, 3] Operation: 24-21=3 Moving to Node #0,0,0 Current State: 33:[18, 3], Operations: ['99-78=21', '24-21=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 85, 60, 72 ]
37
[ "72-60=12", "4*12=48", "85-48=37" ]
Current State: 37:[4, 85, 60, 72], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [4, 85, 12] Generated Node #2: [4, 85, 12] from Operation: 72-60=12 Current State: 37:[4, 85, 12], Operations: ['72-60=12'] Exploring Operation: 4*12=48, Resulting Numbers: [85, 48] Generated Node #3: [85, 48] from Operation: 4*12=48 Current State: 37:[85, 48], Operations: ['72-60=12', '4*12=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[4, 85, 60, 72], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [4, 60, 13] Generated Node #0,0: 37:[4, 60, 13] Operation: 85-72=13 Exploring Operation: 72/4=18, Resulting Numbers: [85, 60, 18] Generated Node #0,1: 37:[85, 60, 18] Operation: 72/4=18 Exploring Operation: 85-60=25, Resulting Numbers: [4, 72, 25] Generated Node #0,2: 37:[4, 72, 25] Operation: 85-60=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[4, 60, 13], Operations: ['85-72=13'] Exploring Operation: 4+13=17, Resulting Numbers: [60, 17] Generated Node #0,0,0: 37:[60, 17] Operation: 4+13=17 Exploring Operation: 60-4=56, Resulting Numbers: [13, 56] Generated Node #0,0,1: 37:[13, 56] Operation: 60-4=56 Exploring Operation: 4*13=52, Resulting Numbers: [60, 52] Generated Node #0,0,2: 37:[60, 52] Operation: 4*13=52 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[60, 52], Operations: ['85-72=13', '4*13=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,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,0,0 Current State: 37:[60, 17], Operations: ['85-72=13', '4+13=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,37 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,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,0,1 Current State: 37:[13, 56], Operations: ['85-72=13', '60-4=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,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,2 Current State: 37:[4, 72, 25], Operations: ['85-60=25'] Exploring Operation: 72/4=18, Resulting Numbers: [25, 18] Generated Node #0,2,0: 37:[25, 18] Operation: 72/4=18 Exploring Operation: 4+25=29, Resulting Numbers: [72, 29] Generated Node #0,2,1: 37:[72, 29] Operation: 4+25=29 Exploring Operation: 72-4=68, Resulting Numbers: [25, 68] Generated Node #0,2,2: 37:[25, 68] Operation: 72-4=68 Moving to Node #0,2,0 Current State: 37:[25, 18], Operations: ['85-60=25', '72/4=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,37 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[72, 29], Operations: ['85-60=25', '4+25=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,37 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[25, 68], Operations: ['85-60=25', '72-4=68'] Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,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,1 Current State: 37:[85, 60, 18], Operations: ['72/4=18'] Exploring Operation: 85-18=67, Resulting Numbers: [60, 67] Generated Node #0,1,0: 37:[60, 67] Operation: 85-18=67 Exploring Operation: 85-60=25, Resulting Numbers: [18, 25] Generated Node #0,1,1: 37:[18, 25] Operation: 85-60=25 Exploring Operation: 60-18=42, Resulting Numbers: [85, 42] Generated Node #0,1,2: 37:[85, 42] Operation: 60-18=42 Moving to Node #0,1,1 Current State: 37:[18, 25], Operations: ['72/4=18', '85-60=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[60, 67], Operations: ['72/4=18', '85-18=67'] Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,37 unequal: No Solution Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[85, 42], Operations: ['72/4=18', '60-18=42'] Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,37 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,37 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
[ 94, 51, 1, 69 ]
25
[ "94-51=43", "69-1=68", "68-43=25" ]
Current State: 25:[94, 51, 1, 69], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [1, 69, 43] Generated Node #2: [1, 69, 43] from Operation: 94-51=43 Current State: 25:[1, 69, 43], Operations: ['94-51=43'] Exploring Operation: 69-1=68, Resulting Numbers: [43, 68] Generated Node #3: [43, 68] from Operation: 69-1=68 Current State: 25:[43, 68], Operations: ['94-51=43', '69-1=68'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[94, 51, 1, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [51, 1, 25] Generated Node #0,0: 25:[51, 1, 25] Operation: 94-69=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[51, 1, 25], Operations: ['94-69=25'] Exploring Operation: 51-25=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 25:[1, 26] Operation: 51-25=26 Moving to Node #0,0,0 Current State: 25:[1, 26], Operations: ['94-69=25', '51-25=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[94, 51, 1, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [51, 1, 25] Generated Node #0,0: 25:[51, 1, 25] Operation: 94-69=25 Moving to Node #0,0 Current State: 25:[51, 1, 25], Operations: ['94-69=25'] Exploring Operation: 51-25=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 25:[1, 26] Operation: 51-25=26 Moving to Node #0,0,0 Current State: 25:[1, 26], Operations: ['94-69=25', '51-25=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 77, 72, 15, 19 ]
56
[ "77-72=5", "15*5=75", "75-19=56" ]
Current State: 56:[77, 72, 15, 19], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [15, 19, 5] Generated Node #2: [15, 19, 5] from Operation: 77-72=5 Current State: 56:[15, 19, 5], Operations: ['77-72=5'] Exploring Operation: 15*5=75, Resulting Numbers: [19, 75] Generated Node #3: [19, 75] from Operation: 15*5=75 Current State: 56:[19, 75], Operations: ['77-72=5', '15*5=75'] Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[77, 72, 15, 19], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [15, 19, 5] Generated Node #0,0: 56:[15, 19, 5] Operation: 77-72=5 Exploring Operation: 77-19=58, Resulting Numbers: [72, 15, 58] Generated Node #0,1: 56:[72, 15, 58] Operation: 77-19=58 Moving to Node #0,0 Current State: 56:[15, 19, 5], Operations: ['77-72=5'] Exploring Operation: 19-15=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 56:[5, 4] Operation: 19-15=4 Exploring Operation: 19-5=14, Resulting Numbers: [15, 14] Generated Node #0,0,1: 56:[15, 14] Operation: 19-5=14 Moving to Node #0,1 Current State: 56:[72, 15, 58], Operations: ['77-19=58'] Exploring Operation: 72-58=14, Resulting Numbers: [15, 14] Generated Node #0,1,0: 56:[15, 14] Operation: 72-58=14 Exploring Operation: 72-15=57, Resulting Numbers: [58, 57] Generated Node #0,1,1: 56:[58, 57] Operation: 72-15=57 Moving to Node #0,0,0 Current State: 56:[5, 4], Operations: ['77-72=5', '19-15=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[15, 14], Operations: ['77-19=58', '72-58=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[15, 14], Operations: ['77-72=5', '19-5=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[58, 57], Operations: ['77-19=58', '72-15=57'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,56 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 41, 37, 27, 40 ]
52
[ "41-37=4", "40-27=13", "4*13=52" ]
Current State: 52:[41, 37, 27, 40], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [27, 40, 4] Generated Node #2: [27, 40, 4] from Operation: 41-37=4 Current State: 52:[27, 40, 4], Operations: ['41-37=4'] Exploring Operation: 40-27=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 40-27=13 Current State: 52:[4, 13], Operations: ['41-37=4', '40-27=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[41, 37, 27, 40], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [37, 27, 1] Generated Node #0,0: 52:[37, 27, 1] Operation: 41-40=1 Exploring Operation: 41-37=4, Resulting Numbers: [27, 40, 4] Generated Node #0,1: 52:[27, 40, 4] Operation: 41-37=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[37, 27, 1], Operations: ['41-40=1'] Exploring Operation: 37-1=36, Resulting Numbers: [27, 36] Generated Node #0,0,0: 52:[27, 36] Operation: 37-1=36 Exploring Operation: 37-27=10, Resulting Numbers: [1, 10] Generated Node #0,0,1: 52:[1, 10] Operation: 37-27=10 Moving to Node #0,0,1 Current State: 52:[1, 10], Operations: ['41-40=1', '37-27=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[27, 36], Operations: ['41-40=1', '37-1=36'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[27, 40, 4], Operations: ['41-37=4'] Exploring Operation: 40-27=13, Resulting Numbers: [4, 13] Generated Node #0,1,0: 52:[4, 13] Operation: 40-27=13 Exploring Operation: 40/4=10, Resulting Numbers: [27, 10] Generated Node #0,1,1: 52:[27, 10] Operation: 40/4=10 Moving to Node #0,1,0 Current State: 52:[4, 13], Operations: ['41-37=4', '40-27=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[41, 37, 27, 40], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [27, 40, 4] Generated Node #0,1: 52:[27, 40, 4] Operation: 41-37=4 Moving to Node #0,1 Current State: 52:[27, 40, 4], Operations: ['41-37=4'] Exploring Operation: 40-27=13, Resulting Numbers: [4, 13] Generated Node #0,1,0: 52:[4, 13] Operation: 40-27=13 Moving to Node #0,1,0 Current State: 52:[4, 13], Operations: ['41-37=4', '40-27=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 47, 59, 9, 93 ]
15
[ "59-47=12", "9*12=108", "108-93=15" ]
Current State: 15:[47, 59, 9, 93], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [9, 93, 12] Generated Node #2: [9, 93, 12] from Operation: 59-47=12 Current State: 15:[9, 93, 12], Operations: ['59-47=12'] Exploring Operation: 9*12=108, Resulting Numbers: [93, 108] Generated Node #3: [93, 108] from Operation: 9*12=108 Current State: 15:[93, 108], Operations: ['59-47=12', '9*12=108'] Exploring Operation: 108-93=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[47, 59, 9, 93], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [59, 9, 46] Generated Node #0,0: 15:[59, 9, 46] Operation: 93-47=46 Exploring Operation: 93-59=34, Resulting Numbers: [47, 9, 34] Generated Node #0,1: 15:[47, 9, 34] Operation: 93-59=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[47, 9, 34], Operations: ['93-59=34'] Exploring Operation: 47-34=13, Resulting Numbers: [9, 13] Generated Node #0,1,0: 15:[9, 13] Operation: 47-34=13 Exploring Operation: 47-9=38, Resulting Numbers: [34, 38] Generated Node #0,1,1: 15:[34, 38] Operation: 47-9=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[9, 13], Operations: ['93-59=34', '47-34=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[34, 38], Operations: ['93-59=34', '47-9=38'] Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[59, 9, 46], Operations: ['93-47=46'] Exploring Operation: 59-9=50, Resulting Numbers: [46, 50] Generated Node #0,0,0: 15:[46, 50] Operation: 59-9=50 Exploring Operation: 59-46=13, Resulting Numbers: [9, 13] Generated Node #0,0,1: 15:[9, 13] Operation: 59-46=13 Moving to Node #0,0,1 Current State: 15:[9, 13], Operations: ['93-47=46', '59-46=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[46, 50], Operations: ['93-47=46', '59-9=50'] Exploring Operation: 46+50=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 48, 50, 2, 86 ]
63
[ "86-48=38", "50/2=25", "38+25=63" ]
Current State: 63:[48, 50, 2, 86], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [50, 2, 38] Generated Node #2: [50, 2, 38] from Operation: 86-48=38 Current State: 63:[50, 2, 38], Operations: ['86-48=38'] Exploring Operation: 50/2=25, Resulting Numbers: [38, 25] Generated Node #3: [38, 25] from Operation: 50/2=25 Current State: 63:[38, 25], Operations: ['86-48=38', '50/2=25'] Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[48, 50, 2, 86], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [2, 86, 2] Generated Node #0,0: 63:[2, 86, 2] Operation: 50-48=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[2, 86, 2], Operations: ['50-48=2'] Exploring Operation: 86/2=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 63:[2, 43] Operation: 86/2=43 Moving to Node #0,0,0 Current State: 63:[2, 43], Operations: ['50-48=2', '86/2=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 73, 68, 66, 58 ]
17
[ "73+68=141", "66+58=124", "141-124=17" ]
Current State: 17:[73, 68, 66, 58], Operations: [] Exploring Operation: 73+68=141, Resulting Numbers: [66, 58, 141] Generated Node #2: [66, 58, 141] from Operation: 73+68=141 Current State: 17:[66, 58, 141], Operations: ['73+68=141'] Exploring Operation: 66+58=124, Resulting Numbers: [141, 124] Generated Node #3: [141, 124] from Operation: 66+58=124 Current State: 17:[141, 124], Operations: ['73+68=141', '66+58=124'] Exploring Operation: 141-124=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[73, 68, 66, 58], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [66, 58, 5] Generated Node #0,0: 17:[66, 58, 5] Operation: 73-68=5 Exploring Operation: 68-66=2, Resulting Numbers: [73, 58, 2] Generated Node #0,1: 17:[73, 58, 2] Operation: 68-66=2 Exploring Operation: 73-66=7, Resulting Numbers: [68, 58, 7] Generated Node #0,2: 17:[68, 58, 7] Operation: 73-66=7 Exploring Operation: 68-58=10, Resulting Numbers: [73, 66, 10] Generated Node #0,3: 17:[73, 66, 10] Operation: 68-58=10 Exploring Operation: 73-58=15, Resulting Numbers: [68, 66, 15] Generated Node #0,4: 17:[68, 66, 15] Operation: 73-58=15 Moving to Node #0,0 Current State: 17:[66, 58, 5], Operations: ['73-68=5'] Exploring Operation: 58+5=63, Resulting Numbers: [66, 63] Generated Node #0,0,0: 17:[66, 63] Operation: 58+5=63 Exploring Operation: 66+5=71, Resulting Numbers: [58, 71] Generated Node #0,0,1: 17:[58, 71] Operation: 66+5=71 Exploring Operation: 66-5=61, Resulting Numbers: [58, 61] Generated Node #0,0,2: 17:[58, 61] Operation: 66-5=61 Exploring Operation: 66-58=8, Resulting Numbers: [5, 8] Generated Node #0,0,3: 17:[5, 8] Operation: 66-58=8 Exploring Operation: 58-5=53, Resulting Numbers: [66, 53] Generated Node #0,0,4: 17:[66, 53] Operation: 58-5=53 Moving to Node #0,4 Current State: 17:[68, 66, 15], Operations: ['73-58=15'] Exploring Operation: 66-15=51, Resulting Numbers: [68, 51] Generated Node #0,4,0: 17:[68, 51] Operation: 66-15=51 Exploring Operation: 68+15=83, Resulting Numbers: [66, 83] Generated Node #0,4,1: 17:[66, 83] Operation: 68+15=83 Exploring Operation: 68-15=53, Resulting Numbers: [66, 53] Generated Node #0,4,2: 17:[66, 53] Operation: 68-15=53 Exploring Operation: 68-66=2, Resulting Numbers: [15, 2] Generated Node #0,4,3: 17:[15, 2] Operation: 68-66=2 Exploring Operation: 66+15=81, Resulting Numbers: [68, 81] Generated Node #0,4,4: 17:[68, 81] Operation: 66+15=81 Moving to Node #0,2 Current State: 17:[68, 58, 7], Operations: ['73-66=7'] Exploring Operation: 58-7=51, Resulting Numbers: [68, 51] Generated Node #0,2,0: 17:[68, 51] Operation: 58-7=51 Exploring Operation: 58+7=65, Resulting Numbers: [68, 65] Generated Node #0,2,1: 17:[68, 65] Operation: 58+7=65 Exploring Operation: 68-58=10, Resulting Numbers: [7, 10] Generated Node #0,2,2: 17:[7, 10] Operation: 68-58=10 Exploring Operation: 68-7=61, Resulting Numbers: [58, 61] Generated Node #0,2,3: 17:[58, 61] Operation: 68-7=61 Exploring Operation: 68+7=75, Resulting Numbers: [58, 75] Generated Node #0,2,4: 17:[58, 75] Operation: 68+7=75 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[7, 10], Operations: ['73-66=7', '68-58=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[73, 68, 66, 58], Operations: [] Exploring Operation: 73-66=7, Resulting Numbers: [68, 58, 7] Generated Node #0,2: 17:[68, 58, 7] Operation: 73-66=7 Moving to Node #0,2 Current State: 17:[68, 58, 7], Operations: ['73-66=7'] Exploring Operation: 68-58=10, Resulting Numbers: [7, 10] Generated Node #0,2,2: 17:[7, 10] Operation: 68-58=10 Moving to Node #0,2,2 Current State: 17:[7, 10], Operations: ['73-66=7', '68-58=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 67, 54, 27, 90 ]
44
[ "67*54=3618", "3618/27=134", "134-90=44" ]
Current State: 44:[67, 54, 27, 90], Operations: [] Exploring Operation: 67*54=3618, Resulting Numbers: [27, 90, 3618] Generated Node #2: [27, 90, 3618] from Operation: 67*54=3618 Current State: 44:[27, 90, 3618], Operations: ['67*54=3618'] Exploring Operation: 3618/27=134, Resulting Numbers: [90, 134] Generated Node #3: [90, 134] from Operation: 3618/27=134 Current State: 44:[90, 134], Operations: ['67*54=3618', '3618/27=134'] Exploring Operation: 134-90=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[67, 54, 27, 90], Operations: [] Exploring Operation: 90-27=63, Resulting Numbers: [67, 54, 63] Generated Node #0,0: 44:[67, 54, 63] Operation: 90-27=63 Exploring Operation: 67-54=13, Resulting Numbers: [27, 90, 13] Generated Node #0,1: 44:[27, 90, 13] Operation: 67-54=13 Exploring Operation: 90-67=23, Resulting Numbers: [54, 27, 23] Generated Node #0,2: 44:[54, 27, 23] Operation: 90-67=23 Exploring Operation: 90-54=36, Resulting Numbers: [67, 27, 36] Generated Node #0,3: 44:[67, 27, 36] Operation: 90-54=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[54, 27, 23], Operations: ['90-67=23'] Exploring Operation: 54-23=31, Resulting Numbers: [27, 31] Generated Node #0,2,0: 44:[27, 31] Operation: 54-23=31 Exploring Operation: 54-27=27, Resulting Numbers: [23, 27] Generated Node #0,2,1: 44:[23, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [23, 2] Generated Node #0,2,2: 44:[23, 2] Operation: 54/27=2 Exploring Operation: 27-23=4, Resulting Numbers: [54, 4] Generated Node #0,2,3: 44:[54, 4] Operation: 27-23=4 Moving to Node #0,2,2 Current State: 44:[23, 2], Operations: ['90-67=23', '54/27=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[23, 27], Operations: ['90-67=23', '54-27=27'] Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,44 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[54, 4], Operations: ['90-67=23', '27-23=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,44 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[27, 31], Operations: ['90-67=23', '54-23=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[67, 27, 36], Operations: ['90-54=36'] Exploring Operation: 36-27=9, Resulting Numbers: [67, 9] Generated Node #0,3,0: 44:[67, 9] Operation: 36-27=9 Exploring Operation: 27+36=63, Resulting Numbers: [67, 63] Generated Node #0,3,1: 44:[67, 63] Operation: 27+36=63 Exploring Operation: 67-27=40, Resulting Numbers: [36, 40] Generated Node #0,3,2: 44:[36, 40] Operation: 67-27=40 Exploring Operation: 67-36=31, Resulting Numbers: [27, 31] Generated Node #0,3,3: 44:[27, 31] Operation: 67-36=31 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 44:[36, 40], Operations: ['90-54=36', '67-27=40'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,44 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 44:[27, 31], Operations: ['90-54=36', '67-36=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 44:[67, 9], Operations: ['90-54=36', '36-27=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,44 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 44:[67, 63], Operations: ['90-54=36', '27+36=63'] Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,44 unequal: No Solution Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,44 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,44 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: 44:[67, 54, 63], Operations: ['90-27=63'] Exploring Operation: 67+54=121, Resulting Numbers: [63, 121] Generated Node #0,0,0: 44:[63, 121] Operation: 67+54=121 Exploring Operation: 67-63=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 44:[54, 4] Operation: 67-63=4 Exploring Operation: 67-54=13, Resulting Numbers: [63, 13] Generated Node #0,0,2: 44:[63, 13] Operation: 67-54=13 Exploring Operation: 63-54=9, Resulting Numbers: [67, 9] Generated Node #0,0,3: 44:[67, 9] Operation: 63-54=9 Moving to Node #0,0,1 Current State: 44:[54, 4], Operations: ['90-27=63', '67-63=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,44 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[63, 13], Operations: ['90-27=63', '67-54=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[67, 9], Operations: ['90-27=63', '63-54=9'] Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,44 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[63, 121], Operations: ['90-27=63', '67+54=121'] Exploring Operation: 63+121=184, Resulting Numbers: [184] 184,44 unequal: No Solution Exploring Operation: 63*121=7623, Resulting Numbers: [7623] 7623,44 unequal: No Solution Exploring Operation: 121-63=58, Resulting Numbers: [58] 58,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[27, 90, 13], Operations: ['67-54=13'] Exploring Operation: 90-13=77, Resulting Numbers: [27, 77] Generated Node #0,1,0: 44:[27, 77] Operation: 90-13=77 Exploring Operation: 90-27=63, Resulting Numbers: [13, 63] Generated Node #0,1,1: 44:[13, 63] Operation: 90-27=63 Exploring Operation: 27-13=14, Resulting Numbers: [90, 14] Generated Node #0,1,2: 44:[90, 14] Operation: 27-13=14 Exploring Operation: 27+13=40, Resulting Numbers: [90, 40] Generated Node #0,1,3: 44:[90, 40] Operation: 27+13=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[13, 63], Operations: ['67-54=13', '90-27=63'] Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[27, 77], Operations: ['67-54=13', '90-13=77'] Exploring Operation: 27*77=2079, Resulting Numbers: [2079] 2079,44 unequal: No Solution Exploring Operation: 27+77=104, Resulting Numbers: [104] 104,44 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[90, 14], Operations: ['67-54=13', '27-13=14'] Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,44 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[90, 40], Operations: ['67-54=13', '27+13=40'] Exploring Operation: 90*40=3600, Resulting Numbers: [3600] 3600,44 unequal: No Solution Exploring Operation: 90+40=130, Resulting Numbers: [130] 130,44 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 3, 83, 36, 70 ]
87
[ "83+70=153", "153/3=51", "36+51=87" ]
Current State: 87:[3, 83, 36, 70], Operations: [] Exploring Operation: 83+70=153, Resulting Numbers: [3, 36, 153] Generated Node #2: [3, 36, 153] from Operation: 83+70=153 Current State: 87:[3, 36, 153], Operations: ['83+70=153'] Exploring Operation: 153/3=51, Resulting Numbers: [36, 51] Generated Node #3: [36, 51] from Operation: 153/3=51 Current State: 87:[36, 51], Operations: ['83+70=153', '153/3=51'] Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 83, 36, 70], Operations: [] Exploring Operation: 70-36=34, Resulting Numbers: [3, 83, 34] Generated Node #0,0: 87:[3, 83, 34] Operation: 70-36=34 Exploring Operation: 83-70=13, Resulting Numbers: [3, 36, 13] Generated Node #0,1: 87:[3, 36, 13] Operation: 83-70=13 Moving to Node #0,0 Current State: 87:[3, 83, 34], Operations: ['70-36=34'] Exploring Operation: 3+83=86, Resulting Numbers: [34, 86] Generated Node #0,0,0: 87:[34, 86] Operation: 3+83=86 Exploring Operation: 34-3=31, Resulting Numbers: [83, 31] Generated Node #0,0,1: 87:[83, 31] Operation: 34-3=31 Moving to Node #0,1 Current State: 87:[3, 36, 13], Operations: ['83-70=13'] Exploring Operation: 36-13=23, Resulting Numbers: [3, 23] Generated Node #0,1,0: 87:[3, 23] Operation: 36-13=23 Exploring Operation: 36-3=33, Resulting Numbers: [13, 33] Generated Node #0,1,1: 87:[13, 33] Operation: 36-3=33 Moving to Node #0,0,0 Current State: 87:[34, 86], Operations: ['70-36=34', '3+83=86'] Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 34+86=120, Resulting Numbers: [120] 120,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[3, 23], Operations: ['83-70=13', '36-13=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[83, 31], Operations: ['70-36=34', '34-3=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[13, 33], Operations: ['83-70=13', '36-3=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,87 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 91, 60, 15, 32 ]
14
[ "91-60=31", "32-15=17", "31-17=14" ]
Current State: 14:[91, 60, 15, 32], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [15, 32, 31] Generated Node #2: [15, 32, 31] from Operation: 91-60=31 Current State: 14:[15, 32, 31], Operations: ['91-60=31'] Exploring Operation: 32-15=17, Resulting Numbers: [31, 17] Generated Node #3: [31, 17] from Operation: 32-15=17 Current State: 14:[31, 17], Operations: ['91-60=31', '32-15=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[91, 60, 15, 32], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [15, 32, 31] Generated Node #0,0: 14:[15, 32, 31] Operation: 91-60=31 Exploring Operation: 91-32=59, Resulting Numbers: [60, 15, 59] Generated Node #0,1: 14:[60, 15, 59] Operation: 91-32=59 Exploring Operation: 60-32=28, Resulting Numbers: [91, 15, 28] Generated Node #0,2: 14:[91, 15, 28] Operation: 60-32=28 Moving to Node #0,0 Current State: 14:[15, 32, 31], Operations: ['91-60=31'] Exploring Operation: 31-15=16, Resulting Numbers: [32, 16] Generated Node #0,0,0: 14:[32, 16] Operation: 31-15=16 Exploring Operation: 32-31=1, Resulting Numbers: [15, 1] Generated Node #0,0,1: 14:[15, 1] Operation: 32-31=1 Exploring Operation: 32-15=17, Resulting Numbers: [31, 17] Generated Node #0,0,2: 14:[31, 17] Operation: 32-15=17 Moving to Node #0,1 Current State: 14:[60, 15, 59], Operations: ['91-32=59'] Exploring Operation: 60-15=45, Resulting Numbers: [59, 45] Generated Node #0,1,0: 14:[59, 45] Operation: 60-15=45 Exploring Operation: 60/15=4, Resulting Numbers: [59, 4] Generated Node #0,1,1: 14:[59, 4] Operation: 60/15=4 Exploring Operation: 60-59=1, Resulting Numbers: [15, 1] Generated Node #0,1,2: 14:[15, 1] Operation: 60-59=1 Moving to Node #0,2 Current State: 14:[91, 15, 28], Operations: ['60-32=28'] Exploring Operation: 28-15=13, Resulting Numbers: [91, 13] Generated Node #0,2,0: 14:[91, 13] Operation: 28-15=13 Exploring Operation: 91-28=63, Resulting Numbers: [15, 63] Generated Node #0,2,1: 14:[15, 63] Operation: 91-28=63 Exploring Operation: 91-15=76, Resulting Numbers: [28, 76] Generated Node #0,2,2: 14:[28, 76] Operation: 91-15=76 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[15, 63], Operations: ['60-32=28', '91-28=63'] Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,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,2,2 Current State: 14:[28, 76], Operations: ['60-32=28', '91-15=76'] Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,14 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,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,2,0 Current State: 14:[91, 13], Operations: ['60-32=28', '28-15=13'] Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,14 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: 14:[15, 1], Operations: ['91-60=31', '32-31=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, 60, 15, 32], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [15, 32, 31] Generated Node #0,0: 14:[15, 32, 31] Operation: 91-60=31 Moving to Node #0,0 Current State: 14:[15, 32, 31], Operations: ['91-60=31'] Exploring Operation: 32-31=1, Resulting Numbers: [15, 1] Generated Node #0,0,1: 14:[15, 1] Operation: 32-31=1 Moving to Node #0,0,1 Current State: 14:[15, 1], Operations: ['91-60=31', '32-31=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 59, 12, 85, 62 ]
74
[ "59+85=144", "144/12=12", "62+12=74" ]
Current State: 74:[59, 12, 85, 62], Operations: [] Exploring Operation: 59+85=144, Resulting Numbers: [12, 62, 144] Generated Node #2: [12, 62, 144] from Operation: 59+85=144 Current State: 74:[12, 62, 144], Operations: ['59+85=144'] Exploring Operation: 144/12=12, Resulting Numbers: [62, 12] Generated Node #3: [62, 12] from Operation: 144/12=12 Current State: 74:[62, 12], Operations: ['59+85=144', '144/12=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[59, 12, 85, 62], Operations: [] Exploring Operation: 12+62=74, Resulting Numbers: [59, 85, 74] Generated Node #0,0: 74:[59, 85, 74] Operation: 12+62=74 Exploring Operation: 62-59=3, Resulting Numbers: [12, 85, 3] Generated Node #0,1: 74:[12, 85, 3] Operation: 62-59=3 Exploring Operation: 59+12=71, Resulting Numbers: [85, 62, 71] Generated Node #0,2: 74:[85, 62, 71] Operation: 59+12=71 Exploring Operation: 85-12=73, Resulting Numbers: [59, 62, 73] Generated Node #0,3: 74:[59, 62, 73] Operation: 85-12=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[12, 85, 3], Operations: ['62-59=3'] Exploring Operation: 12/3=4, Resulting Numbers: [85, 4] Generated Node #0,1,0: 74:[85, 4] Operation: 12/3=4 Exploring Operation: 85-12=73, Resulting Numbers: [3, 73] Generated Node #0,1,1: 74:[3, 73] Operation: 85-12=73 Exploring Operation: 12*3=36, Resulting Numbers: [85, 36] Generated Node #0,1,2: 74:[85, 36] Operation: 12*3=36 Exploring Operation: 12-3=9, Resulting Numbers: [85, 9] Generated Node #0,1,3: 74:[85, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[3, 73], Operations: ['62-59=3', '85-12=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,74 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[85, 36], Operations: ['62-59=3', '12*3=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,74 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[85, 4], Operations: ['62-59=3', '12/3=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,74 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[85, 9], Operations: ['62-59=3', '12-3=9'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,74 unequal: No Solution Exploring Operation: 85*9=765, Resulting Numbers: [765] 765,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[59, 85, 74], Operations: ['12+62=74'] Exploring Operation: 74-59=15, Resulting Numbers: [85, 15] Generated Node #0,0,0: 74:[85, 15] Operation: 74-59=15 Exploring Operation: 85-59=26, Resulting Numbers: [74, 26] Generated Node #0,0,1: 74:[74, 26] Operation: 85-59=26 Exploring Operation: 59+85=144, Resulting Numbers: [74, 144] Generated Node #0,0,2: 74:[74, 144] Operation: 59+85=144 Exploring Operation: 85-74=11, Resulting Numbers: [59, 11] Generated Node #0,0,3: 74:[59, 11] Operation: 85-74=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[74, 26], Operations: ['12+62=74', '85-59=26'] Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,74 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[85, 15], Operations: ['12+62=74', '74-59=15'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 85*15=1275, Resulting Numbers: [1275] 1275,74 unequal: No Solution Exploring Operation: 85+15=100, Resulting Numbers: [100] 100,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[59, 11], Operations: ['12+62=74', '85-74=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,74 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[74, 144], Operations: ['12+62=74', '59+85=144'] Exploring Operation: 74*144=10656, Resulting Numbers: [10656] 10656,74 unequal: No Solution Exploring Operation: 144-74=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 74+144=218, Resulting Numbers: [218] 218,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[85, 62, 71], Operations: ['59+12=71'] Exploring Operation: 62+71=133, Resulting Numbers: [85, 133] Generated Node #0,2,0: 74:[85, 133] Operation: 62+71=133 Exploring Operation: 85-71=14, Resulting Numbers: [62, 14] Generated Node #0,2,1: 74:[62, 14] Operation: 85-71=14 Exploring Operation: 85-62=23, Resulting Numbers: [71, 23] Generated Node #0,2,2: 74:[71, 23] Operation: 85-62=23 Exploring Operation: 71-62=9, Resulting Numbers: [85, 9] Generated Node #0,2,3: 74:[85, 9] Operation: 71-62=9 Moving to Node #0,2,2 Current State: 74:[71, 23], Operations: ['59+12=71', '85-62=23'] Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,74 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[85, 9], Operations: ['59+12=71', '71-62=9'] Exploring Operation: 85*9=765, Resulting Numbers: [765] 765,74 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[62, 14], Operations: ['59+12=71', '85-71=14'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[85, 133], Operations: ['59+12=71', '62+71=133'] Exploring Operation: 85+133=218, Resulting Numbers: [218] 218,74 unequal: No Solution Exploring Operation: 85*133=11305, Resulting Numbers: [11305] 11305,74 unequal: No Solution Exploring Operation: 133-85=48, Resulting Numbers: [48] 48,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:[59, 62, 73], Operations: ['85-12=73'] Exploring Operation: 62-59=3, Resulting Numbers: [73, 3] Generated Node #0,3,0: 74:[73, 3] Operation: 62-59=3 Exploring Operation: 73-59=14, Resulting Numbers: [62, 14] Generated Node #0,3,1: 74:[62, 14] Operation: 73-59=14 Exploring Operation: 73-62=11, Resulting Numbers: [59, 11] Generated Node #0,3,2: 74:[59, 11] Operation: 73-62=11 Exploring Operation: 59+62=121, Resulting Numbers: [73, 121] Generated Node #0,3,3: 74:[73, 121] Operation: 59+62=121 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 74:[73, 3], Operations: ['85-12=73', '62-59=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 73*3=219, Resulting Numbers: [219] 219,74 unequal: No Solution Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 74:[62, 14], Operations: ['85-12=73', '73-59=14'] Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,74 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 74:[59, 11], Operations: ['85-12=73', '73-62=11'] Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,74 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 74:[73, 121], Operations: ['85-12=73', '59+62=121'] Exploring Operation: 73+121=194, Resulting Numbers: [194] 194,74 unequal: No Solution Exploring Operation: 121-73=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 73*121=8833, Resulting Numbers: [8833] 8833,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 32, 74, 29, 44 ]
33
[ "32+74=106", "29+44=73", "106-73=33" ]
Current State: 33:[32, 74, 29, 44], Operations: [] Exploring Operation: 32+74=106, Resulting Numbers: [29, 44, 106] Generated Node #2: [29, 44, 106] from Operation: 32+74=106 Current State: 33:[29, 44, 106], Operations: ['32+74=106'] Exploring Operation: 29+44=73, Resulting Numbers: [106, 73] Generated Node #3: [106, 73] from Operation: 29+44=73 Current State: 33:[106, 73], Operations: ['32+74=106', '29+44=73'] Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[32, 74, 29, 44], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [29, 44, 42] Generated Node #0,0: 33:[29, 44, 42] Operation: 74-32=42 Exploring Operation: 44-32=12, Resulting Numbers: [74, 29, 12] Generated Node #0,1: 33:[74, 29, 12] Operation: 44-32=12 Exploring Operation: 74-44=30, Resulting Numbers: [32, 29, 30] Generated Node #0,2: 33:[32, 29, 30] Operation: 74-44=30 Exploring Operation: 74-29=45, Resulting Numbers: [32, 44, 45] Generated Node #0,3: 33:[32, 44, 45] Operation: 74-29=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[32, 29, 30], Operations: ['74-44=30'] Exploring Operation: 32-30=2, Resulting Numbers: [29, 2] Generated Node #0,2,0: 33:[29, 2] Operation: 32-30=2 Exploring Operation: 30-29=1, Resulting Numbers: [32, 1] Generated Node #0,2,1: 33:[32, 1] Operation: 30-29=1 Exploring Operation: 29+30=59, Resulting Numbers: [32, 59] Generated Node #0,2,2: 33:[32, 59] Operation: 29+30=59 Exploring Operation: 32-29=3, Resulting Numbers: [30, 3] Generated Node #0,2,3: 33:[30, 3] Operation: 32-29=3 Moving to Node #0,2,1 Current State: 33:[32, 1], Operations: ['74-44=30', '30-29=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[32, 74, 29, 44], Operations: [] Exploring Operation: 74-44=30, Resulting Numbers: [32, 29, 30] Generated Node #0,2: 33:[32, 29, 30] Operation: 74-44=30 Moving to Node #0,2 Current State: 33:[32, 29, 30], Operations: ['74-44=30'] Exploring Operation: 30-29=1, Resulting Numbers: [32, 1] Generated Node #0,2,1: 33:[32, 1] Operation: 30-29=1 Moving to Node #0,2,1 Current State: 33:[32, 1], Operations: ['74-44=30', '30-29=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 38, 72, 10, 15 ]
86
[ "72*10=720", "720/15=48", "38+48=86" ]
Current State: 86:[38, 72, 10, 15], Operations: [] Exploring Operation: 72*10=720, Resulting Numbers: [38, 15, 720] Generated Node #2: [38, 15, 720] from Operation: 72*10=720 Current State: 86:[38, 15, 720], Operations: ['72*10=720'] Exploring Operation: 720/15=48, Resulting Numbers: [38, 48] Generated Node #3: [38, 48] from Operation: 720/15=48 Current State: 86:[38, 48], Operations: ['72*10=720', '720/15=48'] Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[38, 72, 10, 15], Operations: [] Exploring Operation: 72+15=87, Resulting Numbers: [38, 10, 87] Generated Node #0,0: 86:[38, 10, 87] Operation: 72+15=87 Exploring Operation: 72+10=82, Resulting Numbers: [38, 15, 82] Generated Node #0,1: 86:[38, 15, 82] Operation: 72+10=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[38, 10, 87], Operations: ['72+15=87'] Exploring Operation: 87-38=49, Resulting Numbers: [10, 49] Generated Node #0,0,0: 86:[10, 49] Operation: 87-38=49 Exploring Operation: 38+10=48, Resulting Numbers: [87, 48] Generated Node #0,0,1: 86:[87, 48] Operation: 38+10=48 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[87, 48], Operations: ['72+15=87', '38+10=48'] Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,86 unequal: No Solution No 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: 86:[10, 49], Operations: ['72+15=87', '87-38=49'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,86 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: 86:[38, 15, 82], Operations: ['72+10=82'] Exploring Operation: 38+15=53, Resulting Numbers: [82, 53] Generated Node #0,1,0: 86:[82, 53] Operation: 38+15=53 Exploring Operation: 82-38=44, Resulting Numbers: [15, 44] Generated Node #0,1,1: 86:[15, 44] Operation: 82-38=44 Moving to Node #0,1,0 Current State: 86:[82, 53], Operations: ['72+10=82', '38+15=53'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[15, 44], Operations: ['72+10=82', '82-38=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 26, 47, 6, 46 ]
19
[ "47-26=21", "46-6=40", "40-21=19" ]
Current State: 19:[26, 47, 6, 46], Operations: [] Exploring Operation: 47-26=21, Resulting Numbers: [6, 46, 21] Generated Node #2: [6, 46, 21] from Operation: 47-26=21 Current State: 19:[6, 46, 21], Operations: ['47-26=21'] Exploring Operation: 46-6=40, Resulting Numbers: [21, 40] Generated Node #3: [21, 40] from Operation: 46-6=40 Current State: 19:[21, 40], Operations: ['47-26=21', '46-6=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[26, 47, 6, 46], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [26, 6, 1] Generated Node #0,0: 19:[26, 6, 1] Operation: 47-46=1 Exploring Operation: 47-26=21, Resulting Numbers: [6, 46, 21] Generated Node #0,1: 19:[6, 46, 21] Operation: 47-26=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[26, 6, 1], Operations: ['47-46=1'] Exploring Operation: 26-1=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 19:[6, 25] Operation: 26-1=25 Exploring Operation: 26-6=20, Resulting Numbers: [1, 20] Generated Node #0,0,1: 19:[1, 20] Operation: 26-6=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[6, 25], Operations: ['47-46=1', '26-1=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[26, 47, 6, 46], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [26, 6, 1] Generated Node #0,0: 19:[26, 6, 1] Operation: 47-46=1 Moving to Node #0,0 Current State: 19:[26, 6, 1], Operations: ['47-46=1'] Exploring Operation: 26-1=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 19:[6, 25] Operation: 26-1=25 Moving to Node #0,0,0 Current State: 19:[6, 25], Operations: ['47-46=1', '26-1=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 15, 70, 77, 91 ]
28
[ "77-70=7", "91/7=13", "15+13=28" ]
Current State: 28:[15, 70, 77, 91], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [15, 91, 7] Generated Node #2: [15, 91, 7] from Operation: 77-70=7 Current State: 28:[15, 91, 7], Operations: ['77-70=7'] Exploring Operation: 91/7=13, Resulting Numbers: [15, 13] Generated Node #3: [15, 13] from Operation: 91/7=13 Current State: 28:[15, 13], Operations: ['77-70=7', '91/7=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[15, 70, 77, 91], Operations: [] Exploring Operation: 77-15=62, Resulting Numbers: [70, 91, 62] Generated Node #0,0: 28:[70, 91, 62] Operation: 77-15=62 Exploring Operation: 91-77=14, Resulting Numbers: [15, 70, 14] Generated Node #0,1: 28:[15, 70, 14] Operation: 91-77=14 Exploring Operation: 70-15=55, Resulting Numbers: [77, 91, 55] Generated Node #0,2: 28:[77, 91, 55] Operation: 70-15=55 Exploring Operation: 77-70=7, Resulting Numbers: [15, 91, 7] Generated Node #0,3: 28:[15, 91, 7] Operation: 77-70=7 Exploring Operation: 91-70=21, Resulting Numbers: [15, 77, 21] Generated Node #0,4: 28:[15, 77, 21] Operation: 91-70=21 Moving to Node #0,1 Current State: 28:[15, 70, 14], Operations: ['91-77=14'] Exploring Operation: 15-14=1, Resulting Numbers: [70, 1] Generated Node #0,1,0: 28:[70, 1] Operation: 15-14=1 Exploring Operation: 15+14=29, Resulting Numbers: [70, 29] Generated Node #0,1,1: 28:[70, 29] Operation: 15+14=29 Exploring Operation: 70-14=56, Resulting Numbers: [15, 56] Generated Node #0,1,2: 28:[15, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [15, 5] Generated Node #0,1,3: 28:[15, 5] Operation: 70/14=5 Exploring Operation: 70-15=55, Resulting Numbers: [14, 55] Generated Node #0,1,4: 28:[14, 55] Operation: 70-15=55 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[15, 5], Operations: ['91-77=14', '70/14=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,28 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,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,1,4 Current State: 28:[14, 55], Operations: ['91-77=14', '70-15=55'] Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,28 unequal: No Solution Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,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,1,2 Current State: 28:[15, 56], Operations: ['91-77=14', '70-14=56'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,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,1,0 Current State: 28:[70, 1], Operations: ['91-77=14', '15-14=1'] Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,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,1,1 Current State: 28:[70, 29], Operations: ['91-77=14', '15+14=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,28 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,28 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: 28:[15, 77, 21], Operations: ['91-70=21'] Exploring Operation: 21-15=6, Resulting Numbers: [77, 6] Generated Node #0,4,0: 28:[77, 6] Operation: 21-15=6 Exploring Operation: 77-15=62, Resulting Numbers: [21, 62] Generated Node #0,4,1: 28:[21, 62] Operation: 77-15=62 Exploring Operation: 77-21=56, Resulting Numbers: [15, 56] Generated Node #0,4,2: 28:[15, 56] Operation: 77-21=56 Exploring Operation: 15+77=92, Resulting Numbers: [21, 92] Generated Node #0,4,3: 28:[21, 92] Operation: 15+77=92 Exploring Operation: 15+21=36, Resulting Numbers: [77, 36] Generated Node #0,4,4: 28:[77, 36] Operation: 15+21=36 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 28:[15, 56], Operations: ['91-70=21', '77-21=56'] Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,28 unequal: No Solution Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,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,4,1 Current State: 28:[21, 62], Operations: ['91-70=21', '77-15=62'] Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,28 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,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,4,0 Current State: 28:[77, 6], Operations: ['91-70=21', '21-15=6'] Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,28 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,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,4,4 Current State: 28:[77, 36], Operations: ['91-70=21', '15+21=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,28 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,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,4,3 Current State: 28:[21, 92], Operations: ['91-70=21', '15+77=92'] Exploring Operation: 21*92=1932, Resulting Numbers: [1932] 1932,28 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 21+92=113, Resulting Numbers: [113] 113,28 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: 28:[15, 91, 7], Operations: ['77-70=7'] Exploring Operation: 91/7=13, Resulting Numbers: [15, 13] Generated Node #0,3,0: 28:[15, 13] Operation: 91/7=13 Exploring Operation: 91-15=76, Resulting Numbers: [7, 76] Generated Node #0,3,1: 28:[7, 76] Operation: 91-15=76 Exploring Operation: 15-7=8, Resulting Numbers: [91, 8] Generated Node #0,3,2: 28:[91, 8] Operation: 15-7=8 Exploring Operation: 91-7=84, Resulting Numbers: [15, 84] Generated Node #0,3,3: 28:[15, 84] Operation: 91-7=84 Exploring Operation: 15+7=22, Resulting Numbers: [91, 22] Generated Node #0,3,4: 28:[91, 22] Operation: 15+7=22 Moving to Node #0,0 Current State: 28:[70, 91, 62], Operations: ['77-15=62'] Exploring Operation: 70+91=161, Resulting Numbers: [62, 161] Generated Node #0,0,0: 28:[62, 161] Operation: 70+91=161 Exploring Operation: 91-70=21, Resulting Numbers: [62, 21] Generated Node #0,0,1: 28:[62, 21] Operation: 91-70=21 Exploring Operation: 70+62=132, Resulting Numbers: [91, 132] Generated Node #0,0,2: 28:[91, 132] Operation: 70+62=132 Exploring Operation: 91-62=29, Resulting Numbers: [70, 29] Generated Node #0,0,3: 28:[70, 29] Operation: 91-62=29 Exploring Operation: 70-62=8, Resulting Numbers: [91, 8] Generated Node #0,0,4: 28:[91, 8] Operation: 70-62=8 Moving to Node #0,2 Current State: 28:[77, 91, 55], Operations: ['70-15=55'] Exploring Operation: 77+55=132, Resulting Numbers: [91, 132] Generated Node #0,2,0: 28:[91, 132] Operation: 77+55=132 Exploring Operation: 77+91=168, Resulting Numbers: [55, 168] Generated Node #0,2,1: 28:[55, 168] Operation: 77+91=168 Exploring Operation: 91-55=36, Resulting Numbers: [77, 36] Generated Node #0,2,2: 28:[77, 36] Operation: 91-55=36 Exploring Operation: 91-77=14, Resulting Numbers: [55, 14] Generated Node #0,2,3: 28:[55, 14] Operation: 91-77=14 Exploring Operation: 77-55=22, Resulting Numbers: [91, 22] Generated Node #0,2,4: 28:[91, 22] Operation: 77-55=22 Moving to Node #0,3,0 Current State: 28:[15, 13], Operations: ['77-70=7', '91/7=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[15, 70, 77, 91], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [15, 91, 7] Generated Node #0,3: 28:[15, 91, 7] Operation: 77-70=7 Moving to Node #0,3 Current State: 28:[15, 91, 7], Operations: ['77-70=7'] Exploring Operation: 91/7=13, Resulting Numbers: [15, 13] Generated Node #0,3,0: 28:[15, 13] Operation: 91/7=13 Moving to Node #0,3,0 Current State: 28:[15, 13], Operations: ['77-70=7', '91/7=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 84, 54, 25, 4 ]
38
[ "84+54=138", "25*4=100", "138-100=38" ]
Current State: 38:[84, 54, 25, 4], Operations: [] Exploring Operation: 84+54=138, Resulting Numbers: [25, 4, 138] Generated Node #2: [25, 4, 138] from Operation: 84+54=138 Current State: 38:[25, 4, 138], Operations: ['84+54=138'] Exploring Operation: 25*4=100, Resulting Numbers: [138, 100] Generated Node #3: [138, 100] from Operation: 25*4=100 Current State: 38:[138, 100], Operations: ['84+54=138', '25*4=100'] Exploring Operation: 138-100=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[84, 54, 25, 4], Operations: [] Exploring Operation: 84-54=30, Resulting Numbers: [25, 4, 30] Generated Node #0,0: 38:[25, 4, 30] Operation: 84-54=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[25, 4, 30], Operations: ['84-54=30'] Exploring Operation: 30-25=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 38:[4, 5] Operation: 30-25=5 Moving to Node #0,0,0 Current State: 38:[4, 5], Operations: ['84-54=30', '30-25=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,38 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
[ 44, 6, 23, 24 ]
39
[ "44-6=38", "24-23=1", "38+1=39" ]
Current State: 39:[44, 6, 23, 24], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [23, 24, 38] Generated Node #2: [23, 24, 38] from Operation: 44-6=38 Current State: 39:[23, 24, 38], Operations: ['44-6=38'] Exploring Operation: 24-23=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 24-23=1 Current State: 39:[38, 1], Operations: ['44-6=38', '24-23=1'] Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[44, 6, 23, 24], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [44, 6, 1] Generated Node #0,0: 39:[44, 6, 1] Operation: 24-23=1 Exploring Operation: 44-24=20, Resulting Numbers: [6, 23, 20] Generated Node #0,1: 39:[6, 23, 20] Operation: 44-24=20 Exploring Operation: 24/6=4, Resulting Numbers: [44, 23, 4] Generated Node #0,2: 39:[44, 23, 4] Operation: 24/6=4 Exploring Operation: 23-6=17, Resulting Numbers: [44, 24, 17] Generated Node #0,3: 39:[44, 24, 17] Operation: 23-6=17 Exploring Operation: 23+24=47, Resulting Numbers: [44, 6, 47] Generated Node #0,4: 39:[44, 6, 47] Operation: 23+24=47 Moving to Node #0,0 Current State: 39:[44, 6, 1], Operations: ['24-23=1'] Exploring Operation: 44-6=38, Resulting Numbers: [1, 38] Generated Node #0,0,0: 39:[1, 38] Operation: 44-6=38 Exploring Operation: 44*1=44, Resulting Numbers: [6, 44] Generated Node #0,0,1: 39:[6, 44] Operation: 44*1=44 Exploring Operation: 6-1=5, Resulting Numbers: [44, 5] Generated Node #0,0,2: 39:[44, 5] Operation: 6-1=5 Exploring Operation: 44-1=43, Resulting Numbers: [6, 43] Generated Node #0,0,3: 39:[6, 43] Operation: 44-1=43 Exploring Operation: 44/1=44, Resulting Numbers: [6, 44] Generated Node #0,0,4: 39:[6, 44] Operation: 44/1=44 Moving to Node #0,4 Current State: 39:[44, 6, 47], Operations: ['23+24=47'] Exploring Operation: 47-6=41, Resulting Numbers: [44, 41] Generated Node #0,4,0: 39:[44, 41] Operation: 47-6=41 Exploring Operation: 44-6=38, Resulting Numbers: [47, 38] Generated Node #0,4,1: 39:[47, 38] Operation: 44-6=38 Exploring Operation: 44+6=50, Resulting Numbers: [47, 50] Generated Node #0,4,2: 39:[47, 50] Operation: 44+6=50 Exploring Operation: 6+47=53, Resulting Numbers: [44, 53] Generated Node #0,4,3: 39:[44, 53] Operation: 6+47=53 Exploring Operation: 47-44=3, Resulting Numbers: [6, 3] Generated Node #0,4,4: 39:[6, 3] Operation: 47-44=3 Moving to Node #0,2 Current State: 39:[44, 23, 4], Operations: ['24/6=4'] Exploring Operation: 44/4=11, Resulting Numbers: [23, 11] Generated Node #0,2,0: 39:[23, 11] Operation: 44/4=11 Exploring Operation: 23-4=19, Resulting Numbers: [44, 19] Generated Node #0,2,1: 39:[44, 19] Operation: 23-4=19 Exploring Operation: 23+4=27, Resulting Numbers: [44, 27] Generated Node #0,2,2: 39:[44, 27] Operation: 23+4=27 Exploring Operation: 44-4=40, Resulting Numbers: [23, 40] Generated Node #0,2,3: 39:[23, 40] Operation: 44-4=40 Exploring Operation: 44-23=21, Resulting Numbers: [4, 21] Generated Node #0,2,4: 39:[4, 21] Operation: 44-23=21 Moving to Node #0,1 Current State: 39:[6, 23, 20], Operations: ['44-24=20'] Exploring Operation: 6+23=29, Resulting Numbers: [20, 29] Generated Node #0,1,0: 39:[20, 29] Operation: 6+23=29 Exploring Operation: 23-20=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 39:[6, 3] Operation: 23-20=3 Exploring Operation: 23+20=43, Resulting Numbers: [6, 43] Generated Node #0,1,2: 39:[6, 43] Operation: 23+20=43 Exploring Operation: 20-6=14, Resulting Numbers: [23, 14] Generated Node #0,1,3: 39:[23, 14] Operation: 20-6=14 Exploring Operation: 23-6=17, Resulting Numbers: [20, 17] Generated Node #0,1,4: 39:[20, 17] Operation: 23-6=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[6, 3], Operations: ['44-24=20', '23-20=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,39 unequal: No Solution No 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: 39:[6, 43], Operations: ['44-24=20', '23+20=43'] Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,39 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,39 unequal: No Solution No 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: 39:[23, 14], Operations: ['44-24=20', '20-6=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,39 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,39 unequal: No Solution No 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: 39:[20, 17], Operations: ['44-24=20', '23-6=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,39 unequal: No Solution No 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: 39:[20, 29], Operations: ['44-24=20', '6+23=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,39 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: 39:[44, 24, 17], Operations: ['23-6=17'] Exploring Operation: 24+17=41, Resulting Numbers: [44, 41] Generated Node #0,3,0: 39:[44, 41] Operation: 24+17=41 Exploring Operation: 44+24=68, Resulting Numbers: [17, 68] Generated Node #0,3,1: 39:[17, 68] Operation: 44+24=68 Exploring Operation: 44-24=20, Resulting Numbers: [17, 20] Generated Node #0,3,2: 39:[17, 20] Operation: 44-24=20 Exploring Operation: 24-17=7, Resulting Numbers: [44, 7] Generated Node #0,3,3: 39:[44, 7] Operation: 24-17=7 Exploring Operation: 44-17=27, Resulting Numbers: [24, 27] Generated Node #0,3,4: 39:[24, 27] Operation: 44-17=27 Moving to Node #0,0,0 Current State: 39:[1, 38], Operations: ['24-23=1', '44-6=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[44, 6, 23, 24], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [44, 6, 1] Generated Node #0,0: 39:[44, 6, 1] Operation: 24-23=1 Moving to Node #0,0 Current State: 39:[44, 6, 1], Operations: ['24-23=1'] Exploring Operation: 44-6=38, Resulting Numbers: [1, 38] Generated Node #0,0,0: 39:[1, 38] Operation: 44-6=38 Moving to Node #0,0,0 Current State: 39:[1, 38], Operations: ['24-23=1', '44-6=38'] Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.954861
hs_5
mult_heuristic
[ 10, 97, 82, 5 ]
17
[ "10/5=2", "97-82=15", "2+15=17" ]
Current State: 17:[10, 97, 82, 5], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [97, 82, 2] Generated Node #2: [97, 82, 2] from Operation: 10/5=2 Current State: 17:[97, 82, 2], Operations: ['10/5=2'] Exploring Operation: 97-82=15, Resulting Numbers: [2, 15] Generated Node #3: [2, 15] from Operation: 97-82=15 Current State: 17:[2, 15], Operations: ['10/5=2', '97-82=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[10, 97, 82, 5], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [10, 5, 15] Generated Node #0,0: 17:[10, 5, 15] Operation: 97-82=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[10, 5, 15], Operations: ['97-82=15'] Exploring Operation: 10+5=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 17:[15, 15] Operation: 10+5=15 Moving to Node #0,0,0 Current State: 17:[15, 15], Operations: ['97-82=15', '10+5=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,17 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
[ 28, 70, 18, 9 ]
21
[ "70-28=42", "18/9=2", "42/2=21" ]
Current State: 21:[28, 70, 18, 9], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [18, 9, 42] Generated Node #2: [18, 9, 42] from Operation: 70-28=42 Current State: 21:[18, 9, 42], Operations: ['70-28=42'] Exploring Operation: 18/9=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 18/9=2 Current State: 21:[42, 2], Operations: ['70-28=42', '18/9=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[28, 70, 18, 9], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [18, 9, 42] Generated Node #0,0: 21:[18, 9, 42] Operation: 70-28=42 Exploring Operation: 70-18=52, Resulting Numbers: [28, 9, 52] Generated Node #0,1: 21:[28, 9, 52] Operation: 70-18=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[18, 9, 42], Operations: ['70-28=42'] Exploring Operation: 42-18=24, Resulting Numbers: [9, 24] Generated Node #0,0,0: 21:[9, 24] Operation: 42-18=24 Exploring Operation: 42-9=33, Resulting Numbers: [18, 33] Generated Node #0,0,1: 21:[18, 33] Operation: 42-9=33 Moving to Node #0,0,0 Current State: 21:[9, 24], Operations: ['70-28=42', '42-18=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[18, 33], Operations: ['70-28=42', '42-9=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,21 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[28, 9, 52], Operations: ['70-18=52'] Exploring Operation: 52-28=24, Resulting Numbers: [9, 24] Generated Node #0,1,0: 21:[9, 24] Operation: 52-28=24 Exploring Operation: 52-9=43, Resulting Numbers: [28, 43] Generated Node #0,1,1: 21:[28, 43] Operation: 52-9=43 Moving to Node #0,1,0 Current State: 21:[9, 24], Operations: ['70-18=52', '52-28=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[28, 43], Operations: ['70-18=52', '52-9=43'] Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,21 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 48, 74, 42, 87 ]
77
[ "48+74=122", "87-42=45", "122-45=77" ]
Current State: 77:[48, 74, 42, 87], Operations: [] Exploring Operation: 48+74=122, Resulting Numbers: [42, 87, 122] Generated Node #2: [42, 87, 122] from Operation: 48+74=122 Current State: 77:[42, 87, 122], Operations: ['48+74=122'] Exploring Operation: 87-42=45, Resulting Numbers: [122, 45] Generated Node #3: [122, 45] from Operation: 87-42=45 Current State: 77:[122, 45], Operations: ['48+74=122', '87-42=45'] Exploring Operation: 122-45=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[48, 74, 42, 87], Operations: [] Exploring Operation: 87-48=39, Resulting Numbers: [74, 42, 39] Generated Node #0,0: 77:[74, 42, 39] Operation: 87-48=39 Exploring Operation: 48-42=6, Resulting Numbers: [74, 87, 6] Generated Node #0,1: 77:[74, 87, 6] Operation: 48-42=6 Exploring Operation: 48+42=90, Resulting Numbers: [74, 87, 90] Generated Node #0,2: 77:[74, 87, 90] Operation: 48+42=90 Exploring Operation: 74-48=26, Resulting Numbers: [42, 87, 26] Generated Node #0,3: 77:[42, 87, 26] Operation: 74-48=26 Exploring Operation: 74-42=32, Resulting Numbers: [48, 87, 32] Generated Node #0,4: 77:[48, 87, 32] Operation: 74-42=32 Moving to Node #0,1 Current State: 77:[74, 87, 6], Operations: ['48-42=6'] Exploring Operation: 87-6=81, Resulting Numbers: [74, 81] Generated Node #0,1,0: 77:[74, 81] Operation: 87-6=81 Exploring Operation: 87-74=13, Resulting Numbers: [6, 13] Generated Node #0,1,1: 77:[6, 13] Operation: 87-74=13 Exploring Operation: 87+6=93, Resulting Numbers: [74, 93] Generated Node #0,1,2: 77:[74, 93] Operation: 87+6=93 Exploring Operation: 74+6=80, Resulting Numbers: [87, 80] Generated Node #0,1,3: 77:[87, 80] Operation: 74+6=80 Exploring Operation: 74-6=68, Resulting Numbers: [87, 68] Generated Node #0,1,4: 77:[87, 68] Operation: 74-6=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[6, 13], Operations: ['48-42=6', '87-74=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[74, 81], Operations: ['48-42=6', '87-6=81'] Exploring Operation: 74+81=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 74*81=5994, Resulting Numbers: [5994] 5994,77 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,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,3 Current State: 77:[87, 80], Operations: ['48-42=6', '74+6=80'] Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,77 unequal: No Solution Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[74, 93], Operations: ['48-42=6', '87+6=93'] Exploring Operation: 74*93=6882, Resulting Numbers: [6882] 6882,77 unequal: No Solution Exploring Operation: 74+93=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,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,4 Current State: 77:[87, 68], Operations: ['48-42=6', '74-6=68'] Exploring Operation: 87+68=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 87*68=5916, Resulting Numbers: [5916] 5916,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 77:[74, 87, 90], Operations: ['48+42=90'] Exploring Operation: 90-87=3, Resulting Numbers: [74, 3] Generated Node #0,2,0: 77:[74, 3] Operation: 90-87=3 Exploring Operation: 87-74=13, Resulting Numbers: [90, 13] Generated Node #0,2,1: 77:[90, 13] Operation: 87-74=13 Exploring Operation: 74+87=161, Resulting Numbers: [90, 161] Generated Node #0,2,2: 77:[90, 161] Operation: 74+87=161 Exploring Operation: 90-74=16, Resulting Numbers: [87, 16] Generated Node #0,2,3: 77:[87, 16] Operation: 90-74=16 Exploring Operation: 74+90=164, Resulting Numbers: [87, 164] Generated Node #0,2,4: 77:[87, 164] Operation: 74+90=164 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[74, 3], Operations: ['48+42=90', '90-87=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[48, 74, 42, 87], Operations: [] Exploring Operation: 48+42=90, Resulting Numbers: [74, 87, 90] Generated Node #0,2: 77:[74, 87, 90] Operation: 48+42=90 Moving to Node #0,2 Current State: 77:[74, 87, 90], Operations: ['48+42=90'] Exploring Operation: 90-87=3, Resulting Numbers: [74, 3] Generated Node #0,2,0: 77:[74, 3] Operation: 90-87=3 Moving to Node #0,2,0 Current State: 77:[74, 3], Operations: ['48+42=90', '90-87=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 88, 26, 51, 89 ]
76
[ "88+26=114", "89-51=38", "114-38=76" ]
Current State: 76:[88, 26, 51, 89], Operations: [] Exploring Operation: 88+26=114, Resulting Numbers: [51, 89, 114] Generated Node #2: [51, 89, 114] from Operation: 88+26=114 Current State: 76:[51, 89, 114], Operations: ['88+26=114'] Exploring Operation: 89-51=38, Resulting Numbers: [114, 38] Generated Node #3: [114, 38] from Operation: 89-51=38 Current State: 76:[114, 38], Operations: ['88+26=114', '89-51=38'] Exploring Operation: 114-38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[88, 26, 51, 89], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [88, 26, 38] Generated Node #0,0: 76:[88, 26, 38] Operation: 89-51=38 Exploring Operation: 88-51=37, Resulting Numbers: [26, 89, 37] Generated Node #0,1: 76:[26, 89, 37] Operation: 88-51=37 Moving to Node #0,0 Current State: 76:[88, 26, 38], Operations: ['89-51=38'] Exploring Operation: 88-26=62, Resulting Numbers: [38, 62] Generated Node #0,0,0: 76:[38, 62] Operation: 88-26=62 Exploring Operation: 88-38=50, Resulting Numbers: [26, 50] Generated Node #0,0,1: 76:[26, 50] Operation: 88-38=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[38, 62], Operations: ['89-51=38', '88-26=62'] Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[26, 50], Operations: ['89-51=38', '88-38=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[88, 26, 51, 89], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [88, 26, 38] Generated Node #0,0: 76:[88, 26, 38] Operation: 89-51=38 Moving to Node #0,0 Current State: 76:[88, 26, 38], Operations: ['89-51=38'] Exploring Operation: 88-38=50, Resulting Numbers: [26, 50] Generated Node #0,0,1: 76:[26, 50] Operation: 88-38=50 Moving to Node #0,0,1 Current State: 76:[26, 50], Operations: ['89-51=38', '88-38=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 79, 89, 51, 81 ]
70
[ "81-79=2", "89+51=140", "140/2=70" ]
Current State: 70:[79, 89, 51, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [89, 51, 2] Generated Node #2: [89, 51, 2] from Operation: 81-79=2 Current State: 70:[89, 51, 2], Operations: ['81-79=2'] Exploring Operation: 89+51=140, Resulting Numbers: [2, 140] Generated Node #3: [2, 140] from Operation: 89+51=140 Current State: 70:[2, 140], Operations: ['81-79=2', '89+51=140'] Exploring Operation: 140/2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[79, 89, 51, 81], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [79, 81, 38] Generated Node #0,0: 70:[79, 81, 38] Operation: 89-51=38 Moving to Node #0,0 Current State: 70:[79, 81, 38], Operations: ['89-51=38'] Exploring Operation: 81-79=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 70:[38, 2] Operation: 81-79=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[38, 2], Operations: ['89-51=38', '81-79=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,70 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
[ 94, 25, 71, 77 ]
29
[ "94+25=119", "71+77=148", "148-119=29" ]
Current State: 29:[94, 25, 71, 77], Operations: [] Exploring Operation: 94+25=119, Resulting Numbers: [71, 77, 119] Generated Node #2: [71, 77, 119] from Operation: 94+25=119 Current State: 29:[71, 77, 119], Operations: ['94+25=119'] Exploring Operation: 71+77=148, Resulting Numbers: [119, 148] Generated Node #3: [119, 148] from Operation: 71+77=148 Current State: 29:[119, 148], Operations: ['94+25=119', '71+77=148'] Exploring Operation: 148-119=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[94, 25, 71, 77], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [25, 77, 23] Generated Node #0,0: 29:[25, 77, 23] Operation: 94-71=23 Exploring Operation: 94-25=69, Resulting Numbers: [71, 77, 69] Generated Node #0,1: 29:[71, 77, 69] Operation: 94-25=69 Exploring Operation: 77-71=6, Resulting Numbers: [94, 25, 6] Generated Node #0,2: 29:[94, 25, 6] Operation: 77-71=6 Exploring Operation: 94-77=17, Resulting Numbers: [25, 71, 17] Generated Node #0,3: 29:[25, 71, 17] Operation: 94-77=17 Moving to Node #0,0 Current State: 29:[25, 77, 23], Operations: ['94-71=23'] Exploring Operation: 25-23=2, Resulting Numbers: [77, 2] Generated Node #0,0,0: 29:[77, 2] Operation: 25-23=2 Exploring Operation: 77-25=52, Resulting Numbers: [23, 52] Generated Node #0,0,1: 29:[23, 52] Operation: 77-25=52 Exploring Operation: 77-23=54, Resulting Numbers: [25, 54] Generated Node #0,0,2: 29:[25, 54] Operation: 77-23=54 Exploring Operation: 25+23=48, Resulting Numbers: [77, 48] Generated Node #0,0,3: 29:[77, 48] Operation: 25+23=48 Moving to Node #0,3 Current State: 29:[25, 71, 17], Operations: ['94-77=17'] Exploring Operation: 25+17=42, Resulting Numbers: [71, 42] Generated Node #0,3,0: 29:[71, 42] Operation: 25+17=42 Exploring Operation: 71-17=54, Resulting Numbers: [25, 54] Generated Node #0,3,1: 29:[25, 54] Operation: 71-17=54 Exploring Operation: 71-25=46, Resulting Numbers: [17, 46] Generated Node #0,3,2: 29:[17, 46] Operation: 71-25=46 Exploring Operation: 25-17=8, Resulting Numbers: [71, 8] Generated Node #0,3,3: 29:[71, 8] Operation: 25-17=8 Moving to Node #0,2 Current State: 29:[94, 25, 6], Operations: ['77-71=6'] Exploring Operation: 94-6=88, Resulting Numbers: [25, 88] Generated Node #0,2,0: 29:[25, 88] Operation: 94-6=88 Exploring Operation: 94+6=100, Resulting Numbers: [25, 100] Generated Node #0,2,1: 29:[25, 100] Operation: 94+6=100 Exploring Operation: 25+6=31, Resulting Numbers: [94, 31] Generated Node #0,2,2: 29:[94, 31] Operation: 25+6=31 Exploring Operation: 94-25=69, Resulting Numbers: [6, 69] Generated Node #0,2,3: 29:[6, 69] Operation: 94-25=69 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[25, 88], Operations: ['77-71=6', '94-6=88'] Exploring Operation: 25+88=113, Resulting Numbers: [113] 113,29 unequal: No Solution Exploring Operation: 25*88=2200, Resulting Numbers: [2200] 2200,29 unequal: No Solution Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,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,3 Current State: 29:[6, 69], Operations: ['77-71=6', '94-25=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,29 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,29 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,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,2 Current State: 29:[94, 31], Operations: ['77-71=6', '25+6=31'] Exploring Operation: 94*31=2914, Resulting Numbers: [2914] 2914,29 unequal: No Solution Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,29 unequal: No Solution Exploring Operation: 94+31=125, Resulting Numbers: [125] 125,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,1 Current State: 29:[25, 100], Operations: ['77-71=6', '94+6=100'] Exploring Operation: 100-25=75, Resulting Numbers: [75] 75,29 unequal: No Solution Exploring Operation: 25*100=2500, Resulting Numbers: [2500] 2500,29 unequal: No Solution Exploring Operation: 100/25=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 25+100=125, Resulting Numbers: [125] 125,29 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: 29:[71, 77, 69], Operations: ['94-25=69'] Exploring Operation: 77-71=6, Resulting Numbers: [69, 6] Generated Node #0,1,0: 29:[69, 6] Operation: 77-71=6 Exploring Operation: 71-69=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 29:[77, 2] Operation: 71-69=2 Exploring Operation: 71+77=148, Resulting Numbers: [69, 148] Generated Node #0,1,2: 29:[69, 148] Operation: 71+77=148 Exploring Operation: 77-69=8, Resulting Numbers: [71, 8] Generated Node #0,1,3: 29:[71, 8] Operation: 77-69=8 Moving to Node #0,0,1 Current State: 29:[23, 52], Operations: ['94-71=23', '77-25=52'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[94, 25, 71, 77], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [25, 77, 23] Generated Node #0,0: 29:[25, 77, 23] Operation: 94-71=23 Moving to Node #0,0 Current State: 29:[25, 77, 23], Operations: ['94-71=23'] Exploring Operation: 77-25=52, Resulting Numbers: [23, 52] Generated Node #0,0,1: 29:[23, 52] Operation: 77-25=52 Moving to Node #0,0,1 Current State: 29:[23, 52], Operations: ['94-71=23', '77-25=52'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 20, 90, 65, 81 ]
72
[ "81-65=16", "90*16=1440", "1440/20=72" ]
Current State: 72:[20, 90, 65, 81], Operations: [] Exploring Operation: 81-65=16, Resulting Numbers: [20, 90, 16] Generated Node #2: [20, 90, 16] from Operation: 81-65=16 Current State: 72:[20, 90, 16], Operations: ['81-65=16'] Exploring Operation: 90*16=1440, Resulting Numbers: [20, 1440] Generated Node #3: [20, 1440] from Operation: 90*16=1440 Current State: 72:[20, 1440], Operations: ['81-65=16', '90*16=1440'] Exploring Operation: 1440/20=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[20, 90, 65, 81], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [65, 81, 70] Generated Node #0,0: 72:[65, 81, 70] Operation: 90-20=70 Exploring Operation: 90-65=25, Resulting Numbers: [20, 81, 25] Generated Node #0,1: 72:[20, 81, 25] Operation: 90-65=25 Exploring Operation: 90-81=9, Resulting Numbers: [20, 65, 9] Generated Node #0,2: 72:[20, 65, 9] Operation: 90-81=9 Moving to Node #0,2 Current State: 72:[20, 65, 9], Operations: ['90-81=9'] Exploring Operation: 20-9=11, Resulting Numbers: [65, 11] Generated Node #0,2,0: 72:[65, 11] Operation: 20-9=11 Exploring Operation: 65-20=45, Resulting Numbers: [9, 45] Generated Node #0,2,1: 72:[9, 45] Operation: 65-20=45 Exploring Operation: 65+9=74, Resulting Numbers: [20, 74] Generated Node #0,2,2: 72:[20, 74] Operation: 65+9=74 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[20, 74], Operations: ['90-81=9', '65+9=74'] Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[65, 11], Operations: ['90-81=9', '20-9=11'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,72 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[9, 45], Operations: ['90-81=9', '65-20=45'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,72 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: 72:[20, 81, 25], Operations: ['90-65=25'] Exploring Operation: 81-20=61, Resulting Numbers: [25, 61] Generated Node #0,1,0: 72:[25, 61] Operation: 81-20=61 Exploring Operation: 20+25=45, Resulting Numbers: [81, 45] Generated Node #0,1,1: 72:[81, 45] Operation: 20+25=45 Exploring Operation: 25-20=5, Resulting Numbers: [81, 5] Generated Node #0,1,2: 72:[81, 5] Operation: 25-20=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[81, 5], Operations: ['90-65=25', '25-20=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,72 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,72 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[25, 61], Operations: ['90-65=25', '81-20=61'] Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,72 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[81, 45], Operations: ['90-65=25', '20+25=45'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,72 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,72 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: 72:[65, 81, 70], Operations: ['90-20=70'] Exploring Operation: 70-65=5, Resulting Numbers: [81, 5] Generated Node #0,0,0: 72:[81, 5] Operation: 70-65=5 Exploring Operation: 81-70=11, Resulting Numbers: [65, 11] Generated Node #0,0,1: 72:[65, 11] Operation: 81-70=11 Exploring Operation: 81-65=16, Resulting Numbers: [70, 16] Generated Node #0,0,2: 72:[70, 16] Operation: 81-65=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[70, 16], Operations: ['90-20=70', '81-65=16'] Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,72 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[65, 11], Operations: ['90-20=70', '81-70=11'] Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,72 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,72 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[81, 5], Operations: ['90-20=70', '70-65=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,72 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,72 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
[ 19, 45, 25, 21 ]
10
[ "21-19=2", "45-25=20", "20/2=10" ]
Current State: 10:[19, 45, 25, 21], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [45, 25, 2] Generated Node #2: [45, 25, 2] from Operation: 21-19=2 Current State: 10:[45, 25, 2], Operations: ['21-19=2'] Exploring Operation: 45-25=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 45-25=20 Current State: 10:[2, 20], Operations: ['21-19=2', '45-25=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[19, 45, 25, 21], Operations: [] Exploring Operation: 45-21=24, Resulting Numbers: [19, 25, 24] Generated Node #0,0: 10:[19, 25, 24] Operation: 45-21=24 Exploring Operation: 45-19=26, Resulting Numbers: [25, 21, 26] Generated Node #0,1: 10:[25, 21, 26] Operation: 45-19=26 Exploring Operation: 25-21=4, Resulting Numbers: [19, 45, 4] Generated Node #0,2: 10:[19, 45, 4] Operation: 25-21=4 Exploring Operation: 45-25=20, Resulting Numbers: [19, 21, 20] Generated Node #0,3: 10:[19, 21, 20] Operation: 45-25=20 Moving to Node #0,3 Current State: 10:[19, 21, 20], Operations: ['45-25=20'] Exploring Operation: 19+21=40, Resulting Numbers: [20, 40] Generated Node #0,3,0: 10:[20, 40] Operation: 19+21=40 Exploring Operation: 21-19=2, Resulting Numbers: [20, 2] Generated Node #0,3,1: 10:[20, 2] Operation: 21-19=2 Exploring Operation: 21-20=1, Resulting Numbers: [19, 1] Generated Node #0,3,2: 10:[19, 1] Operation: 21-20=1 Exploring Operation: 20-19=1, Resulting Numbers: [21, 1] Generated Node #0,3,3: 10:[21, 1] Operation: 20-19=1 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[20, 2], Operations: ['45-25=20', '21-19=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[19, 45, 25, 21], Operations: [] Exploring Operation: 45-25=20, Resulting Numbers: [19, 21, 20] Generated Node #0,3: 10:[19, 21, 20] Operation: 45-25=20 Moving to Node #0,3 Current State: 10:[19, 21, 20], Operations: ['45-25=20'] Exploring Operation: 21-19=2, Resulting Numbers: [20, 2] Generated Node #0,3,1: 10:[20, 2] Operation: 21-19=2 Moving to Node #0,3,1 Current State: 10:[20, 2], Operations: ['45-25=20', '21-19=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 40, 2, 25, 54 ]
72
[ "40+54=94", "94/2=47", "25+47=72" ]
Current State: 72:[40, 2, 25, 54], Operations: [] Exploring Operation: 40+54=94, Resulting Numbers: [2, 25, 94] Generated Node #2: [2, 25, 94] from Operation: 40+54=94 Current State: 72:[2, 25, 94], Operations: ['40+54=94'] Exploring Operation: 94/2=47, Resulting Numbers: [25, 47] Generated Node #3: [25, 47] from Operation: 94/2=47 Current State: 72:[25, 47], Operations: ['40+54=94', '94/2=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[40, 2, 25, 54], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [40, 25, 27] Generated Node #0,0: 72:[40, 25, 27] Operation: 54/2=27 Exploring Operation: 54-40=14, Resulting Numbers: [2, 25, 14] Generated Node #0,1: 72:[2, 25, 14] Operation: 54-40=14 Exploring Operation: 25+54=79, Resulting Numbers: [40, 2, 79] Generated Node #0,2: 72:[40, 2, 79] Operation: 25+54=79 Exploring Operation: 54-25=29, Resulting Numbers: [40, 2, 29] Generated Node #0,3: 72:[40, 2, 29] Operation: 54-25=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[2, 25, 14], Operations: ['54-40=14'] Exploring Operation: 14/2=7, Resulting Numbers: [25, 7] Generated Node #0,1,0: 72:[25, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [25, 12] Generated Node #0,1,1: 72:[25, 12] Operation: 14-2=12 Exploring Operation: 25-14=11, Resulting Numbers: [2, 11] Generated Node #0,1,2: 72:[2, 11] Operation: 25-14=11 Exploring Operation: 25-2=23, Resulting Numbers: [14, 23] Generated Node #0,1,3: 72:[14, 23] Operation: 25-2=23 Moving to Node #0,1,1 Current State: 72:[25, 12], Operations: ['54-40=14', '14-2=12'] Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,72 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[2, 11], Operations: ['54-40=14', '25-14=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[25, 7], Operations: ['54-40=14', '14/2=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,72 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[14, 23], Operations: ['54-40=14', '25-2=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[40, 25, 27], Operations: ['54/2=27'] Exploring Operation: 40+27=67, Resulting Numbers: [25, 67] Generated Node #0,0,0: 72:[25, 67] Operation: 40+27=67 Exploring Operation: 40-27=13, Resulting Numbers: [25, 13] Generated Node #0,0,1: 72:[25, 13] Operation: 40-27=13 Exploring Operation: 40-25=15, Resulting Numbers: [27, 15] Generated Node #0,0,2: 72:[27, 15] Operation: 40-25=15 Exploring Operation: 27-25=2, Resulting Numbers: [40, 2] Generated Node #0,0,3: 72:[40, 2] Operation: 27-25=2 Moving to Node #0,0,1 Current State: 72:[25, 13], Operations: ['54/2=27', '40-27=13'] Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[40, 2], Operations: ['54/2=27', '27-25=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[27, 15], Operations: ['54/2=27', '40-25=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,72 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[25, 67], Operations: ['54/2=27', '40+27=67'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,72 unequal: No Solution Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[40, 2, 29], Operations: ['54-25=29'] Exploring Operation: 40+29=69, Resulting Numbers: [2, 69] Generated Node #0,3,0: 72:[2, 69] Operation: 40+29=69 Exploring Operation: 40-2=38, Resulting Numbers: [29, 38] Generated Node #0,3,1: 72:[29, 38] Operation: 40-2=38 Exploring Operation: 40/2=20, Resulting Numbers: [29, 20] Generated Node #0,3,2: 72:[29, 20] Operation: 40/2=20 Exploring Operation: 40-29=11, Resulting Numbers: [2, 11] Generated Node #0,3,3: 72:[2, 11] Operation: 40-29=11 Moving to Node #0,3,3 Current State: 72:[2, 11], Operations: ['54-25=29', '40-29=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[2, 69], Operations: ['54-25=29', '40+29=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,72 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[29, 20], Operations: ['54-25=29', '40/2=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,72 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[29, 38], Operations: ['54-25=29', '40-2=38'] Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,72 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[40, 2, 79], Operations: ['25+54=79'] Exploring Operation: 40/2=20, Resulting Numbers: [79, 20] Generated Node #0,2,0: 72:[79, 20] Operation: 40/2=20 Exploring Operation: 79-40=39, Resulting Numbers: [2, 39] Generated Node #0,2,1: 72:[2, 39] Operation: 79-40=39 Exploring Operation: 40-2=38, Resulting Numbers: [79, 38] Generated Node #0,2,2: 72:[79, 38] Operation: 40-2=38 Exploring Operation: 79-2=77, Resulting Numbers: [40, 77] Generated Node #0,2,3: 72:[40, 77] Operation: 79-2=77 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[2, 39], Operations: ['25+54=79', '79-40=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[79, 20], Operations: ['25+54=79', '40/2=20'] Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,72 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[79, 38], Operations: ['25+54=79', '40-2=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,72 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 72:[40, 77], Operations: ['25+54=79', '79-2=77'] Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,72 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 2, 14, 63, 94 ]
18
[ "2*63=126", "14+94=108", "126-108=18" ]
Current State: 18:[2, 14, 63, 94], Operations: [] Exploring Operation: 2*63=126, Resulting Numbers: [14, 94, 126] Generated Node #2: [14, 94, 126] from Operation: 2*63=126 Current State: 18:[14, 94, 126], Operations: ['2*63=126'] Exploring Operation: 14+94=108, Resulting Numbers: [126, 108] Generated Node #3: [126, 108] from Operation: 14+94=108 Current State: 18:[126, 108], Operations: ['2*63=126', '14+94=108'] Exploring Operation: 126-108=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[2, 14, 63, 94], Operations: [] Exploring Operation: 63-14=49, Resulting Numbers: [2, 94, 49] Generated Node #0,0: 18:[2, 94, 49] Operation: 63-14=49 Exploring Operation: 94-14=80, Resulting Numbers: [2, 63, 80] Generated Node #0,1: 18:[2, 63, 80] Operation: 94-14=80 Exploring Operation: 94-63=31, Resulting Numbers: [2, 14, 31] Generated Node #0,2: 18:[2, 14, 31] Operation: 94-63=31 Exploring Operation: 94/2=47, Resulting Numbers: [14, 63, 47] Generated Node #0,3: 18:[14, 63, 47] Operation: 94/2=47 Moving to Node #0,2 Current State: 18:[2, 14, 31], Operations: ['94-63=31'] Exploring Operation: 14/2=7, Resulting Numbers: [31, 7] Generated Node #0,2,0: 18:[31, 7] Operation: 14/2=7 Exploring Operation: 31-14=17, Resulting Numbers: [2, 17] Generated Node #0,2,1: 18:[2, 17] Operation: 31-14=17 Exploring Operation: 2+14=16, Resulting Numbers: [31, 16] Generated Node #0,2,2: 18:[31, 16] Operation: 2+14=16 Exploring Operation: 31-2=29, Resulting Numbers: [14, 29] Generated Node #0,2,3: 18:[14, 29] Operation: 31-2=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[2, 17], Operations: ['94-63=31', '31-14=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[31, 7], Operations: ['94-63=31', '14/2=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,18 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[31, 16], Operations: ['94-63=31', '2+14=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[14, 29], Operations: ['94-63=31', '31-2=29'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,18 unequal: No Solution Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 18:[14, 63, 47], Operations: ['94/2=47'] Exploring Operation: 63-47=16, Resulting Numbers: [14, 16] Generated Node #0,3,0: 18:[14, 16] Operation: 63-47=16 Exploring Operation: 14+63=77, Resulting Numbers: [47, 77] Generated Node #0,3,1: 18:[47, 77] Operation: 14+63=77 Exploring Operation: 63-14=49, Resulting Numbers: [47, 49] Generated Node #0,3,2: 18:[47, 49] Operation: 63-14=49 Exploring Operation: 47-14=33, Resulting Numbers: [63, 33] Generated Node #0,3,3: 18:[63, 33] Operation: 47-14=33 Moving to Node #0,1 Current State: 18:[2, 63, 80], Operations: ['94-14=80'] Exploring Operation: 80-2=78, Resulting Numbers: [63, 78] Generated Node #0,1,0: 18:[63, 78] Operation: 80-2=78 Exploring Operation: 63-2=61, Resulting Numbers: [80, 61] Generated Node #0,1,1: 18:[80, 61] Operation: 63-2=61 Exploring Operation: 80/2=40, Resulting Numbers: [63, 40] Generated Node #0,1,2: 18:[63, 40] Operation: 80/2=40 Exploring Operation: 80-63=17, Resulting Numbers: [2, 17] Generated Node #0,1,3: 18:[2, 17] Operation: 80-63=17 Moving to Node #0,0 Current State: 18:[2, 94, 49], Operations: ['63-14=49'] Exploring Operation: 94-49=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 18:[2, 45] Operation: 94-49=45 Exploring Operation: 49-2=47, Resulting Numbers: [94, 47] Generated Node #0,0,1: 18:[94, 47] Operation: 49-2=47 Exploring Operation: 94/2=47, Resulting Numbers: [49, 47] Generated Node #0,0,2: 18:[49, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [49, 92] Generated Node #0,0,3: 18:[49, 92] Operation: 94-2=92 Moving to Node #0,1,3 Current State: 18:[2, 17], Operations: ['94-14=80', '80-63=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[14, 16], Operations: ['94/2=47', '63-47=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,18 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[2, 45], Operations: ['63-14=49', '94-49=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[63, 33], Operations: ['94/2=47', '47-14=33'] Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,18 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[47, 49], Operations: ['94/2=47', '63-14=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,18 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[49, 47], Operations: ['63-14=49', '94/2=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[63, 40], Operations: ['94-14=80', '80/2=40'] Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,18 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[47, 77], Operations: ['94/2=47', '14+63=77'] Exploring Operation: 47*77=3619, Resulting Numbers: [3619] 3619,18 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 47+77=124, Resulting Numbers: [124] 124,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[94, 47], Operations: ['63-14=49', '49-2=47'] Exploring Operation: 94*47=4418, Resulting Numbers: [4418] 4418,18 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 94+47=141, Resulting Numbers: [141] 141,18 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[63, 78], Operations: ['94-14=80', '80-2=78'] Exploring Operation: 63*78=4914, Resulting Numbers: [4914] 4914,18 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 63+78=141, Resulting Numbers: [141] 141,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[49, 92], Operations: ['63-14=49', '94-2=92'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,18 unequal: No Solution Exploring Operation: 49*92=4508, Resulting Numbers: [4508] 4508,18 unequal: No Solution Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[80, 61], Operations: ['94-14=80', '63-2=61'] Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,18 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,18 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 58, 46, 96, 92 ]
20
[ "58*92=5336", "5336/46=116", "116-96=20" ]
Current State: 20:[58, 46, 96, 92], Operations: [] Exploring Operation: 58*92=5336, Resulting Numbers: [46, 96, 5336] Generated Node #2: [46, 96, 5336] from Operation: 58*92=5336 Current State: 20:[46, 96, 5336], Operations: ['58*92=5336'] Exploring Operation: 5336/46=116, Resulting Numbers: [96, 116] Generated Node #3: [96, 116] from Operation: 5336/46=116 Current State: 20:[96, 116], Operations: ['58*92=5336', '5336/46=116'] Exploring Operation: 116-96=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[58, 46, 96, 92], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [58, 96, 2] Generated Node #0,0: 20:[58, 96, 2] Operation: 92/46=2 Exploring Operation: 96-92=4, Resulting Numbers: [58, 46, 4] Generated Node #0,1: 20:[58, 46, 4] Operation: 96-92=4 Exploring Operation: 92-58=34, Resulting Numbers: [46, 96, 34] Generated Node #0,2: 20:[46, 96, 34] Operation: 92-58=34 Exploring Operation: 96-58=38, Resulting Numbers: [46, 92, 38] Generated Node #0,3: 20:[46, 92, 38] Operation: 96-58=38 Exploring Operation: 96-46=50, Resulting Numbers: [58, 92, 50] Generated Node #0,4: 20:[58, 92, 50] Operation: 96-46=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[58, 46, 4], Operations: ['96-92=4'] Exploring Operation: 58+4=62, Resulting Numbers: [46, 62] Generated Node #0,1,0: 20:[46, 62] Operation: 58+4=62 Exploring Operation: 58-4=54, Resulting Numbers: [46, 54] Generated Node #0,1,1: 20:[46, 54] Operation: 58-4=54 Exploring Operation: 58-46=12, Resulting Numbers: [4, 12] Generated Node #0,1,2: 20:[4, 12] Operation: 58-46=12 Exploring Operation: 46-4=42, Resulting Numbers: [58, 42] Generated Node #0,1,3: 20:[58, 42] Operation: 46-4=42 Exploring Operation: 46+4=50, Resulting Numbers: [58, 50] Generated Node #0,1,4: 20:[58, 50] Operation: 46+4=50 Moving to Node #0,1,2 Current State: 20:[4, 12], Operations: ['96-92=4', '58-46=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[58, 42], Operations: ['96-92=4', '46-4=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,20 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[46, 54], Operations: ['96-92=4', '58-4=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,20 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[46, 62], Operations: ['96-92=4', '58+4=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[58, 50], Operations: ['96-92=4', '46+4=50'] Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 58*50=2900, Resulting Numbers: [2900] 2900,20 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[58, 96, 2], Operations: ['92/46=2'] Exploring Operation: 96/2=48, Resulting Numbers: [58, 48] Generated Node #0,0,0: 20:[58, 48] Operation: 96/2=48 Exploring Operation: 96-58=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 20:[2, 38] Operation: 96-58=38 Exploring Operation: 96-2=94, Resulting Numbers: [58, 94] Generated Node #0,0,2: 20:[58, 94] Operation: 96-2=94 Exploring Operation: 58-2=56, Resulting Numbers: [96, 56] Generated Node #0,0,3: 20:[96, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [96, 29] Generated Node #0,0,4: 20:[96, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[2, 38], Operations: ['92/46=2', '96-58=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[58, 48], Operations: ['92/46=2', '96/2=48'] Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,20 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 20:[96, 29], Operations: ['92/46=2', '58/2=29'] Exploring Operation: 96*29=2784, Resulting Numbers: [2784] 2784,20 unequal: No Solution Exploring Operation: 96+29=125, Resulting Numbers: [125] 125,20 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[58, 94], Operations: ['92/46=2', '96-2=94'] Exploring Operation: 58+94=152, Resulting Numbers: [152] 152,20 unequal: No Solution Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 58*94=5452, Resulting Numbers: [5452] 5452,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 20:[96, 56], Operations: ['92/46=2', '58-2=56'] Exploring Operation: 96*56=5376, Resulting Numbers: [5376] 5376,20 unequal: No Solution Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 96+56=152, Resulting Numbers: [152] 152,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[46, 96, 34], Operations: ['92-58=34'] Exploring Operation: 46+34=80, Resulting Numbers: [96, 80] Generated Node #0,2,0: 20:[96, 80] Operation: 46+34=80 Exploring Operation: 46-34=12, Resulting Numbers: [96, 12] Generated Node #0,2,1: 20:[96, 12] Operation: 46-34=12 Exploring Operation: 96-34=62, Resulting Numbers: [46, 62] Generated Node #0,2,2: 20:[46, 62] Operation: 96-34=62 Exploring Operation: 46+96=142, Resulting Numbers: [34, 142] Generated Node #0,2,3: 20:[34, 142] Operation: 46+96=142 Exploring Operation: 96-46=50, Resulting Numbers: [34, 50] Generated Node #0,2,4: 20:[34, 50] Operation: 96-46=50 Moving to Node #0,2,4 Current State: 20:[34, 50], Operations: ['92-58=34', '96-46=50'] Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,20 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[46, 62], Operations: ['92-58=34', '96-34=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[96, 12], Operations: ['92-58=34', '46-34=12'] Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[96, 80], Operations: ['92-58=34', '46+34=80'] Exploring Operation: 96+80=176, Resulting Numbers: [176] 176,20 unequal: No Solution Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 96*80=7680, Resulting Numbers: [7680] 7680,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[34, 142], Operations: ['92-58=34', '46+96=142'] Exploring Operation: 34+142=176, Resulting Numbers: [176] 176,20 unequal: No Solution Exploring Operation: 34*142=4828, Resulting Numbers: [4828] 4828,20 unequal: No Solution Exploring Operation: 142-34=108, Resulting Numbers: [108] 108,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[46, 92, 38], Operations: ['96-58=38'] Exploring Operation: 92-46=46, Resulting Numbers: [38, 46] Generated Node #0,3,0: 20:[38, 46] Operation: 92-46=46 Exploring Operation: 92-38=54, Resulting Numbers: [46, 54] Generated Node #0,3,1: 20:[46, 54] Operation: 92-38=54 Exploring Operation: 46-38=8, Resulting Numbers: [92, 8] Generated Node #0,3,2: 20:[92, 8] Operation: 46-38=8 Exploring Operation: 92/46=2, Resulting Numbers: [38, 2] Generated Node #0,3,3: 20:[38, 2] Operation: 92/46=2 Exploring Operation: 46+92=138, Resulting Numbers: [38, 138] Generated Node #0,3,4: 20:[38, 138] Operation: 46+92=138 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[38, 2], Operations: ['96-58=38', '92/46=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[38, 46], Operations: ['96-58=38', '92-46=46'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,20 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[46, 54], Operations: ['96-58=38', '92-38=54'] Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,20 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[92, 8], Operations: ['96-58=38', '46-38=8'] Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,20 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[38, 138], Operations: ['96-58=38', '46+92=138'] Exploring Operation: 38*138=5244, Resulting Numbers: [5244] 5244,20 unequal: No Solution Exploring Operation: 138-38=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 38+138=176, Resulting Numbers: [176] 176,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[58, 92, 50], Operations: ['96-46=50'] Exploring Operation: 92-50=42, Resulting Numbers: [58, 42] Generated Node #0,4,0: 20:[58, 42] Operation: 92-50=42 Exploring Operation: 58+92=150, Resulting Numbers: [50, 150] Generated Node #0,4,1: 20:[50, 150] Operation: 58+92=150 Exploring Operation: 92-58=34, Resulting Numbers: [50, 34] Generated Node #0,4,2: 20:[50, 34] Operation: 92-58=34 Exploring Operation: 58-50=8, Resulting Numbers: [92, 8] Generated Node #0,4,3: 20:[92, 8] Operation: 58-50=8 Exploring Operation: 58+50=108, Resulting Numbers: [92, 108] Generated Node #0,4,4: 20:[92, 108] Operation: 58+50=108 Moving to Node #0,4,2 Current State: 20:[50, 34], Operations: ['96-46=50', '92-58=34'] Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,20 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[58, 42], Operations: ['96-46=50', '92-50=42'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[92, 8], Operations: ['96-46=50', '58-50=8'] Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,20 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[50, 150], Operations: ['96-46=50', '58+92=150'] Exploring Operation: 50*150=7500, Resulting Numbers: [7500] 7500,20 unequal: No Solution Exploring Operation: 50+150=200, Resulting Numbers: [200] 200,20 unequal: No Solution Exploring Operation: 150-50=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 150/50=3, Resulting Numbers: [3] 3,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[92, 108], Operations: ['96-46=50', '58+50=108'] Exploring Operation: 92+108=200, Resulting Numbers: [200] 200,20 unequal: No Solution Exploring Operation: 108-92=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 92*108=9936, Resulting Numbers: [9936] 9936,20 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