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
[ 49, 82, 80, 79 ]
33
[ "82-49=33", "80-79=1", "33*1=33" ]
Current State: 33:[49, 82, 80, 79], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [80, 79, 33] Generated Node #2: [80, 79, 33] from Operation: 82-49=33 Current State: 33:[80, 79, 33], Operations: ['82-49=33'] Exploring Operation: 80-79=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 80-79=1 Current State: 33:[33, 1], Operations: ['82-49=33', '80-79=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[49, 82, 80, 79], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [49, 82, 1] Generated Node #0,0: 33:[49, 82, 1] Operation: 80-79=1 Exploring Operation: 82-80=2, Resulting Numbers: [49, 79, 2] Generated Node #0,1: 33:[49, 79, 2] Operation: 82-80=2 Exploring Operation: 82-79=3, Resulting Numbers: [49, 80, 3] Generated Node #0,2: 33:[49, 80, 3] Operation: 82-79=3 Moving to Node #0,1 Current State: 33:[49, 79, 2], Operations: ['82-80=2'] Exploring Operation: 49-2=47, Resulting Numbers: [79, 47] Generated Node #0,1,0: 33:[79, 47] Operation: 49-2=47 Exploring Operation: 79-2=77, Resulting Numbers: [49, 77] Generated Node #0,1,1: 33:[49, 77] Operation: 79-2=77 Exploring Operation: 79-49=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 33:[2, 30] Operation: 79-49=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[2, 30], Operations: ['82-80=2', '79-49=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,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,1,0 Current State: 33:[79, 47], Operations: ['82-80=2', '49-2=47'] Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 79*47=3713, Resulting Numbers: [3713] 3713,33 unequal: No Solution Exploring Operation: 79+47=126, Resulting Numbers: [126] 126,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,1,1 Current State: 33:[49, 77], Operations: ['82-80=2', '79-2=77'] Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,33 unequal: No Solution Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,33 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,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:[49, 80, 3], Operations: ['82-79=3'] Exploring Operation: 80-49=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 33:[3, 31] Operation: 80-49=31 Exploring Operation: 80-3=77, Resulting Numbers: [49, 77] Generated Node #0,2,1: 33:[49, 77] Operation: 80-3=77 Exploring Operation: 49-3=46, Resulting Numbers: [80, 46] Generated Node #0,2,2: 33:[80, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[3, 31], Operations: ['82-79=3', '80-49=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[49, 77], Operations: ['82-79=3', '80-3=77'] Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,33 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[80, 46], Operations: ['82-79=3', '49-3=46'] Exploring Operation: 80*46=3680, Resulting Numbers: [3680] 3680,33 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 80+46=126, Resulting Numbers: [126] 126,33 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: 33:[49, 82, 1], Operations: ['80-79=1'] Exploring Operation: 49-1=48, Resulting Numbers: [82, 48] Generated Node #0,0,0: 33:[82, 48] Operation: 49-1=48 Exploring Operation: 82-49=33, Resulting Numbers: [1, 33] Generated Node #0,0,1: 33:[1, 33] Operation: 82-49=33 Exploring Operation: 82-1=81, Resulting Numbers: [49, 81] Generated Node #0,0,2: 33:[49, 81] Operation: 82-1=81 Moving to Node #0,0,1 Current State: 33:[1, 33], Operations: ['80-79=1', '82-49=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[49, 82, 80, 79], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [49, 82, 1] Generated Node #0,0: 33:[49, 82, 1] Operation: 80-79=1 Moving to Node #0,0 Current State: 33:[49, 82, 1], Operations: ['80-79=1'] Exploring Operation: 82-49=33, Resulting Numbers: [1, 33] Generated Node #0,0,1: 33:[1, 33] Operation: 82-49=33 Moving to Node #0,0,1 Current State: 33:[1, 33], Operations: ['80-79=1', '82-49=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 71, 52, 76, 81 ]
77
[ "71-52=19", "76/19=4", "81-4=77" ]
Current State: 77:[71, 52, 76, 81], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [76, 81, 19] Generated Node #2: [76, 81, 19] from Operation: 71-52=19 Current State: 77:[76, 81, 19], Operations: ['71-52=19'] Exploring Operation: 76/19=4, Resulting Numbers: [81, 4] Generated Node #3: [81, 4] from Operation: 76/19=4 Current State: 77:[81, 4], Operations: ['71-52=19', '76/19=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[71, 52, 76, 81], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [71, 81, 24] Generated Node #0,0: 77:[71, 81, 24] Operation: 76-52=24 Exploring Operation: 76-71=5, Resulting Numbers: [52, 81, 5] Generated Node #0,1: 77:[52, 81, 5] Operation: 76-71=5 Exploring Operation: 71-52=19, Resulting Numbers: [76, 81, 19] Generated Node #0,2: 77:[76, 81, 19] Operation: 71-52=19 Exploring Operation: 81-71=10, Resulting Numbers: [52, 76, 10] Generated Node #0,3: 77:[52, 76, 10] Operation: 81-71=10 Exploring Operation: 81-52=29, Resulting Numbers: [71, 76, 29] Generated Node #0,4: 77:[71, 76, 29] Operation: 81-52=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[76, 81, 19], Operations: ['71-52=19'] Exploring Operation: 76+19=95, Resulting Numbers: [81, 95] Generated Node #0,2,0: 77:[81, 95] Operation: 76+19=95 Exploring Operation: 76/19=4, Resulting Numbers: [81, 4] Generated Node #0,2,1: 77:[81, 4] Operation: 76/19=4 Exploring Operation: 81-76=5, Resulting Numbers: [19, 5] Generated Node #0,2,2: 77:[19, 5] Operation: 81-76=5 Exploring Operation: 76-19=57, Resulting Numbers: [81, 57] Generated Node #0,2,3: 77:[81, 57] Operation: 76-19=57 Exploring Operation: 81-19=62, Resulting Numbers: [76, 62] Generated Node #0,2,4: 77:[76, 62] Operation: 81-19=62 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[81, 4], Operations: ['71-52=19', '76/19=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[71, 52, 76, 81], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [76, 81, 19] Generated Node #0,2: 77:[76, 81, 19] Operation: 71-52=19 Moving to Node #0,2 Current State: 77:[76, 81, 19], Operations: ['71-52=19'] Exploring Operation: 76/19=4, Resulting Numbers: [81, 4] Generated Node #0,2,1: 77:[81, 4] Operation: 76/19=4 Moving to Node #0,2,1 Current State: 77:[81, 4], Operations: ['71-52=19', '76/19=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 78, 3, 4, 30 ]
36
[ "78-30=48", "3*4=12", "48-12=36" ]
Current State: 36:[78, 3, 4, 30], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [3, 4, 48] Generated Node #2: [3, 4, 48] from Operation: 78-30=48 Current State: 36:[3, 4, 48], Operations: ['78-30=48'] Exploring Operation: 3*4=12, Resulting Numbers: [48, 12] Generated Node #3: [48, 12] from Operation: 3*4=12 Current State: 36:[48, 12], Operations: ['78-30=48', '3*4=12'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[78, 3, 4, 30], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [4, 30, 26] Generated Node #0,0: 36:[4, 30, 26] Operation: 78/3=26 Exploring Operation: 30/3=10, Resulting Numbers: [78, 4, 10] Generated Node #0,1: 36:[78, 4, 10] Operation: 30/3=10 Exploring Operation: 78-30=48, Resulting Numbers: [3, 4, 48] Generated Node #0,2: 36:[3, 4, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[3, 4, 48], Operations: ['78-30=48'] Exploring Operation: 48-4=44, Resulting Numbers: [3, 44] Generated Node #0,2,0: 36:[3, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [3, 12] Generated Node #0,2,1: 36:[3, 12] Operation: 48/4=12 Exploring Operation: 48/3=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 36:[4, 16] Operation: 48/3=16 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[3, 12], Operations: ['78-30=48', '48/4=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[78, 3, 4, 30], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [3, 4, 48] Generated Node #0,2: 36:[3, 4, 48] Operation: 78-30=48 Moving to Node #0,2 Current State: 36:[3, 4, 48], Operations: ['78-30=48'] Exploring Operation: 48/4=12, Resulting Numbers: [3, 12] Generated Node #0,2,1: 36:[3, 12] Operation: 48/4=12 Moving to Node #0,2,1 Current State: 36:[3, 12], Operations: ['78-30=48', '48/4=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 30, 89, 67, 98 ]
89
[ "30+67=97", "98-97=1", "89*1=89" ]
Current State: 89:[30, 89, 67, 98], Operations: [] Exploring Operation: 30+67=97, Resulting Numbers: [89, 98, 97] Generated Node #2: [89, 98, 97] from Operation: 30+67=97 Current State: 89:[89, 98, 97], Operations: ['30+67=97'] Exploring Operation: 98-97=1, Resulting Numbers: [89, 1] Generated Node #3: [89, 1] from Operation: 98-97=1 Current State: 89:[89, 1], Operations: ['30+67=97', '98-97=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[30, 89, 67, 98], Operations: [] Exploring Operation: 67-30=37, Resulting Numbers: [89, 98, 37] Generated Node #0,0: 89:[89, 98, 37] Operation: 67-30=37 Exploring Operation: 98-30=68, Resulting Numbers: [89, 67, 68] Generated Node #0,1: 89:[89, 67, 68] Operation: 98-30=68 Exploring Operation: 30+89=119, Resulting Numbers: [67, 98, 119] Generated Node #0,2: 89:[67, 98, 119] Operation: 30+89=119 Exploring Operation: 89-30=59, Resulting Numbers: [67, 98, 59] Generated Node #0,3: 89:[67, 98, 59] Operation: 89-30=59 Exploring Operation: 30+67=97, Resulting Numbers: [89, 98, 97] Generated Node #0,4: 89:[89, 98, 97] Operation: 30+67=97 Moving to Node #0,4 Current State: 89:[89, 98, 97], Operations: ['30+67=97'] Exploring Operation: 89+97=186, Resulting Numbers: [98, 186] Generated Node #0,4,0: 89:[98, 186] Operation: 89+97=186 Exploring Operation: 98-97=1, Resulting Numbers: [89, 1] Generated Node #0,4,1: 89:[89, 1] Operation: 98-97=1 Exploring Operation: 89+98=187, Resulting Numbers: [97, 187] Generated Node #0,4,2: 89:[97, 187] Operation: 89+98=187 Exploring Operation: 97-89=8, Resulting Numbers: [98, 8] Generated Node #0,4,3: 89:[98, 8] Operation: 97-89=8 Exploring Operation: 98-89=9, Resulting Numbers: [97, 9] Generated Node #0,4,4: 89:[97, 9] Operation: 98-89=9 Moving to Node #0,1 Current State: 89:[89, 67, 68], Operations: ['98-30=68'] Exploring Operation: 89-67=22, Resulting Numbers: [68, 22] Generated Node #0,1,0: 89:[68, 22] Operation: 89-67=22 Exploring Operation: 68-67=1, Resulting Numbers: [89, 1] Generated Node #0,1,1: 89:[89, 1] Operation: 68-67=1 Exploring Operation: 89+68=157, Resulting Numbers: [67, 157] Generated Node #0,1,2: 89:[67, 157] Operation: 89+68=157 Exploring Operation: 67+68=135, Resulting Numbers: [89, 135] Generated Node #0,1,3: 89:[89, 135] Operation: 67+68=135 Exploring Operation: 89+67=156, Resulting Numbers: [68, 156] Generated Node #0,1,4: 89:[68, 156] Operation: 89+67=156 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[89, 135], Operations: ['98-30=68', '67+68=135'] Exploring Operation: 89*135=12015, Resulting Numbers: [12015] 12015,89 unequal: No Solution Exploring Operation: 135-89=46, Resulting Numbers: [46] 46,89 unequal: No Solution Exploring Operation: 89+135=224, Resulting Numbers: [224] 224,89 unequal: No Solution No 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: 89:[68, 22], Operations: ['98-30=68', '89-67=22'] Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,89 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,89 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,89 unequal: No Solution No 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: 89:[89, 1], Operations: ['98-30=68', '68-67=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[30, 89, 67, 98], Operations: [] Exploring Operation: 98-30=68, Resulting Numbers: [89, 67, 68] Generated Node #0,1: 89:[89, 67, 68] Operation: 98-30=68 Moving to Node #0,1 Current State: 89:[89, 67, 68], Operations: ['98-30=68'] Exploring Operation: 68-67=1, Resulting Numbers: [89, 1] Generated Node #0,1,1: 89:[89, 1] Operation: 68-67=1 Moving to Node #0,1,1 Current State: 89:[89, 1], Operations: ['98-30=68', '68-67=1'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 24, 63, 21, 37 ]
42
[ "63-24=39", "39-37=2", "21*2=42" ]
Current State: 42:[24, 63, 21, 37], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [21, 37, 39] Generated Node #2: [21, 37, 39] from Operation: 63-24=39 Current State: 42:[21, 37, 39], Operations: ['63-24=39'] Exploring Operation: 39-37=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 39-37=2 Current State: 42:[21, 2], Operations: ['63-24=39', '39-37=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[24, 63, 21, 37], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [21, 37, 39] Generated Node #0,0: 42:[21, 37, 39] Operation: 63-24=39 Exploring Operation: 63-21=42, Resulting Numbers: [24, 37, 42] Generated Node #0,1: 42:[24, 37, 42] Operation: 63-21=42 Exploring Operation: 63-37=26, Resulting Numbers: [24, 21, 26] Generated Node #0,2: 42:[24, 21, 26] Operation: 63-37=26 Exploring Operation: 63/21=3, Resulting Numbers: [24, 37, 3] Generated Node #0,3: 42:[24, 37, 3] Operation: 63/21=3 Exploring Operation: 37-24=13, Resulting Numbers: [63, 21, 13] Generated Node #0,4: 42:[63, 21, 13] Operation: 37-24=13 Moving to Node #0,0 Current State: 42:[21, 37, 39], Operations: ['63-24=39'] Exploring Operation: 39-37=2, Resulting Numbers: [21, 2] Generated Node #0,0,0: 42:[21, 2] Operation: 39-37=2 Exploring Operation: 37-21=16, Resulting Numbers: [39, 16] Generated Node #0,0,1: 42:[39, 16] Operation: 37-21=16 Exploring Operation: 21+39=60, Resulting Numbers: [37, 60] Generated Node #0,0,2: 42:[37, 60] Operation: 21+39=60 Exploring Operation: 39-21=18, Resulting Numbers: [37, 18] Generated Node #0,0,3: 42:[37, 18] Operation: 39-21=18 Exploring Operation: 21+37=58, Resulting Numbers: [39, 58] Generated Node #0,0,4: 42:[39, 58] Operation: 21+37=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[21, 2], Operations: ['63-24=39', '39-37=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[24, 63, 21, 37], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [21, 37, 39] Generated Node #0,0: 42:[21, 37, 39] Operation: 63-24=39 Moving to Node #0,0 Current State: 42:[21, 37, 39], Operations: ['63-24=39'] Exploring Operation: 39-37=2, Resulting Numbers: [21, 2] Generated Node #0,0,0: 42:[21, 2] Operation: 39-37=2 Moving to Node #0,0,0 Current State: 42:[21, 2], Operations: ['63-24=39', '39-37=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 65, 66, 67, 74 ]
70
[ "67-65=2", "66+74=140", "140/2=70" ]
Current State: 70:[65, 66, 67, 74], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [66, 74, 2] Generated Node #2: [66, 74, 2] from Operation: 67-65=2 Current State: 70:[66, 74, 2], Operations: ['67-65=2'] Exploring Operation: 66+74=140, Resulting Numbers: [2, 140] Generated Node #3: [2, 140] from Operation: 66+74=140 Current State: 70:[2, 140], Operations: ['67-65=2', '66+74=140'] Exploring Operation: 140/2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[65, 66, 67, 74], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [66, 74, 2] Generated Node #0,0: 70:[66, 74, 2] Operation: 67-65=2 Exploring Operation: 66-65=1, Resulting Numbers: [67, 74, 1] Generated Node #0,1: 70:[67, 74, 1] Operation: 66-65=1 Exploring Operation: 74-66=8, Resulting Numbers: [65, 67, 8] Generated Node #0,2: 70:[65, 67, 8] Operation: 74-66=8 Exploring Operation: 74-65=9, Resulting Numbers: [66, 67, 9] Generated Node #0,3: 70:[66, 67, 9] Operation: 74-65=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[66, 74, 2], Operations: ['67-65=2'] Exploring Operation: 74-66=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 70:[2, 8] Operation: 74-66=8 Exploring Operation: 66+2=68, Resulting Numbers: [74, 68] Generated Node #0,0,1: 70:[74, 68] Operation: 66+2=68 Exploring Operation: 66/2=33, Resulting Numbers: [74, 33] Generated Node #0,0,2: 70:[74, 33] Operation: 66/2=33 Exploring Operation: 74-2=72, Resulting Numbers: [66, 72] Generated Node #0,0,3: 70:[66, 72] Operation: 74-2=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[2, 8], Operations: ['67-65=2', '74-66=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[74, 68], Operations: ['67-65=2', '66+2=68'] Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[74, 33], Operations: ['67-65=2', '66/2=33'] Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,70 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[66, 72], Operations: ['67-65=2', '74-2=72'] Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,70 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,70 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: 70:[67, 74, 1], Operations: ['66-65=1'] Exploring Operation: 74-1=73, Resulting Numbers: [67, 73] Generated Node #0,1,0: 70:[67, 73] Operation: 74-1=73 Exploring Operation: 67+1=68, Resulting Numbers: [74, 68] Generated Node #0,1,1: 70:[74, 68] Operation: 67+1=68 Exploring Operation: 74-67=7, Resulting Numbers: [1, 7] Generated Node #0,1,2: 70:[1, 7] Operation: 74-67=7 Exploring Operation: 67*1=67, Resulting Numbers: [74, 67] Generated Node #0,1,3: 70:[74, 67] Operation: 67*1=67 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[1, 7], Operations: ['66-65=1', '74-67=7'] Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[67, 73], Operations: ['66-65=1', '74-1=73'] Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,70 unequal: No Solution Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 67*73=4891, Resulting Numbers: [4891] 4891,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[74, 68], Operations: ['66-65=1', '67+1=68'] Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,70 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 70:[74, 67], Operations: ['66-65=1', '67*1=67'] Exploring Operation: 74*67=4958, Resulting Numbers: [4958] 4958,70 unequal: No Solution Exploring Operation: 74+67=141, Resulting Numbers: [141] 141,70 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,70 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: 70:[66, 67, 9], Operations: ['74-65=9'] Exploring Operation: 66-9=57, Resulting Numbers: [67, 57] Generated Node #0,3,0: 70:[67, 57] Operation: 66-9=57 Exploring Operation: 67+9=76, Resulting Numbers: [66, 76] Generated Node #0,3,1: 70:[66, 76] Operation: 67+9=76 Exploring Operation: 67-66=1, Resulting Numbers: [9, 1] Generated Node #0,3,2: 70:[9, 1] Operation: 67-66=1 Exploring Operation: 66+9=75, Resulting Numbers: [67, 75] Generated Node #0,3,3: 70:[67, 75] Operation: 66+9=75 Moving to Node #0,3,2 Current State: 70:[9, 1], Operations: ['74-65=9', '67-66=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[67, 75], Operations: ['74-65=9', '66+9=75'] Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[66, 76], Operations: ['74-65=9', '67+9=76'] Exploring Operation: 66*76=5016, Resulting Numbers: [5016] 5016,70 unequal: No Solution Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 66+76=142, Resulting Numbers: [142] 142,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[67, 57], Operations: ['74-65=9', '66-9=57'] Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,70 unequal: No Solution Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,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 Current State: 70:[65, 67, 8], Operations: ['74-66=8'] Exploring Operation: 65+8=73, Resulting Numbers: [67, 73] Generated Node #0,2,0: 70:[67, 73] Operation: 65+8=73 Exploring Operation: 67+8=75, Resulting Numbers: [65, 75] Generated Node #0,2,1: 70:[65, 75] Operation: 67+8=75 Exploring Operation: 65-8=57, Resulting Numbers: [67, 57] Generated Node #0,2,2: 70:[67, 57] Operation: 65-8=57 Exploring Operation: 67-65=2, Resulting Numbers: [8, 2] Generated Node #0,2,3: 70:[8, 2] Operation: 67-65=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[8, 2], Operations: ['74-66=8', '67-65=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[67, 73], Operations: ['74-66=8', '65+8=73'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 67*73=4891, Resulting Numbers: [4891] 4891,70 unequal: No Solution Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[65, 75], Operations: ['74-66=8', '67+8=75'] Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,70 unequal: No Solution Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[67, 57], Operations: ['74-66=8', '65-8=57'] Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,70 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
[ 5, 79, 66, 2 ]
97
[ "66-5=61", "79*2=158", "158-61=97" ]
Current State: 97:[5, 79, 66, 2], Operations: [] Exploring Operation: 66-5=61, Resulting Numbers: [79, 2, 61] Generated Node #2: [79, 2, 61] from Operation: 66-5=61 Current State: 97:[79, 2, 61], Operations: ['66-5=61'] Exploring Operation: 79*2=158, Resulting Numbers: [61, 158] Generated Node #3: [61, 158] from Operation: 79*2=158 Current State: 97:[61, 158], Operations: ['66-5=61', '79*2=158'] Exploring Operation: 158-61=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[5, 79, 66, 2], Operations: [] Exploring Operation: 5+79=84, Resulting Numbers: [66, 2, 84] Generated Node #0,0: 97:[66, 2, 84] Operation: 5+79=84 Exploring Operation: 5+2=7, Resulting Numbers: [79, 66, 7] Generated Node #0,1: 97:[79, 66, 7] Operation: 5+2=7 Exploring Operation: 5*2=10, Resulting Numbers: [79, 66, 10] Generated Node #0,2: 97:[79, 66, 10] Operation: 5*2=10 Exploring Operation: 5+66=71, Resulting Numbers: [79, 2, 71] Generated Node #0,3: 97:[79, 2, 71] Operation: 5+66=71 Exploring Operation: 79+2=81, Resulting Numbers: [5, 66, 81] Generated Node #0,4: 97:[5, 66, 81] Operation: 79+2=81 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[79, 66, 10], Operations: ['5*2=10'] Exploring Operation: 66+10=76, Resulting Numbers: [79, 76] Generated Node #0,2,0: 97:[79, 76] Operation: 66+10=76 Exploring Operation: 79+66=145, Resulting Numbers: [10, 145] Generated Node #0,2,1: 97:[10, 145] Operation: 79+66=145 Exploring Operation: 79-10=69, Resulting Numbers: [66, 69] Generated Node #0,2,2: 97:[66, 69] Operation: 79-10=69 Exploring Operation: 79+10=89, Resulting Numbers: [66, 89] Generated Node #0,2,3: 97:[66, 89] Operation: 79+10=89 Exploring Operation: 66-10=56, Resulting Numbers: [79, 56] Generated Node #0,2,4: 97:[79, 56] Operation: 66-10=56 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[79, 76], Operations: ['5*2=10', '66+10=76'] Exploring Operation: 79+76=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 79*76=6004, Resulting Numbers: [6004] 6004,97 unequal: No Solution Exploring Operation: 79-76=3, Resulting Numbers: [3] 3,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:[66, 89], Operations: ['5*2=10', '79+10=89'] Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,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,2 Current State: 97:[66, 69], Operations: ['5*2=10', '79-10=69'] Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 66*69=4554, Resulting Numbers: [4554] 4554,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:[79, 56], Operations: ['5*2=10', '66-10=56'] Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,97 unequal: No Solution Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,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:[10, 145], Operations: ['5*2=10', '79+66=145'] Exploring Operation: 10+145=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 10*145=1450, Resulting Numbers: [1450] 1450,97 unequal: No Solution Exploring Operation: 145-10=135, Resulting Numbers: [135] 135,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,0 Current State: 97:[66, 2, 84], Operations: ['5+79=84'] Exploring Operation: 84-2=82, Resulting Numbers: [66, 82] Generated Node #0,0,0: 97:[66, 82] Operation: 84-2=82 Exploring Operation: 66+2=68, Resulting Numbers: [84, 68] Generated Node #0,0,1: 97:[84, 68] Operation: 66+2=68 Exploring Operation: 66*2=132, Resulting Numbers: [84, 132] Generated Node #0,0,2: 97:[84, 132] Operation: 66*2=132 Exploring Operation: 2+84=86, Resulting Numbers: [66, 86] Generated Node #0,0,3: 97:[66, 86] Operation: 2+84=86 Exploring Operation: 66-2=64, Resulting Numbers: [84, 64] Generated Node #0,0,4: 97:[84, 64] Operation: 66-2=64 Moving to Node #0,0,1 Current State: 97:[84, 68], Operations: ['5+79=84', '66+2=68'] Exploring Operation: 84*68=5712, Resulting Numbers: [5712] 5712,97 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 84+68=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[66, 86], Operations: ['5+79=84', '2+84=86'] Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[66, 82], Operations: ['5+79=84', '84-2=82'] Exploring Operation: 66*82=5412, Resulting Numbers: [5412] 5412,97 unequal: No Solution Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[84, 64], Operations: ['5+79=84', '66-2=64'] Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,97 unequal: No Solution Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[84, 132], Operations: ['5+79=84', '66*2=132'] Exploring Operation: 132-84=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 84+132=216, Resulting Numbers: [216] 216,97 unequal: No Solution Exploring Operation: 84*132=11088, Resulting Numbers: [11088] 11088,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[79, 66, 7], Operations: ['5+2=7'] Exploring Operation: 66-7=59, Resulting Numbers: [79, 59] Generated Node #0,1,0: 97:[79, 59] Operation: 66-7=59 Exploring Operation: 79+66=145, Resulting Numbers: [7, 145] Generated Node #0,1,1: 97:[7, 145] Operation: 79+66=145 Exploring Operation: 79+7=86, Resulting Numbers: [66, 86] Generated Node #0,1,2: 97:[66, 86] Operation: 79+7=86 Exploring Operation: 79-7=72, Resulting Numbers: [66, 72] Generated Node #0,1,3: 97:[66, 72] Operation: 79-7=72 Exploring Operation: 66+7=73, Resulting Numbers: [79, 73] Generated Node #0,1,4: 97:[79, 73] Operation: 66+7=73 Moving to Node #0,1,2 Current State: 97:[66, 86], Operations: ['5+2=7', '79+7=86'] Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[79, 73], Operations: ['5+2=7', '66+7=73'] Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,97 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[79, 59], Operations: ['5+2=7', '66-7=59'] Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,97 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[66, 72], Operations: ['5+2=7', '79-7=72'] Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,97 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[7, 145], Operations: ['5+2=7', '79+66=145'] Exploring Operation: 7+145=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 7*145=1015, Resulting Numbers: [1015] 1015,97 unequal: No Solution Exploring Operation: 145-7=138, Resulting Numbers: [138] 138,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 Current State: 97:[79, 2, 71], Operations: ['5+66=71'] Exploring Operation: 71-2=69, Resulting Numbers: [79, 69] Generated Node #0,3,0: 97:[79, 69] Operation: 71-2=69 Exploring Operation: 79-2=77, Resulting Numbers: [71, 77] Generated Node #0,3,1: 97:[71, 77] Operation: 79-2=77 Exploring Operation: 79+2=81, Resulting Numbers: [71, 81] Generated Node #0,3,2: 97:[71, 81] Operation: 79+2=81 Exploring Operation: 2*71=142, Resulting Numbers: [79, 142] Generated Node #0,3,3: 97:[79, 142] Operation: 2*71=142 Exploring Operation: 2+71=73, Resulting Numbers: [79, 73] Generated Node #0,3,4: 97:[79, 73] Operation: 2+71=73 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[71, 81], Operations: ['5+66=71', '79+2=81'] Exploring Operation: 71+81=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 71*81=5751, Resulting Numbers: [5751] 5751,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:[79, 73], Operations: ['5+66=71', '2+71=73'] Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,97 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,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:[79, 69], Operations: ['5+66=71', '71-2=69'] Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 79*69=5451, Resulting Numbers: [5451] 5451,97 unequal: No Solution Exploring Operation: 79+69=148, Resulting Numbers: [148] 148,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:[71, 77], Operations: ['5+66=71', '79-2=77'] Exploring Operation: 71+77=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 71*77=5467, Resulting Numbers: [5467] 5467,97 unequal: No Solution Exploring Operation: 77-71=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,3 Current State: 97:[79, 142], Operations: ['5+66=71', '2*71=142'] Exploring Operation: 79*142=11218, Resulting Numbers: [11218] 11218,97 unequal: No Solution Exploring Operation: 142-79=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 79+142=221, Resulting Numbers: [221] 221,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:[5, 66, 81], Operations: ['79+2=81'] Exploring Operation: 66+81=147, Resulting Numbers: [5, 147] Generated Node #0,4,0: 97:[5, 147] Operation: 66+81=147 Exploring Operation: 81-5=76, Resulting Numbers: [66, 76] Generated Node #0,4,1: 97:[66, 76] Operation: 81-5=76 Exploring Operation: 66-5=61, Resulting Numbers: [81, 61] Generated Node #0,4,2: 97:[81, 61] Operation: 66-5=61 Exploring Operation: 5+66=71, Resulting Numbers: [81, 71] Generated Node #0,4,3: 97:[81, 71] Operation: 5+66=71 Exploring Operation: 5+81=86, Resulting Numbers: [66, 86] Generated Node #0,4,4: 97:[66, 86] Operation: 5+81=86 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 97:[81, 71], Operations: ['79+2=81', '5+66=71'] Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,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,4,4 Current State: 97:[66, 86], Operations: ['79+2=81', '5+81=86'] Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 86-66=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,4,1 Current State: 97:[66, 76], Operations: ['79+2=81', '81-5=76'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 66*76=5016, Resulting Numbers: [5016] 5016,97 unequal: No Solution Exploring Operation: 66+76=142, Resulting Numbers: [142] 142,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,4,2 Current State: 97:[81, 61], Operations: ['79+2=81', '66-5=61'] Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 81*61=4941, Resulting Numbers: [4941] 4941,97 unequal: No Solution Exploring Operation: 81+61=142, Resulting Numbers: [142] 142,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,4,0 Current State: 97:[5, 147], Operations: ['79+2=81', '66+81=147'] Exploring Operation: 147-5=142, Resulting Numbers: [142] 142,97 unequal: No Solution Exploring Operation: 5*147=735, Resulting Numbers: [735] 735,97 unequal: No Solution Exploring Operation: 5+147=152, Resulting Numbers: [152] 152,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 No solution found.
0
hs_5
sum_heuristic
[ 54, 76, 7, 42 ]
85
[ "54*7=378", "378/42=9", "76+9=85" ]
Current State: 85:[54, 76, 7, 42], Operations: [] Exploring Operation: 54*7=378, Resulting Numbers: [76, 42, 378] Generated Node #2: [76, 42, 378] from Operation: 54*7=378 Current State: 85:[76, 42, 378], Operations: ['54*7=378'] Exploring Operation: 378/42=9, Resulting Numbers: [76, 9] Generated Node #3: [76, 9] from Operation: 378/42=9 Current State: 85:[76, 9], Operations: ['54*7=378', '378/42=9'] Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[54, 76, 7, 42], Operations: [] Exploring Operation: 54+42=96, Resulting Numbers: [76, 7, 96] Generated Node #0,0: 85:[76, 7, 96] Operation: 54+42=96 Exploring Operation: 54-42=12, Resulting Numbers: [76, 7, 12] Generated Node #0,1: 85:[76, 7, 12] Operation: 54-42=12 Moving to Node #0,1 Current State: 85:[76, 7, 12], Operations: ['54-42=12'] Exploring Operation: 76+12=88, Resulting Numbers: [7, 88] Generated Node #0,1,0: 85:[7, 88] Operation: 76+12=88 Exploring Operation: 76+7=83, Resulting Numbers: [12, 83] Generated Node #0,1,1: 85:[12, 83] Operation: 76+7=83 Moving to Node #0,0 Current State: 85:[76, 7, 96], Operations: ['54+42=96'] Exploring Operation: 76+7=83, Resulting Numbers: [96, 83] Generated Node #0,0,0: 85:[96, 83] Operation: 76+7=83 Exploring Operation: 96-76=20, Resulting Numbers: [7, 20] Generated Node #0,0,1: 85:[7, 20] Operation: 96-76=20 Moving to Node #0,1,0 Current State: 85:[7, 88], Operations: ['54-42=12', '76+12=88'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[7, 20], Operations: ['54+42=96', '96-76=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[12, 83], Operations: ['54-42=12', '76+7=83'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[96, 83], Operations: ['54+42=96', '76+7=83'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 96+83=179, Resulting Numbers: [179] 179,85 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 40, 58, 80, 18 ]
81
[ "58-40=18", "18/18=1", "80+1=81" ]
Current State: 81:[40, 58, 80, 18], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [80, 18, 18] Generated Node #2: [80, 18, 18] from Operation: 58-40=18 Current State: 81:[80, 18, 18], Operations: ['58-40=18'] Exploring Operation: 18/18=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 18/18=1 Current State: 81:[80, 1], Operations: ['58-40=18', '18/18=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[40, 58, 80, 18], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [80, 18, 18] Generated Node #0,0: 81:[80, 18, 18] Operation: 58-40=18 Exploring Operation: 40+58=98, Resulting Numbers: [80, 18, 98] Generated Node #0,1: 81:[80, 18, 98] Operation: 40+58=98 Exploring Operation: 58+18=76, Resulting Numbers: [40, 80, 76] Generated Node #0,2: 81:[40, 80, 76] Operation: 58+18=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[80, 18, 18], Operations: ['58-40=18'] Exploring Operation: 18-18=0, Resulting Numbers: [80, 0] Generated Node #0,0,0: 81:[80, 0] Operation: 18-18=0 Exploring Operation: 18/18=1, Resulting Numbers: [80, 1] Generated Node #0,0,1: 81:[80, 1] Operation: 18/18=1 Exploring Operation: 18+18=36, Resulting Numbers: [80, 36] Generated Node #0,0,2: 81:[80, 36] Operation: 18+18=36 Moving to Node #0,0,1 Current State: 81:[80, 1], Operations: ['58-40=18', '18/18=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[40, 58, 80, 18], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [80, 18, 18] Generated Node #0,0: 81:[80, 18, 18] Operation: 58-40=18 Moving to Node #0,0 Current State: 81:[80, 18, 18], Operations: ['58-40=18'] Exploring Operation: 18/18=1, Resulting Numbers: [80, 1] Generated Node #0,0,1: 81:[80, 1] Operation: 18/18=1 Moving to Node #0,0,1 Current State: 81:[80, 1], Operations: ['58-40=18', '18/18=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 7, 81, 78, 9 ]
76
[ "7+78=85", "81/9=9", "85-9=76" ]
Current State: 76:[7, 81, 78, 9], Operations: [] Exploring Operation: 7+78=85, Resulting Numbers: [81, 9, 85] Generated Node #2: [81, 9, 85] from Operation: 7+78=85 Current State: 76:[81, 9, 85], Operations: ['7+78=85'] Exploring Operation: 81/9=9, Resulting Numbers: [85, 9] Generated Node #3: [85, 9] from Operation: 81/9=9 Current State: 76:[85, 9], Operations: ['7+78=85', '81/9=9'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[7, 81, 78, 9], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [81, 78, 2] Generated Node #0,0: 76:[81, 78, 2] Operation: 9-7=2 Exploring Operation: 81-7=74, Resulting Numbers: [78, 9, 74] Generated Node #0,1: 76:[78, 9, 74] Operation: 81-7=74 Moving to Node #0,0 Current State: 76:[81, 78, 2], Operations: ['9-7=2'] Exploring Operation: 81-2=79, Resulting Numbers: [78, 79] Generated Node #0,0,0: 76:[78, 79] Operation: 81-2=79 Exploring Operation: 81-78=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 76:[2, 3] Operation: 81-78=3 Moving to Node #0,1 Current State: 76:[78, 9, 74], Operations: ['81-7=74'] Exploring Operation: 78-9=69, Resulting Numbers: [74, 69] Generated Node #0,1,0: 76:[74, 69] Operation: 78-9=69 Exploring Operation: 78-74=4, Resulting Numbers: [9, 4] Generated Node #0,1,1: 76:[9, 4] Operation: 78-74=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[9, 4], Operations: ['81-7=74', '78-74=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,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,1,0 Current State: 76:[74, 69], Operations: ['81-7=74', '78-9=69'] Exploring Operation: 74+69=143, Resulting Numbers: [143] 143,76 unequal: No Solution Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,76 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: 76:[2, 3], Operations: ['9-7=2', '81-78=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[78, 79], Operations: ['9-7=2', '81-2=79'] Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 78+79=157, Resulting Numbers: [157] 157,76 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 69, 23, 12, 17 ]
53
[ "69/23=3", "12*3=36", "17+36=53" ]
Current State: 53:[69, 23, 12, 17], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [12, 17, 3] Generated Node #2: [12, 17, 3] from Operation: 69/23=3 Current State: 53:[12, 17, 3], Operations: ['69/23=3'] Exploring Operation: 12*3=36, Resulting Numbers: [17, 36] Generated Node #3: [17, 36] from Operation: 12*3=36 Current State: 53:[17, 36], Operations: ['69/23=3', '12*3=36'] Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[69, 23, 12, 17], Operations: [] Exploring Operation: 69-12=57, Resulting Numbers: [23, 17, 57] Generated Node #0,0: 53:[23, 17, 57] Operation: 69-12=57 Exploring Operation: 23+12=35, Resulting Numbers: [69, 17, 35] Generated Node #0,1: 53:[69, 17, 35] Operation: 23+12=35 Exploring Operation: 12+17=29, Resulting Numbers: [69, 23, 29] Generated Node #0,2: 53:[69, 23, 29] Operation: 12+17=29 Exploring Operation: 23+17=40, Resulting Numbers: [69, 12, 40] Generated Node #0,3: 53:[69, 12, 40] Operation: 23+17=40 Exploring Operation: 69-17=52, Resulting Numbers: [23, 12, 52] Generated Node #0,4: 53:[23, 12, 52] Operation: 69-17=52 Moving to Node #0,0 Current State: 53:[23, 17, 57], Operations: ['69-12=57'] Exploring Operation: 23+17=40, Resulting Numbers: [57, 40] Generated Node #0,0,0: 53:[57, 40] Operation: 23+17=40 Exploring Operation: 17+57=74, Resulting Numbers: [23, 74] Generated Node #0,0,1: 53:[23, 74] Operation: 17+57=74 Exploring Operation: 57-17=40, Resulting Numbers: [23, 40] Generated Node #0,0,2: 53:[23, 40] Operation: 57-17=40 Exploring Operation: 57-23=34, Resulting Numbers: [17, 34] Generated Node #0,0,3: 53:[17, 34] Operation: 57-23=34 Exploring Operation: 23-17=6, Resulting Numbers: [57, 6] Generated Node #0,0,4: 53:[57, 6] Operation: 23-17=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[57, 40], Operations: ['69-12=57', '23+17=40'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[23, 40], Operations: ['69-12=57', '57-17=40'] Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[23, 74], Operations: ['69-12=57', '17+57=74'] Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,53 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[57, 6], Operations: ['69-12=57', '23-17=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,53 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[17, 34], Operations: ['69-12=57', '57-23=34'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,53 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: 53:[69, 23, 29], Operations: ['12+17=29'] Exploring Operation: 23+29=52, Resulting Numbers: [69, 52] Generated Node #0,2,0: 53:[69, 52] Operation: 23+29=52 Exploring Operation: 29-23=6, Resulting Numbers: [69, 6] Generated Node #0,2,1: 53:[69, 6] Operation: 29-23=6 Exploring Operation: 69-23=46, Resulting Numbers: [29, 46] Generated Node #0,2,2: 53:[29, 46] Operation: 69-23=46 Exploring Operation: 69+23=92, Resulting Numbers: [29, 92] Generated Node #0,2,3: 53:[29, 92] Operation: 69+23=92 Exploring Operation: 69-29=40, Resulting Numbers: [23, 40] Generated Node #0,2,4: 53:[23, 40] Operation: 69-29=40 Moving to Node #0,1 Current State: 53:[69, 17, 35], Operations: ['23+12=35'] Exploring Operation: 35-17=18, Resulting Numbers: [69, 18] Generated Node #0,1,0: 53:[69, 18] Operation: 35-17=18 Exploring Operation: 69-17=52, Resulting Numbers: [35, 52] Generated Node #0,1,1: 53:[35, 52] Operation: 69-17=52 Exploring Operation: 17+35=52, Resulting Numbers: [69, 52] Generated Node #0,1,2: 53:[69, 52] Operation: 17+35=52 Exploring Operation: 69+17=86, Resulting Numbers: [35, 86] Generated Node #0,1,3: 53:[35, 86] Operation: 69+17=86 Exploring Operation: 69-35=34, Resulting Numbers: [17, 34] Generated Node #0,1,4: 53:[17, 34] Operation: 69-35=34 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[69, 52], Operations: ['23+12=35', '17+35=52'] Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[35, 52], Operations: ['23+12=35', '69-17=52'] Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,53 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[69, 18], Operations: ['23+12=35', '35-17=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,53 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[35, 86], Operations: ['23+12=35', '69+17=86'] Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[17, 34], Operations: ['23+12=35', '69-35=34'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,53 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,53 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: 53:[69, 12, 40], Operations: ['23+17=40'] Exploring Operation: 12+40=52, Resulting Numbers: [69, 52] Generated Node #0,3,0: 53:[69, 52] Operation: 12+40=52 Exploring Operation: 69-40=29, Resulting Numbers: [12, 29] Generated Node #0,3,1: 53:[12, 29] Operation: 69-40=29 Exploring Operation: 69+12=81, Resulting Numbers: [40, 81] Generated Node #0,3,2: 53:[40, 81] Operation: 69+12=81 Exploring Operation: 69-12=57, Resulting Numbers: [40, 57] Generated Node #0,3,3: 53:[40, 57] Operation: 69-12=57 Exploring Operation: 40-12=28, Resulting Numbers: [69, 28] Generated Node #0,3,4: 53:[69, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[69, 52], Operations: ['23+17=40', '12+40=52'] Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,53 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[40, 57], Operations: ['23+17=40', '69-12=57'] Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,53 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[40, 81], Operations: ['23+17=40', '69+12=81'] Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,53 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[69, 28], Operations: ['23+17=40', '40-12=28'] Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,53 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[12, 29], Operations: ['23+17=40', '69-40=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,53 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: 53:[23, 12, 52], Operations: ['69-17=52'] Exploring Operation: 12+52=64, Resulting Numbers: [23, 64] Generated Node #0,4,0: 53:[23, 64] Operation: 12+52=64 Exploring Operation: 23+12=35, Resulting Numbers: [52, 35] Generated Node #0,4,1: 53:[52, 35] Operation: 23+12=35 Exploring Operation: 23-12=11, Resulting Numbers: [52, 11] Generated Node #0,4,2: 53:[52, 11] Operation: 23-12=11 Exploring Operation: 52-12=40, Resulting Numbers: [23, 40] Generated Node #0,4,3: 53:[23, 40] Operation: 52-12=40 Exploring Operation: 23+52=75, Resulting Numbers: [12, 75] Generated Node #0,4,4: 53:[12, 75] Operation: 23+52=75 Moving to Node #0,2,0 Current State: 53:[69, 52], Operations: ['12+17=29', '23+29=52'] Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[52, 35], Operations: ['69-17=52', '23+12=35'] Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,53 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[29, 46], Operations: ['12+17=29', '69-23=46'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,53 unequal: No Solution Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[23, 64], Operations: ['69-17=52', '12+52=64'] Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,53 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[23, 40], Operations: ['12+17=29', '69-29=40'] Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[52, 11], Operations: ['69-17=52', '23-12=11'] Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,53 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[23, 40], Operations: ['69-17=52', '52-12=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[69, 6], Operations: ['12+17=29', '29-23=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[12, 75], Operations: ['69-17=52', '23+52=75'] Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,53 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[29, 92], Operations: ['12+17=29', '69+23=92'] Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,53 unequal: No Solution Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,53 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 43, 80, 61 ]
66
[ "59-43=16", "80/16=5", "61+5=66" ]
Current State: 66:[59, 43, 80, 61], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [80, 61, 16] Generated Node #2: [80, 61, 16] from Operation: 59-43=16 Current State: 66:[80, 61, 16], Operations: ['59-43=16'] Exploring Operation: 80/16=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 80/16=5 Current State: 66:[61, 5], Operations: ['59-43=16', '80/16=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[59, 43, 80, 61], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [59, 43, 19] Generated Node #0,0: 66:[59, 43, 19] Operation: 80-61=19 Exploring Operation: 80-43=37, Resulting Numbers: [59, 61, 37] Generated Node #0,1: 66:[59, 61, 37] Operation: 80-43=37 Exploring Operation: 80-59=21, Resulting Numbers: [43, 61, 21] Generated Node #0,2: 66:[43, 61, 21] Operation: 80-59=21 Exploring Operation: 59-43=16, Resulting Numbers: [80, 61, 16] Generated Node #0,3: 66:[80, 61, 16] Operation: 59-43=16 Exploring Operation: 61-59=2, Resulting Numbers: [43, 80, 2] Generated Node #0,4: 66:[43, 80, 2] Operation: 61-59=2 Moving to Node #0,1 Current State: 66:[59, 61, 37], Operations: ['80-43=37'] Exploring Operation: 61-37=24, Resulting Numbers: [59, 24] Generated Node #0,1,0: 66:[59, 24] Operation: 61-37=24 Exploring Operation: 59+37=96, Resulting Numbers: [61, 96] Generated Node #0,1,1: 66:[61, 96] Operation: 59+37=96 Exploring Operation: 61+37=98, Resulting Numbers: [59, 98] Generated Node #0,1,2: 66:[59, 98] Operation: 61+37=98 Exploring Operation: 61-59=2, Resulting Numbers: [37, 2] Generated Node #0,1,3: 66:[37, 2] Operation: 61-59=2 Exploring Operation: 59-37=22, Resulting Numbers: [61, 22] Generated Node #0,1,4: 66:[61, 22] Operation: 59-37=22 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[37, 2], Operations: ['80-43=37', '61-59=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,66 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 66:[61, 22], Operations: ['80-43=37', '59-37=22'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 61*22=1342, Resulting Numbers: [1342] 1342,66 unequal: No Solution Exploring Operation: 61+22=83, Resulting Numbers: [83] 83,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[59, 24], Operations: ['80-43=37', '61-37=24'] Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[61, 96], Operations: ['80-43=37', '59+37=96'] Exploring Operation: 61+96=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 61*96=5856, Resulting Numbers: [5856] 5856,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[59, 98], Operations: ['80-43=37', '61+37=98'] Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 59+98=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 59*98=5782, Resulting Numbers: [5782] 5782,66 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: 66:[43, 61, 21], Operations: ['80-59=21'] Exploring Operation: 61-43=18, Resulting Numbers: [21, 18] Generated Node #0,2,0: 66:[21, 18] Operation: 61-43=18 Exploring Operation: 61-21=40, Resulting Numbers: [43, 40] Generated Node #0,2,1: 66:[43, 40] Operation: 61-21=40 Exploring Operation: 61+21=82, Resulting Numbers: [43, 82] Generated Node #0,2,2: 66:[43, 82] Operation: 61+21=82 Exploring Operation: 43+21=64, Resulting Numbers: [61, 64] Generated Node #0,2,3: 66:[61, 64] Operation: 43+21=64 Exploring Operation: 43-21=22, Resulting Numbers: [61, 22] Generated Node #0,2,4: 66:[61, 22] Operation: 43-21=22 Moving to Node #0,0 Current State: 66:[59, 43, 19], Operations: ['80-61=19'] Exploring Operation: 59-43=16, Resulting Numbers: [19, 16] Generated Node #0,0,0: 66:[19, 16] Operation: 59-43=16 Exploring Operation: 59+19=78, Resulting Numbers: [43, 78] Generated Node #0,0,1: 66:[43, 78] Operation: 59+19=78 Exploring Operation: 43-19=24, Resulting Numbers: [59, 24] Generated Node #0,0,2: 66:[59, 24] Operation: 43-19=24 Exploring Operation: 59-19=40, Resulting Numbers: [43, 40] Generated Node #0,0,3: 66:[43, 40] Operation: 59-19=40 Exploring Operation: 43+19=62, Resulting Numbers: [59, 62] Generated Node #0,0,4: 66:[59, 62] Operation: 43+19=62 Moving to Node #0,3 Current State: 66:[80, 61, 16], Operations: ['59-43=16'] Exploring Operation: 80-16=64, Resulting Numbers: [61, 64] Generated Node #0,3,0: 66:[61, 64] Operation: 80-16=64 Exploring Operation: 80/16=5, Resulting Numbers: [61, 5] Generated Node #0,3,1: 66:[61, 5] Operation: 80/16=5 Exploring Operation: 61+16=77, Resulting Numbers: [80, 77] Generated Node #0,3,2: 66:[80, 77] Operation: 61+16=77 Exploring Operation: 61-16=45, Resulting Numbers: [80, 45] Generated Node #0,3,3: 66:[80, 45] Operation: 61-16=45 Exploring Operation: 80-61=19, Resulting Numbers: [16, 19] Generated Node #0,3,4: 66:[16, 19] Operation: 80-61=19 Moving to Node #0,4 Current State: 66:[43, 80, 2], Operations: ['61-59=2'] Exploring Operation: 43+2=45, Resulting Numbers: [80, 45] Generated Node #0,4,0: 66:[80, 45] Operation: 43+2=45 Exploring Operation: 80-2=78, Resulting Numbers: [43, 78] Generated Node #0,4,1: 66:[43, 78] Operation: 80-2=78 Exploring Operation: 80/2=40, Resulting Numbers: [43, 40] Generated Node #0,4,2: 66:[43, 40] Operation: 80/2=40 Exploring Operation: 80-43=37, Resulting Numbers: [2, 37] Generated Node #0,4,3: 66:[2, 37] Operation: 80-43=37 Exploring Operation: 43-2=41, Resulting Numbers: [80, 41] Generated Node #0,4,4: 66:[80, 41] Operation: 43-2=41 Moving to Node #0,4,3 Current State: 66:[2, 37], Operations: ['61-59=2', '80-43=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,66 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[21, 18], Operations: ['80-59=21', '61-43=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,66 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[61, 22], Operations: ['80-59=21', '43-21=22'] Exploring Operation: 61*22=1342, Resulting Numbers: [1342] 1342,66 unequal: No Solution Exploring Operation: 61+22=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[61, 5], Operations: ['59-43=16', '80/16=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[59, 43, 80, 61], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [80, 61, 16] Generated Node #0,3: 66:[80, 61, 16] Operation: 59-43=16 Moving to Node #0,3 Current State: 66:[80, 61, 16], Operations: ['59-43=16'] Exploring Operation: 80/16=5, Resulting Numbers: [61, 5] Generated Node #0,3,1: 66:[61, 5] Operation: 80/16=5 Moving to Node #0,3,1 Current State: 66:[61, 5], Operations: ['59-43=16', '80/16=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.948785
hs_5
mult_heuristic
[ 48, 85, 92, 98 ]
57
[ "48+85=133", "92+98=190", "190-133=57" ]
Current State: 57:[48, 85, 92, 98], Operations: [] Exploring Operation: 48+85=133, Resulting Numbers: [92, 98, 133] Generated Node #2: [92, 98, 133] from Operation: 48+85=133 Current State: 57:[92, 98, 133], Operations: ['48+85=133'] Exploring Operation: 92+98=190, Resulting Numbers: [133, 190] Generated Node #3: [133, 190] from Operation: 92+98=190 Current State: 57:[133, 190], Operations: ['48+85=133', '92+98=190'] Exploring Operation: 190-133=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[48, 85, 92, 98], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [48, 85, 6] Generated Node #0,0: 57:[48, 85, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[48, 85, 6], Operations: ['98-92=6'] Exploring Operation: 85-48=37, Resulting Numbers: [6, 37] Generated Node #0,0,0: 57:[6, 37] Operation: 85-48=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[6, 37], Operations: ['98-92=6', '85-48=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,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 No solution found.
0
hs_1
sum_heuristic
[ 45, 11, 86, 2 ]
99
[ "45+11=56", "86/2=43", "56+43=99" ]
Current State: 99:[45, 11, 86, 2], Operations: [] Exploring Operation: 45+11=56, Resulting Numbers: [86, 2, 56] Generated Node #2: [86, 2, 56] from Operation: 45+11=56 Current State: 99:[86, 2, 56], Operations: ['45+11=56'] Exploring Operation: 86/2=43, Resulting Numbers: [56, 43] Generated Node #3: [56, 43] from Operation: 86/2=43 Current State: 99:[56, 43], Operations: ['45+11=56', '86/2=43'] Exploring Operation: 56+43=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[45, 11, 86, 2], Operations: [] Exploring Operation: 86-45=41, Resulting Numbers: [11, 2, 41] Generated Node #0,0: 99:[11, 2, 41] Operation: 86-45=41 Exploring Operation: 11+86=97, Resulting Numbers: [45, 2, 97] Generated Node #0,1: 99:[45, 2, 97] Operation: 11+86=97 Exploring Operation: 45-11=34, Resulting Numbers: [86, 2, 34] Generated Node #0,2: 99:[86, 2, 34] Operation: 45-11=34 Exploring Operation: 45*2=90, Resulting Numbers: [11, 86, 90] Generated Node #0,3: 99:[11, 86, 90] Operation: 45*2=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[11, 2, 41], Operations: ['86-45=41'] Exploring Operation: 41-2=39, Resulting Numbers: [11, 39] Generated Node #0,0,0: 99:[11, 39] Operation: 41-2=39 Exploring Operation: 41-11=30, Resulting Numbers: [2, 30] Generated Node #0,0,1: 99:[2, 30] Operation: 41-11=30 Exploring Operation: 11+2=13, Resulting Numbers: [41, 13] Generated Node #0,0,2: 99:[41, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [41, 9] Generated Node #0,0,3: 99:[41, 9] Operation: 11-2=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[2, 30], Operations: ['86-45=41', '41-11=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,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,0 Current State: 99:[11, 39], Operations: ['86-45=41', '41-2=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,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,3 Current State: 99:[41, 9], Operations: ['86-45=41', '11-2=9'] Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,99 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,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,2 Current State: 99:[41, 13], Operations: ['86-45=41', '11+2=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,99 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[45, 2, 97], Operations: ['11+86=97'] Exploring Operation: 2+97=99, Resulting Numbers: [45, 99] Generated Node #0,1,0: 99:[45, 99] Operation: 2+97=99 Exploring Operation: 45*2=90, Resulting Numbers: [97, 90] Generated Node #0,1,1: 99:[97, 90] Operation: 45*2=90 Exploring Operation: 45-2=43, Resulting Numbers: [97, 43] Generated Node #0,1,2: 99:[97, 43] Operation: 45-2=43 Exploring Operation: 45+2=47, Resulting Numbers: [97, 47] Generated Node #0,1,3: 99:[97, 47] Operation: 45+2=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[97, 90], Operations: ['11+86=97', '45*2=90'] Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,99 unequal: No Solution Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,99 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[45, 99], Operations: ['11+86=97', '2+97=99'] Exploring Operation: 45*99=4455, Resulting Numbers: [4455] 4455,99 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 45+99=144, Resulting Numbers: [144] 144,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[97, 43], Operations: ['11+86=97', '45-2=43'] Exploring Operation: 97+43=140, Resulting Numbers: [140] 140,99 unequal: No Solution Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 97*43=4171, Resulting Numbers: [4171] 4171,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 99:[97, 47], Operations: ['11+86=97', '45+2=47'] Exploring Operation: 97+47=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 97*47=4559, Resulting Numbers: [4559] 4559,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[86, 2, 34], Operations: ['45-11=34'] Exploring Operation: 86+2=88, Resulting Numbers: [34, 88] Generated Node #0,2,0: 99:[34, 88] Operation: 86+2=88 Exploring Operation: 34-2=32, Resulting Numbers: [86, 32] Generated Node #0,2,1: 99:[86, 32] Operation: 34-2=32 Exploring Operation: 86-2=84, Resulting Numbers: [34, 84] Generated Node #0,2,2: 99:[34, 84] Operation: 86-2=84 Exploring Operation: 86/2=43, Resulting Numbers: [34, 43] Generated Node #0,2,3: 99:[34, 43] Operation: 86/2=43 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[34, 43], Operations: ['45-11=34', '86/2=43'] Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,99 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,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,2,0 Current State: 99:[34, 88], Operations: ['45-11=34', '86+2=88'] Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 34+88=122, Resulting Numbers: [122] 122,99 unequal: No Solution Exploring Operation: 34*88=2992, Resulting Numbers: [2992] 2992,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,2,1 Current State: 99:[86, 32], Operations: ['45-11=34', '34-2=32'] Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,99 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,99 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,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,2,2 Current State: 99:[34, 84], Operations: ['45-11=34', '86-2=84'] Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,99 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,99 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[11, 86, 90], Operations: ['45*2=90'] Exploring Operation: 86-11=75, Resulting Numbers: [90, 75] Generated Node #0,3,0: 99:[90, 75] Operation: 86-11=75 Exploring Operation: 11+86=97, Resulting Numbers: [90, 97] Generated Node #0,3,1: 99:[90, 97] Operation: 11+86=97 Exploring Operation: 90-86=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 99:[11, 4] Operation: 90-86=4 Exploring Operation: 11+90=101, Resulting Numbers: [86, 101] Generated Node #0,3,3: 99:[86, 101] Operation: 11+90=101 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[11, 4], Operations: ['45*2=90', '90-86=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,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,3,1 Current State: 99:[90, 97], Operations: ['45*2=90', '11+86=97'] Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,99 unequal: No Solution Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,99 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,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,3,3 Current State: 99:[86, 101], Operations: ['45*2=90', '11+90=101'] Exploring Operation: 86+101=187, Resulting Numbers: [187] 187,99 unequal: No Solution Exploring Operation: 101-86=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 86*101=8686, Resulting Numbers: [8686] 8686,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,3,0 Current State: 99:[90, 75], Operations: ['45*2=90', '86-11=75'] Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,99 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,99 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 22, 61, 41, 38 ]
63
[ "41-22=19", "38/19=2", "61+2=63" ]
Current State: 63:[22, 61, 41, 38], Operations: [] Exploring Operation: 41-22=19, Resulting Numbers: [61, 38, 19] Generated Node #2: [61, 38, 19] from Operation: 41-22=19 Current State: 63:[61, 38, 19], Operations: ['41-22=19'] Exploring Operation: 38/19=2, Resulting Numbers: [61, 2] Generated Node #3: [61, 2] from Operation: 38/19=2 Current State: 63:[61, 2], Operations: ['41-22=19', '38/19=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[22, 61, 41, 38], Operations: [] Exploring Operation: 61-41=20, Resulting Numbers: [22, 38, 20] Generated Node #0,0: 63:[22, 38, 20] Operation: 61-41=20 Exploring Operation: 22+41=63, Resulting Numbers: [61, 38, 63] Generated Node #0,1: 63:[61, 38, 63] Operation: 22+41=63 Exploring Operation: 41-38=3, Resulting Numbers: [22, 61, 3] Generated Node #0,2: 63:[22, 61, 3] Operation: 41-38=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[22, 61, 3], Operations: ['41-38=3'] Exploring Operation: 22*3=66, Resulting Numbers: [61, 66] Generated Node #0,2,0: 63:[61, 66] Operation: 22*3=66 Exploring Operation: 22-3=19, Resulting Numbers: [61, 19] Generated Node #0,2,1: 63:[61, 19] Operation: 22-3=19 Exploring Operation: 61+3=64, Resulting Numbers: [22, 64] Generated Node #0,2,2: 63:[22, 64] Operation: 61+3=64 Moving to Node #0,2,2 Current State: 63:[22, 64], Operations: ['41-38=3', '61+3=64'] Exploring Operation: 22*64=1408, Resulting Numbers: [1408] 1408,63 unequal: No Solution Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,63 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[61, 19], Operations: ['41-38=3', '22-3=19'] Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,63 unequal: No Solution Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[61, 66], Operations: ['41-38=3', '22*3=66'] Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,63 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,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,0 Current State: 63:[22, 38, 20], Operations: ['61-41=20'] Exploring Operation: 38-20=18, Resulting Numbers: [22, 18] Generated Node #0,0,0: 63:[22, 18] Operation: 38-20=18 Exploring Operation: 22+38=60, Resulting Numbers: [20, 60] Generated Node #0,0,1: 63:[20, 60] Operation: 22+38=60 Exploring Operation: 38-22=16, Resulting Numbers: [20, 16] Generated Node #0,0,2: 63:[20, 16] Operation: 38-22=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[22, 18], Operations: ['61-41=20', '38-20=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[20, 60], Operations: ['61-41=20', '22+38=60'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[20, 16], Operations: ['61-41=20', '38-22=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,63 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[61, 38, 63], Operations: ['22+41=63'] Exploring Operation: 61-38=23, Resulting Numbers: [63, 23] Generated Node #0,1,0: 63:[63, 23] Operation: 61-38=23 Exploring Operation: 63-61=2, Resulting Numbers: [38, 2] Generated Node #0,1,1: 63:[38, 2] Operation: 63-61=2 Exploring Operation: 63-38=25, Resulting Numbers: [61, 25] Generated Node #0,1,2: 63:[61, 25] Operation: 63-38=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[63, 23], Operations: ['22+41=63', '61-38=23'] Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,63 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,63 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[61, 25], Operations: ['22+41=63', '63-38=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,63 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[38, 2], Operations: ['22+41=63', '63-61=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 8, 53, 54, 69 ]
27
[ "8*54=432", "69-53=16", "432/16=27" ]
Current State: 27:[8, 53, 54, 69], Operations: [] Exploring Operation: 8*54=432, Resulting Numbers: [53, 69, 432] Generated Node #2: [53, 69, 432] from Operation: 8*54=432 Current State: 27:[53, 69, 432], Operations: ['8*54=432'] Exploring Operation: 69-53=16, Resulting Numbers: [432, 16] Generated Node #3: [432, 16] from Operation: 69-53=16 Current State: 27:[432, 16], Operations: ['8*54=432', '69-53=16'] Exploring Operation: 432/16=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 53, 54, 69], Operations: [] Exploring Operation: 69-54=15, Resulting Numbers: [8, 53, 15] Generated Node #0,0: 27:[8, 53, 15] Operation: 69-54=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[8, 53, 15], Operations: ['69-54=15'] Exploring Operation: 53-15=38, Resulting Numbers: [8, 38] Generated Node #0,0,0: 27:[8, 38] Operation: 53-15=38 Moving to Node #0,0,0 Current State: 27:[8, 38], Operations: ['69-54=15', '53-15=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 4, 27, 90, 24 ]
33
[ "4*24=96", "90-27=63", "96-63=33" ]
Current State: 33:[4, 27, 90, 24], Operations: [] Exploring Operation: 4*24=96, Resulting Numbers: [27, 90, 96] Generated Node #2: [27, 90, 96] from Operation: 4*24=96 Current State: 33:[27, 90, 96], Operations: ['4*24=96'] Exploring Operation: 90-27=63, Resulting Numbers: [96, 63] Generated Node #3: [96, 63] from Operation: 90-27=63 Current State: 33:[96, 63], Operations: ['4*24=96', '90-27=63'] Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[4, 27, 90, 24], Operations: [] Exploring Operation: 90-24=66, Resulting Numbers: [4, 27, 66] Generated Node #0,0: 33:[4, 27, 66] Operation: 90-24=66 Exploring Operation: 90-27=63, Resulting Numbers: [4, 24, 63] Generated Node #0,1: 33:[4, 24, 63] Operation: 90-27=63 Moving to Node #0,0 Current State: 33:[4, 27, 66], Operations: ['90-24=66'] Exploring Operation: 66-27=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 33:[4, 39] Operation: 66-27=39 Exploring Operation: 4+27=31, Resulting Numbers: [66, 31] Generated Node #0,0,1: 33:[66, 31] Operation: 4+27=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[4, 39], Operations: ['90-24=66', '66-27=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,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,0,1 Current State: 33:[66, 31], Operations: ['90-24=66', '4+27=31'] Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,33 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 33:[4, 24, 63], Operations: ['90-27=63'] Exploring Operation: 63-24=39, Resulting Numbers: [4, 39] Generated Node #0,1,0: 33:[4, 39] Operation: 63-24=39 Exploring Operation: 24/4=6, Resulting Numbers: [63, 6] Generated Node #0,1,1: 33:[63, 6] Operation: 24/4=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[4, 39], Operations: ['90-27=63', '63-24=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,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,1,1 Current State: 33:[63, 6], Operations: ['90-27=63', '24/4=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,33 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
[ 33, 21, 11, 8 ]
44
[ "33-21=12", "12-8=4", "11*4=44" ]
Current State: 44:[33, 21, 11, 8], Operations: [] Exploring Operation: 33-21=12, Resulting Numbers: [11, 8, 12] Generated Node #2: [11, 8, 12] from Operation: 33-21=12 Current State: 44:[11, 8, 12], Operations: ['33-21=12'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 12-8=4 Current State: 44:[11, 4], Operations: ['33-21=12', '12-8=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[33, 21, 11, 8], Operations: [] Exploring Operation: 33+11=44, Resulting Numbers: [21, 8, 44] Generated Node #0,0: 44:[21, 8, 44] Operation: 33+11=44 Exploring Operation: 33-21=12, Resulting Numbers: [11, 8, 12] Generated Node #0,1: 44:[11, 8, 12] Operation: 33-21=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[21, 8, 44], Operations: ['33+11=44'] Exploring Operation: 44-21=23, Resulting Numbers: [8, 23] Generated Node #0,0,0: 44:[8, 23] Operation: 44-21=23 Exploring Operation: 21-8=13, Resulting Numbers: [44, 13] Generated Node #0,0,1: 44:[44, 13] Operation: 21-8=13 Moving to Node #0,0,1 Current State: 44:[44, 13], Operations: ['33+11=44', '21-8=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[8, 23], Operations: ['33+11=44', '44-21=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,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:[11, 8, 12], Operations: ['33-21=12'] Exploring Operation: 11-8=3, Resulting Numbers: [12, 3] Generated Node #0,1,0: 44:[12, 3] Operation: 11-8=3 Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 44:[11, 4] Operation: 12-8=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[11, 4], Operations: ['33-21=12', '12-8=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[33, 21, 11, 8], Operations: [] Exploring Operation: 33-21=12, Resulting Numbers: [11, 8, 12] Generated Node #0,1: 44:[11, 8, 12] Operation: 33-21=12 Moving to Node #0,1 Current State: 44:[11, 8, 12], Operations: ['33-21=12'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 44:[11, 4] Operation: 12-8=4 Moving to Node #0,1,1 Current State: 44:[11, 4], Operations: ['33-21=12', '12-8=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 96, 9, 75, 15 ]
92
[ "96-9=87", "75/15=5", "87+5=92" ]
Current State: 92:[96, 9, 75, 15], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [75, 15, 87] Generated Node #2: [75, 15, 87] from Operation: 96-9=87 Current State: 92:[75, 15, 87], Operations: ['96-9=87'] Exploring Operation: 75/15=5, Resulting Numbers: [87, 5] Generated Node #3: [87, 5] from Operation: 75/15=5 Current State: 92:[87, 5], Operations: ['96-9=87', '75/15=5'] Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[96, 9, 75, 15], Operations: [] Exploring Operation: 9+75=84, Resulting Numbers: [96, 15, 84] Generated Node #0,0: 92:[96, 15, 84] Operation: 9+75=84 Exploring Operation: 75/15=5, Resulting Numbers: [96, 9, 5] Generated Node #0,1: 92:[96, 9, 5] Operation: 75/15=5 Exploring Operation: 75+15=90, Resulting Numbers: [96, 9, 90] Generated Node #0,2: 92:[96, 9, 90] Operation: 75+15=90 Exploring Operation: 96-75=21, Resulting Numbers: [9, 15, 21] Generated Node #0,3: 92:[9, 15, 21] Operation: 96-75=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[96, 9, 5], Operations: ['75/15=5'] Exploring Operation: 96-9=87, Resulting Numbers: [5, 87] Generated Node #0,1,0: 92:[5, 87] Operation: 96-9=87 Exploring Operation: 9*5=45, Resulting Numbers: [96, 45] Generated Node #0,1,1: 92:[96, 45] Operation: 9*5=45 Exploring Operation: 96-5=91, Resulting Numbers: [9, 91] Generated Node #0,1,2: 92:[9, 91] Operation: 96-5=91 Exploring Operation: 9-5=4, Resulting Numbers: [96, 4] Generated Node #0,1,3: 92:[96, 4] Operation: 9-5=4 Moving to Node #0,1,3 Current State: 92:[96, 4], Operations: ['75/15=5', '9-5=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[96, 9, 75, 15], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [96, 9, 5] Generated Node #0,1: 92:[96, 9, 5] Operation: 75/15=5 Moving to Node #0,1 Current State: 92:[96, 9, 5], Operations: ['75/15=5'] Exploring Operation: 9-5=4, Resulting Numbers: [96, 4] Generated Node #0,1,3: 92:[96, 4] Operation: 9-5=4 Moving to Node #0,1,3 Current State: 92:[96, 4], Operations: ['75/15=5', '9-5=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 77, 95, 50, 68 ]
54
[ "77+95=172", "50+68=118", "172-118=54" ]
Current State: 54:[77, 95, 50, 68], Operations: [] Exploring Operation: 77+95=172, Resulting Numbers: [50, 68, 172] Generated Node #2: [50, 68, 172] from Operation: 77+95=172 Current State: 54:[50, 68, 172], Operations: ['77+95=172'] Exploring Operation: 50+68=118, Resulting Numbers: [172, 118] Generated Node #3: [172, 118] from Operation: 50+68=118 Current State: 54:[172, 118], Operations: ['77+95=172', '50+68=118'] Exploring Operation: 172-118=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[77, 95, 50, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [77, 50, 27] Generated Node #0,0: 54:[77, 50, 27] Operation: 95-68=27 Exploring Operation: 95-77=18, Resulting Numbers: [50, 68, 18] Generated Node #0,1: 54:[50, 68, 18] Operation: 95-77=18 Exploring Operation: 77-68=9, Resulting Numbers: [95, 50, 9] Generated Node #0,2: 54:[95, 50, 9] Operation: 77-68=9 Exploring Operation: 95-50=45, Resulting Numbers: [77, 68, 45] Generated Node #0,3: 54:[77, 68, 45] Operation: 95-50=45 Exploring Operation: 77-50=27, Resulting Numbers: [95, 68, 27] Generated Node #0,4: 54:[95, 68, 27] Operation: 77-50=27 Moving to Node #0,1 Current State: 54:[50, 68, 18], Operations: ['95-77=18'] Exploring Operation: 68-50=18, Resulting Numbers: [18, 18] Generated Node #0,1,0: 54:[18, 18] Operation: 68-50=18 Exploring Operation: 68+18=86, Resulting Numbers: [50, 86] Generated Node #0,1,1: 54:[50, 86] Operation: 68+18=86 Exploring Operation: 50+18=68, Resulting Numbers: [68, 68] Generated Node #0,1,2: 54:[68, 68] Operation: 50+18=68 Exploring Operation: 50-18=32, Resulting Numbers: [68, 32] Generated Node #0,1,3: 54:[68, 32] Operation: 50-18=32 Exploring Operation: 68-18=50, Resulting Numbers: [50, 50] Generated Node #0,1,4: 54:[50, 50] Operation: 68-18=50 Moving to Node #0,0 Current State: 54:[77, 50, 27], Operations: ['95-68=27'] Exploring Operation: 77+27=104, Resulting Numbers: [50, 104] Generated Node #0,0,0: 54:[50, 104] Operation: 77+27=104 Exploring Operation: 77-50=27, Resulting Numbers: [27, 27] Generated Node #0,0,1: 54:[27, 27] Operation: 77-50=27 Exploring Operation: 77-27=50, Resulting Numbers: [50, 50] Generated Node #0,0,2: 54:[50, 50] Operation: 77-27=50 Exploring Operation: 50+27=77, Resulting Numbers: [77, 77] Generated Node #0,0,3: 54:[77, 77] Operation: 50+27=77 Exploring Operation: 50-27=23, Resulting Numbers: [77, 23] Generated Node #0,0,4: 54:[77, 23] Operation: 50-27=23 Moving to Node #0,2 Current State: 54:[95, 50, 9], Operations: ['77-68=9'] Exploring Operation: 95+9=104, Resulting Numbers: [50, 104] Generated Node #0,2,0: 54:[50, 104] Operation: 95+9=104 Exploring Operation: 50+9=59, Resulting Numbers: [95, 59] Generated Node #0,2,1: 54:[95, 59] Operation: 50+9=59 Exploring Operation: 95-9=86, Resulting Numbers: [50, 86] Generated Node #0,2,2: 54:[50, 86] Operation: 95-9=86 Exploring Operation: 95-50=45, Resulting Numbers: [9, 45] Generated Node #0,2,3: 54:[9, 45] Operation: 95-50=45 Exploring Operation: 50-9=41, Resulting Numbers: [95, 41] Generated Node #0,2,4: 54:[95, 41] Operation: 50-9=41 Moving to Node #0,3 Current State: 54:[77, 68, 45], Operations: ['95-50=45'] Exploring Operation: 77-68=9, Resulting Numbers: [45, 9] Generated Node #0,3,0: 54:[45, 9] Operation: 77-68=9 Exploring Operation: 68-45=23, Resulting Numbers: [77, 23] Generated Node #0,3,1: 54:[77, 23] Operation: 68-45=23 Exploring Operation: 68+45=113, Resulting Numbers: [77, 113] Generated Node #0,3,2: 54:[77, 113] Operation: 68+45=113 Exploring Operation: 77+45=122, Resulting Numbers: [68, 122] Generated Node #0,3,3: 54:[68, 122] Operation: 77+45=122 Exploring Operation: 77-45=32, Resulting Numbers: [68, 32] Generated Node #0,3,4: 54:[68, 32] Operation: 77-45=32 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[45, 9], Operations: ['95-50=45', '77-68=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[77, 95, 50, 68], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [77, 68, 45] Generated Node #0,3: 54:[77, 68, 45] Operation: 95-50=45 Moving to Node #0,3 Current State: 54:[77, 68, 45], Operations: ['95-50=45'] Exploring Operation: 77-68=9, Resulting Numbers: [45, 9] Generated Node #0,3,0: 54:[45, 9] Operation: 77-68=9 Moving to Node #0,3,0 Current State: 54:[45, 9], Operations: ['95-50=45', '77-68=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
sum_heuristic
[ 27, 34, 6, 97 ]
42
[ "27+34=61", "6+97=103", "103-61=42" ]
Current State: 42:[27, 34, 6, 97], Operations: [] Exploring Operation: 27+34=61, Resulting Numbers: [6, 97, 61] Generated Node #2: [6, 97, 61] from Operation: 27+34=61 Current State: 42:[6, 97, 61], Operations: ['27+34=61'] Exploring Operation: 6+97=103, Resulting Numbers: [61, 103] Generated Node #3: [61, 103] from Operation: 6+97=103 Current State: 42:[61, 103], Operations: ['27+34=61', '6+97=103'] Exploring Operation: 103-61=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[27, 34, 6, 97], Operations: [] Exploring Operation: 97-34=63, Resulting Numbers: [27, 6, 63] Generated Node #0,0: 42:[27, 6, 63] Operation: 97-34=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[27, 6, 63], Operations: ['97-34=63'] Exploring Operation: 63-27=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 42:[6, 36] Operation: 63-27=36 Moving to Node #0,0,0 Current State: 42:[6, 36], Operations: ['97-34=63', '63-27=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[27, 34, 6, 97], Operations: [] Exploring Operation: 97-34=63, Resulting Numbers: [27, 6, 63] Generated Node #0,0: 42:[27, 6, 63] Operation: 97-34=63 Moving to Node #0,0 Current State: 42:[27, 6, 63], Operations: ['97-34=63'] Exploring Operation: 63-27=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 42:[6, 36] Operation: 63-27=36 Moving to Node #0,0,0 Current State: 42:[6, 36], Operations: ['97-34=63', '63-27=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 34, 60, 62, 49 ]
32
[ "62-60=2", "34/2=17", "49-17=32" ]
Current State: 32:[34, 60, 62, 49], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [34, 49, 2] Generated Node #2: [34, 49, 2] from Operation: 62-60=2 Current State: 32:[34, 49, 2], Operations: ['62-60=2'] Exploring Operation: 34/2=17, Resulting Numbers: [49, 17] Generated Node #3: [49, 17] from Operation: 34/2=17 Current State: 32:[49, 17], Operations: ['62-60=2', '34/2=17'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[34, 60, 62, 49], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [34, 49, 2] Generated Node #0,0: 32:[34, 49, 2] Operation: 62-60=2 Exploring Operation: 60-49=11, Resulting Numbers: [34, 62, 11] Generated Node #0,1: 32:[34, 62, 11] Operation: 60-49=11 Exploring Operation: 62-49=13, Resulting Numbers: [34, 60, 13] Generated Node #0,2: 32:[34, 60, 13] Operation: 62-49=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[34, 49, 2], Operations: ['62-60=2'] Exploring Operation: 49-2=47, Resulting Numbers: [34, 47] Generated Node #0,0,0: 32:[34, 47] Operation: 49-2=47 Exploring Operation: 34-2=32, Resulting Numbers: [49, 32] Generated Node #0,0,1: 32:[49, 32] Operation: 34-2=32 Exploring Operation: 49-34=15, Resulting Numbers: [2, 15] Generated Node #0,0,2: 32:[2, 15] Operation: 49-34=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[2, 15], Operations: ['62-60=2', '49-34=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[34, 47], Operations: ['62-60=2', '49-2=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,32 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[49, 32], Operations: ['62-60=2', '34-2=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,32 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[34, 60, 13], Operations: ['62-49=13'] Exploring Operation: 34-13=21, Resulting Numbers: [60, 21] Generated Node #0,2,0: 32:[60, 21] Operation: 34-13=21 Exploring Operation: 60-34=26, Resulting Numbers: [13, 26] Generated Node #0,2,1: 32:[13, 26] Operation: 60-34=26 Exploring Operation: 60-13=47, Resulting Numbers: [34, 47] Generated Node #0,2,2: 32:[34, 47] Operation: 60-13=47 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[13, 26], Operations: ['62-49=13', '60-34=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[34, 47], Operations: ['62-49=13', '60-13=47'] Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,32 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[60, 21], Operations: ['62-49=13', '34-13=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[34, 62, 11], Operations: ['60-49=11'] Exploring Operation: 62-11=51, Resulting Numbers: [34, 51] Generated Node #0,1,0: 32:[34, 51] Operation: 62-11=51 Exploring Operation: 62-34=28, Resulting Numbers: [11, 28] Generated Node #0,1,1: 32:[11, 28] Operation: 62-34=28 Exploring Operation: 34-11=23, Resulting Numbers: [62, 23] Generated Node #0,1,2: 32:[62, 23] Operation: 34-11=23 Moving to Node #0,1,1 Current State: 32:[11, 28], Operations: ['60-49=11', '62-34=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,32 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[34, 51], Operations: ['60-49=11', '62-11=51'] Exploring Operation: 34*51=1734, Resulting Numbers: [1734] 1734,32 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[62, 23], Operations: ['60-49=11', '34-11=23'] Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,32 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,32 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
[ 80, 57, 49, 77 ]
11
[ "80+57=137", "49+77=126", "137-126=11" ]
Current State: 11:[80, 57, 49, 77], Operations: [] Exploring Operation: 80+57=137, Resulting Numbers: [49, 77, 137] Generated Node #2: [49, 77, 137] from Operation: 80+57=137 Current State: 11:[49, 77, 137], Operations: ['80+57=137'] Exploring Operation: 49+77=126, Resulting Numbers: [137, 126] Generated Node #3: [137, 126] from Operation: 49+77=126 Current State: 11:[137, 126], Operations: ['80+57=137', '49+77=126'] Exploring Operation: 137-126=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[80, 57, 49, 77], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [57, 49, 3] Generated Node #0,0: 11:[57, 49, 3] Operation: 80-77=3 Exploring Operation: 80-57=23, Resulting Numbers: [49, 77, 23] Generated Node #0,1: 11:[49, 77, 23] Operation: 80-57=23 Moving to Node #0,0 Current State: 11:[57, 49, 3], Operations: ['80-77=3'] Exploring Operation: 57/3=19, Resulting Numbers: [49, 19] Generated Node #0,0,0: 11:[49, 19] Operation: 57/3=19 Exploring Operation: 57-49=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 11:[3, 8] Operation: 57-49=8 Moving to Node #0,1 Current State: 11:[49, 77, 23], Operations: ['80-57=23'] Exploring Operation: 49-23=26, Resulting Numbers: [77, 26] Generated Node #0,1,0: 11:[77, 26] Operation: 49-23=26 Exploring Operation: 77-49=28, Resulting Numbers: [23, 28] Generated Node #0,1,1: 11:[23, 28] Operation: 77-49=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[23, 28], Operations: ['80-57=23', '77-49=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[77, 26], Operations: ['80-57=23', '49-23=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 11:[3, 8], Operations: ['80-77=3', '57-49=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[80, 57, 49, 77], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [57, 49, 3] Generated Node #0,0: 11:[57, 49, 3] Operation: 80-77=3 Moving to Node #0,0 Current State: 11:[57, 49, 3], Operations: ['80-77=3'] Exploring Operation: 57-49=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 11:[3, 8] Operation: 57-49=8 Moving to Node #0,0,1 Current State: 11:[3, 8], Operations: ['80-77=3', '57-49=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 6, 52, 8, 2 ]
17
[ "52+2=54", "54/6=9", "8+9=17" ]
Current State: 17:[6, 52, 8, 2], Operations: [] Exploring Operation: 52+2=54, Resulting Numbers: [6, 8, 54] Generated Node #2: [6, 8, 54] from Operation: 52+2=54 Current State: 17:[6, 8, 54], Operations: ['52+2=54'] Exploring Operation: 54/6=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 54/6=9 Current State: 17:[8, 9], Operations: ['52+2=54', '54/6=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[6, 52, 8, 2], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [6, 52, 16] Generated Node #0,0: 17:[6, 52, 16] Operation: 8*2=16 Exploring Operation: 52/2=26, Resulting Numbers: [6, 8, 26] Generated Node #0,1: 17:[6, 8, 26] Operation: 52/2=26 Exploring Operation: 6*2=12, Resulting Numbers: [52, 8, 12] Generated Node #0,2: 17:[52, 8, 12] Operation: 6*2=12 Exploring Operation: 52-6=46, Resulting Numbers: [8, 2, 46] Generated Node #0,3: 17:[8, 2, 46] Operation: 52-6=46 Moving to Node #0,1 Current State: 17:[6, 8, 26], Operations: ['52/2=26'] Exploring Operation: 6+8=14, Resulting Numbers: [26, 14] Generated Node #0,1,0: 17:[26, 14] Operation: 6+8=14 Exploring Operation: 26-8=18, Resulting Numbers: [6, 18] Generated Node #0,1,1: 17:[6, 18] Operation: 26-8=18 Exploring Operation: 8-6=2, Resulting Numbers: [26, 2] Generated Node #0,1,2: 17:[26, 2] Operation: 8-6=2 Exploring Operation: 26-6=20, Resulting Numbers: [8, 20] Generated Node #0,1,3: 17:[8, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[26, 14], Operations: ['52/2=26', '6+8=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,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,1,1 Current State: 17:[6, 18], Operations: ['52/2=26', '26-8=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,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,1,3 Current State: 17:[8, 20], Operations: ['52/2=26', '26-6=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,17 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,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,1,2 Current State: 17:[26, 2], Operations: ['52/2=26', '8-6=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,17 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: 17:[6, 52, 16], Operations: ['8*2=16'] Exploring Operation: 52-16=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 17:[6, 36] Operation: 52-16=36 Exploring Operation: 6+16=22, Resulting Numbers: [52, 22] Generated Node #0,0,1: 17:[52, 22] Operation: 6+16=22 Exploring Operation: 52-6=46, Resulting Numbers: [16, 46] Generated Node #0,0,2: 17:[16, 46] Operation: 52-6=46 Exploring Operation: 6+52=58, Resulting Numbers: [16, 58] Generated Node #0,0,3: 17:[16, 58] Operation: 6+52=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[6, 36], Operations: ['8*2=16', '52-16=36'] Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,17 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,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,2 Current State: 17:[16, 46], Operations: ['8*2=16', '52-6=46'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,17 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,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:[52, 22], Operations: ['8*2=16', '6+16=22'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,17 unequal: No Solution Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,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:[16, 58], Operations: ['8*2=16', '6+52=58'] Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,17 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,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:[52, 8, 12], Operations: ['6*2=12'] Exploring Operation: 8+12=20, Resulting Numbers: [52, 20] Generated Node #0,2,0: 17:[52, 20] Operation: 8+12=20 Exploring Operation: 52-12=40, Resulting Numbers: [8, 40] Generated Node #0,2,1: 17:[8, 40] Operation: 52-12=40 Exploring Operation: 52+8=60, Resulting Numbers: [12, 60] Generated Node #0,2,2: 17:[12, 60] Operation: 52+8=60 Exploring Operation: 52-8=44, Resulting Numbers: [12, 44] Generated Node #0,2,3: 17:[12, 44] Operation: 52-8=44 Moving to Node #0,3 Current State: 17:[8, 2, 46], Operations: ['52-6=46'] Exploring Operation: 8*2=16, Resulting Numbers: [46, 16] Generated Node #0,3,0: 17:[46, 16] Operation: 8*2=16 Exploring Operation: 8+2=10, Resulting Numbers: [46, 10] Generated Node #0,3,1: 17:[46, 10] Operation: 8+2=10 Exploring Operation: 46-8=38, Resulting Numbers: [2, 38] Generated Node #0,3,2: 17:[2, 38] Operation: 46-8=38 Exploring Operation: 46/2=23, Resulting Numbers: [8, 23] Generated Node #0,3,3: 17:[8, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[8, 23], Operations: ['52-6=46', '46/2=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,17 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,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:[46, 16], Operations: ['52-6=46', '8*2=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,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:[46, 10], Operations: ['52-6=46', '8+2=10'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,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:[2, 38], Operations: ['52-6=46', '46-8=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,17 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: 17:[8, 40], Operations: ['6*2=12', '52-12=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[12, 44], Operations: ['6*2=12', '52-8=44'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[52, 20], Operations: ['6*2=12', '8+12=20'] Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,17 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[12, 60], Operations: ['6*2=12', '52+8=60'] Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,17 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 15, 40, 63, 86 ]
17
[ "40+86=126", "126/63=2", "15+2=17" ]
Current State: 17:[15, 40, 63, 86], Operations: [] Exploring Operation: 40+86=126, Resulting Numbers: [15, 63, 126] Generated Node #2: [15, 63, 126] from Operation: 40+86=126 Current State: 17:[15, 63, 126], Operations: ['40+86=126'] Exploring Operation: 126/63=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 126/63=2 Current State: 17:[15, 2], Operations: ['40+86=126', '126/63=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[15, 40, 63, 86], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [15, 40, 23] Generated Node #0,0: 17:[15, 40, 23] Operation: 86-63=23 Moving to Node #0,0 Current State: 17:[15, 40, 23], Operations: ['86-63=23'] Exploring Operation: 40-23=17, Resulting Numbers: [15, 17] Generated Node #0,0,0: 17:[15, 17] Operation: 40-23=17 Moving to Node #0,0,0 Current State: 17:[15, 17], Operations: ['86-63=23', '40-23=17'] Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 98, 41, 82, 85 ]
11
[ "98-85=13", "82/41=2", "13-2=11" ]
Current State: 11:[98, 41, 82, 85], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [41, 82, 13] Generated Node #2: [41, 82, 13] from Operation: 98-85=13 Current State: 11:[41, 82, 13], Operations: ['98-85=13'] Exploring Operation: 82/41=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 82/41=2 Current State: 11:[13, 2], Operations: ['98-85=13', '82/41=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[98, 41, 82, 85], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [41, 85, 16] Generated Node #0,0: 11:[41, 85, 16] Operation: 98-82=16 Exploring Operation: 85-82=3, Resulting Numbers: [98, 41, 3] Generated Node #0,1: 11:[98, 41, 3] Operation: 85-82=3 Exploring Operation: 98-85=13, Resulting Numbers: [41, 82, 13] Generated Node #0,2: 11:[41, 82, 13] Operation: 98-85=13 Moving to Node #0,2 Current State: 11:[41, 82, 13], Operations: ['98-85=13'] Exploring Operation: 82/41=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 11:[13, 2] Operation: 82/41=2 Exploring Operation: 41-13=28, Resulting Numbers: [82, 28] Generated Node #0,2,1: 11:[82, 28] Operation: 41-13=28 Exploring Operation: 82-41=41, Resulting Numbers: [13, 41] Generated Node #0,2,2: 11:[13, 41] Operation: 82-41=41 Moving to Node #0,0 Current State: 11:[41, 85, 16], Operations: ['98-82=16'] Exploring Operation: 85-16=69, Resulting Numbers: [41, 69] Generated Node #0,0,0: 11:[41, 69] Operation: 85-16=69 Exploring Operation: 85-41=44, Resulting Numbers: [16, 44] Generated Node #0,0,1: 11:[16, 44] Operation: 85-41=44 Exploring Operation: 41-16=25, Resulting Numbers: [85, 25] Generated Node #0,0,2: 11:[85, 25] Operation: 41-16=25 Moving to Node #0,1 Current State: 11:[98, 41, 3], Operations: ['85-82=3'] Exploring Operation: 41-3=38, Resulting Numbers: [98, 38] Generated Node #0,1,0: 11:[98, 38] Operation: 41-3=38 Exploring Operation: 98-3=95, Resulting Numbers: [41, 95] Generated Node #0,1,1: 11:[41, 95] Operation: 98-3=95 Exploring Operation: 98-41=57, Resulting Numbers: [3, 57] Generated Node #0,1,2: 11:[3, 57] Operation: 98-41=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[3, 57], Operations: ['85-82=3', '98-41=57'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[98, 38], Operations: ['85-82=3', '41-3=38'] Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,11 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[41, 95], Operations: ['85-82=3', '98-3=95'] Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 41+95=136, Resulting Numbers: [136] 136,11 unequal: No Solution Exploring Operation: 41*95=3895, Resulting Numbers: [3895] 3895,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 11:[13, 2], Operations: ['98-85=13', '82/41=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[98, 41, 82, 85], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [41, 82, 13] Generated Node #0,2: 11:[41, 82, 13] Operation: 98-85=13 Moving to Node #0,2 Current State: 11:[41, 82, 13], Operations: ['98-85=13'] Exploring Operation: 82/41=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 11:[13, 2] Operation: 82/41=2 Moving to Node #0,2,0 Current State: 11:[13, 2], Operations: ['98-85=13', '82/41=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 10, 74, 37, 3 ]
26
[ "10+3=13", "74/37=2", "13*2=26" ]
Current State: 26:[10, 74, 37, 3], Operations: [] Exploring Operation: 10+3=13, Resulting Numbers: [74, 37, 13] Generated Node #2: [74, 37, 13] from Operation: 10+3=13 Current State: 26:[74, 37, 13], Operations: ['10+3=13'] Exploring Operation: 74/37=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 74/37=2 Current State: 26:[13, 2], Operations: ['10+3=13', '74/37=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 74, 37, 3], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [10, 3, 2] Generated Node #0,0: 26:[10, 3, 2] Operation: 74/37=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[10, 3, 2], Operations: ['74/37=2'] Exploring Operation: 10+3=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 10+3=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['74/37=2', '10+3=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[10, 74, 37, 3], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [10, 3, 2] Generated Node #0,0: 26:[10, 3, 2] Operation: 74/37=2 Moving to Node #0,0 Current State: 26:[10, 3, 2], Operations: ['74/37=2'] Exploring Operation: 10+3=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 10+3=13 Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['74/37=2', '10+3=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 30, 19, 34, 74 ]
37
[ "34-19=15", "30/15=2", "74/2=37" ]
Current State: 37:[30, 19, 34, 74], Operations: [] Exploring Operation: 34-19=15, Resulting Numbers: [30, 74, 15] Generated Node #2: [30, 74, 15] from Operation: 34-19=15 Current State: 37:[30, 74, 15], Operations: ['34-19=15'] Exploring Operation: 30/15=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 30/15=2 Current State: 37:[74, 2], Operations: ['34-19=15', '30/15=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[30, 19, 34, 74], Operations: [] Exploring Operation: 74-30=44, Resulting Numbers: [19, 34, 44] Generated Node #0,0: 37:[19, 34, 44] Operation: 74-30=44 Exploring Operation: 74-19=55, Resulting Numbers: [30, 34, 55] Generated Node #0,1: 37:[30, 34, 55] Operation: 74-19=55 Exploring Operation: 74-34=40, Resulting Numbers: [30, 19, 40] Generated Node #0,2: 37:[30, 19, 40] Operation: 74-34=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[19, 34, 44], Operations: ['74-30=44'] Exploring Operation: 19+34=53, Resulting Numbers: [44, 53] Generated Node #0,0,0: 37:[44, 53] Operation: 19+34=53 Exploring Operation: 44-19=25, Resulting Numbers: [34, 25] Generated Node #0,0,1: 37:[34, 25] Operation: 44-19=25 Exploring Operation: 34-19=15, Resulting Numbers: [44, 15] Generated Node #0,0,2: 37:[44, 15] Operation: 34-19=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[34, 25], Operations: ['74-30=44', '44-19=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,37 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,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:[44, 53], Operations: ['74-30=44', '19+34=53'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 44*53=2332, Resulting Numbers: [2332] 2332,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:[44, 15], Operations: ['74-30=44', '34-19=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,37 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,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,1 Current State: 37:[30, 34, 55], Operations: ['74-19=55'] Exploring Operation: 55-34=21, Resulting Numbers: [30, 21] Generated Node #0,1,0: 37:[30, 21] Operation: 55-34=21 Exploring Operation: 55-30=25, Resulting Numbers: [34, 25] Generated Node #0,1,1: 37:[34, 25] Operation: 55-30=25 Exploring Operation: 30+34=64, Resulting Numbers: [55, 64] Generated Node #0,1,2: 37:[55, 64] Operation: 30+34=64 Moving to Node #0,1,1 Current State: 37:[34, 25], Operations: ['74-19=55', '55-30=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[30, 21], Operations: ['74-19=55', '55-34=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,37 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[55, 64], Operations: ['74-19=55', '30+34=64'] Exploring Operation: 55*64=3520, Resulting Numbers: [3520] 3520,37 unequal: No Solution Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,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:[30, 19, 40], Operations: ['74-34=40'] Exploring Operation: 30-19=11, Resulting Numbers: [40, 11] Generated Node #0,2,0: 37:[40, 11] Operation: 30-19=11 Exploring Operation: 40-19=21, Resulting Numbers: [30, 21] Generated Node #0,2,1: 37:[30, 21] Operation: 40-19=21 Exploring Operation: 30+19=49, Resulting Numbers: [40, 49] Generated Node #0,2,2: 37:[40, 49] Operation: 30+19=49 Moving to Node #0,2,2 Current State: 37:[40, 49], Operations: ['74-34=40', '30+19=49'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,37 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[30, 21], Operations: ['74-34=40', '40-19=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[40, 11], Operations: ['74-34=40', '30-19=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,37 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,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
mult_heuristic
[ 96, 7, 98, 44 ]
66
[ "96-44=52", "98/7=14", "52+14=66" ]
Current State: 66:[96, 7, 98, 44], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [7, 98, 52] Generated Node #2: [7, 98, 52] from Operation: 96-44=52 Current State: 66:[7, 98, 52], Operations: ['96-44=52'] Exploring Operation: 98/7=14, Resulting Numbers: [52, 14] Generated Node #3: [52, 14] from Operation: 98/7=14 Current State: 66:[52, 14], Operations: ['96-44=52', '98/7=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[96, 7, 98, 44], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [96, 7, 54] Generated Node #0,0: 66:[96, 7, 54] Operation: 98-44=54 Exploring Operation: 98-96=2, Resulting Numbers: [7, 44, 2] Generated Node #0,1: 66:[7, 44, 2] Operation: 98-96=2 Exploring Operation: 96-44=52, Resulting Numbers: [7, 98, 52] Generated Node #0,2: 66:[7, 98, 52] Operation: 96-44=52 Exploring Operation: 98/7=14, Resulting Numbers: [96, 44, 14] Generated Node #0,3: 66:[96, 44, 14] Operation: 98/7=14 Moving to Node #0,1 Current State: 66:[7, 44, 2], Operations: ['98-96=2'] Exploring Operation: 44/2=22, Resulting Numbers: [7, 22] Generated Node #0,1,0: 66:[7, 22] Operation: 44/2=22 Exploring Operation: 7-2=5, Resulting Numbers: [44, 5] Generated Node #0,1,1: 66:[44, 5] Operation: 7-2=5 Exploring Operation: 44-7=37, Resulting Numbers: [2, 37] Generated Node #0,1,2: 66:[2, 37] Operation: 44-7=37 Exploring Operation: 44-2=42, Resulting Numbers: [7, 42] Generated Node #0,1,3: 66:[7, 42] Operation: 44-2=42 Moving to Node #0,0 Current State: 66:[96, 7, 54], Operations: ['98-44=54'] Exploring Operation: 54-7=47, Resulting Numbers: [96, 47] Generated Node #0,0,0: 66:[96, 47] Operation: 54-7=47 Exploring Operation: 7+54=61, Resulting Numbers: [96, 61] Generated Node #0,0,1: 66:[96, 61] Operation: 7+54=61 Exploring Operation: 96-54=42, Resulting Numbers: [7, 42] Generated Node #0,0,2: 66:[7, 42] Operation: 96-54=42 Exploring Operation: 96-7=89, Resulting Numbers: [54, 89] Generated Node #0,0,3: 66:[54, 89] Operation: 96-7=89 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[7, 42], Operations: ['98-44=54', '96-54=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,66 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[96, 61], Operations: ['98-44=54', '7+54=61'] Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 96+61=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 96*61=5856, Resulting Numbers: [5856] 5856,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[54, 89], Operations: ['98-44=54', '96-7=89'] Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,66 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[96, 47], Operations: ['98-44=54', '54-7=47'] Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,66 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 96*47=4512, Resulting Numbers: [4512] 4512,66 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: 66:[96, 44, 14], Operations: ['98/7=14'] Exploring Operation: 96-44=52, Resulting Numbers: [14, 52] Generated Node #0,3,0: 66:[14, 52] Operation: 96-44=52 Exploring Operation: 44+14=58, Resulting Numbers: [96, 58] Generated Node #0,3,1: 66:[96, 58] Operation: 44+14=58 Exploring Operation: 96-14=82, Resulting Numbers: [44, 82] Generated Node #0,3,2: 66:[44, 82] Operation: 96-14=82 Exploring Operation: 44-14=30, Resulting Numbers: [96, 30] Generated Node #0,3,3: 66:[96, 30] Operation: 44-14=30 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[14, 52], Operations: ['98/7=14', '96-44=52'] Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,66 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[96, 7, 98, 44], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [96, 44, 14] Generated Node #0,3: 66:[96, 44, 14] Operation: 98/7=14 Moving to Node #0,3 Current State: 66:[96, 44, 14], Operations: ['98/7=14'] Exploring Operation: 96-44=52, Resulting Numbers: [14, 52] Generated Node #0,3,0: 66:[14, 52] Operation: 96-44=52 Moving to Node #0,3,0 Current State: 66:[14, 52], Operations: ['98/7=14', '96-44=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 45, 31, 15, 84 ]
90
[ "45-31=14", "15*84=1260", "1260/14=90" ]
Current State: 90:[45, 31, 15, 84], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [15, 84, 14] Generated Node #2: [15, 84, 14] from Operation: 45-31=14 Current State: 90:[15, 84, 14], Operations: ['45-31=14'] Exploring Operation: 15*84=1260, Resulting Numbers: [14, 1260] Generated Node #3: [14, 1260] from Operation: 15*84=1260 Current State: 90:[14, 1260], Operations: ['45-31=14', '15*84=1260'] Exploring Operation: 1260/14=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[45, 31, 15, 84], Operations: [] Exploring Operation: 31+15=46, Resulting Numbers: [45, 84, 46] Generated Node #0,0: 90:[45, 84, 46] Operation: 31+15=46 Exploring Operation: 45/15=3, Resulting Numbers: [31, 84, 3] Generated Node #0,1: 90:[31, 84, 3] Operation: 45/15=3 Exploring Operation: 84-45=39, Resulting Numbers: [31, 15, 39] Generated Node #0,2: 90:[31, 15, 39] Operation: 84-45=39 Exploring Operation: 45-15=30, Resulting Numbers: [31, 84, 30] Generated Node #0,3: 90:[31, 84, 30] Operation: 45-15=30 Exploring Operation: 45-31=14, Resulting Numbers: [15, 84, 14] Generated Node #0,4: 90:[15, 84, 14] Operation: 45-31=14 Moving to Node #0,0 Current State: 90:[45, 84, 46], Operations: ['31+15=46'] Exploring Operation: 46-45=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 90:[84, 1] Operation: 46-45=1 Exploring Operation: 45+46=91, Resulting Numbers: [84, 91] Generated Node #0,0,1: 90:[84, 91] Operation: 45+46=91 Exploring Operation: 45+84=129, Resulting Numbers: [46, 129] Generated Node #0,0,2: 90:[46, 129] Operation: 45+84=129 Exploring Operation: 84-46=38, Resulting Numbers: [45, 38] Generated Node #0,0,3: 90:[45, 38] Operation: 84-46=38 Exploring Operation: 84-45=39, Resulting Numbers: [46, 39] Generated Node #0,0,4: 90:[46, 39] Operation: 84-45=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[84, 1], Operations: ['31+15=46', '46-45=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,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,0,1 Current State: 90:[84, 91], Operations: ['31+15=46', '45+46=91'] Exploring Operation: 84+91=175, Resulting Numbers: [175] 175,90 unequal: No Solution Exploring Operation: 84*91=7644, Resulting Numbers: [7644] 7644,90 unequal: No Solution Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,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,0,3 Current State: 90:[45, 38], Operations: ['31+15=46', '84-46=38'] Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,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,0,4 Current State: 90:[46, 39], Operations: ['31+15=46', '84-45=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,90 unequal: No Solution Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,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,0,2 Current State: 90:[46, 129], Operations: ['31+15=46', '45+84=129'] Exploring Operation: 129-46=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 46+129=175, Resulting Numbers: [175] 175,90 unequal: No Solution Exploring Operation: 46*129=5934, Resulting Numbers: [5934] 5934,90 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: 90:[31, 15, 39], Operations: ['84-45=39'] Exploring Operation: 31+15=46, Resulting Numbers: [39, 46] Generated Node #0,2,0: 90:[39, 46] Operation: 31+15=46 Exploring Operation: 39-15=24, Resulting Numbers: [31, 24] Generated Node #0,2,1: 90:[31, 24] Operation: 39-15=24 Exploring Operation: 31-15=16, Resulting Numbers: [39, 16] Generated Node #0,2,2: 90:[39, 16] Operation: 31-15=16 Exploring Operation: 39-31=8, Resulting Numbers: [15, 8] Generated Node #0,2,3: 90:[15, 8] Operation: 39-31=8 Exploring Operation: 15+39=54, Resulting Numbers: [31, 54] Generated Node #0,2,4: 90:[31, 54] Operation: 15+39=54 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[15, 8], Operations: ['84-45=39', '39-31=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,90 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,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,2,0 Current State: 90:[39, 46], Operations: ['84-45=39', '31+15=46'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,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,2,1 Current State: 90:[31, 24], Operations: ['84-45=39', '39-15=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,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,2,2 Current State: 90:[39, 16], Operations: ['84-45=39', '31-15=16'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,90 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,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,2,4 Current State: 90:[31, 54], Operations: ['84-45=39', '15+39=54'] Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,90 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,90 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: 90:[15, 84, 14], Operations: ['45-31=14'] Exploring Operation: 15+14=29, Resulting Numbers: [84, 29] Generated Node #0,4,0: 90:[84, 29] Operation: 15+14=29 Exploring Operation: 84/14=6, Resulting Numbers: [15, 6] Generated Node #0,4,1: 90:[15, 6] Operation: 84/14=6 Exploring Operation: 15-14=1, Resulting Numbers: [84, 1] Generated Node #0,4,2: 90:[84, 1] Operation: 15-14=1 Exploring Operation: 15+84=99, Resulting Numbers: [14, 99] Generated Node #0,4,3: 90:[14, 99] Operation: 15+84=99 Exploring Operation: 84+14=98, Resulting Numbers: [15, 98] Generated Node #0,4,4: 90:[15, 98] Operation: 84+14=98 Moving to Node #0,1 Current State: 90:[31, 84, 3], Operations: ['45/15=3'] Exploring Operation: 84-31=53, Resulting Numbers: [3, 53] Generated Node #0,1,0: 90:[3, 53] Operation: 84-31=53 Exploring Operation: 31-3=28, Resulting Numbers: [84, 28] Generated Node #0,1,1: 90:[84, 28] Operation: 31-3=28 Exploring Operation: 84+3=87, Resulting Numbers: [31, 87] Generated Node #0,1,2: 90:[31, 87] Operation: 84+3=87 Exploring Operation: 84/3=28, Resulting Numbers: [31, 28] Generated Node #0,1,3: 90:[31, 28] Operation: 84/3=28 Exploring Operation: 31*3=93, Resulting Numbers: [84, 93] Generated Node #0,1,4: 90:[84, 93] Operation: 31*3=93 Moving to Node #0,3 Current State: 90:[31, 84, 30], Operations: ['45-15=30'] Exploring Operation: 31-30=1, Resulting Numbers: [84, 1] Generated Node #0,3,0: 90:[84, 1] Operation: 31-30=1 Exploring Operation: 31+30=61, Resulting Numbers: [84, 61] Generated Node #0,3,1: 90:[84, 61] Operation: 31+30=61 Exploring Operation: 31+84=115, Resulting Numbers: [30, 115] Generated Node #0,3,2: 90:[30, 115] Operation: 31+84=115 Exploring Operation: 84-30=54, Resulting Numbers: [31, 54] Generated Node #0,3,3: 90:[31, 54] Operation: 84-30=54 Exploring Operation: 84-31=53, Resulting Numbers: [30, 53] Generated Node #0,3,4: 90:[30, 53] Operation: 84-31=53 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[84, 1], Operations: ['45-15=30', '31-30=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,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,3,4 Current State: 90:[30, 53], Operations: ['45-15=30', '84-31=53'] Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,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,3,3 Current State: 90:[31, 54], Operations: ['45-15=30', '84-30=54'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,90 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,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,3,1 Current State: 90:[84, 61], Operations: ['45-15=30', '31+30=61'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,90 unequal: No Solution Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,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,3,2 Current State: 90:[30, 115], Operations: ['45-15=30', '31+84=115'] Exploring Operation: 30+115=145, Resulting Numbers: [145] 145,90 unequal: No Solution Exploring Operation: 115-30=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 30*115=3450, Resulting Numbers: [3450] 3450,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 90:[15, 6], Operations: ['45-31=14', '84/14=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[45, 31, 15, 84], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [15, 84, 14] Generated Node #0,4: 90:[15, 84, 14] Operation: 45-31=14 Moving to Node #0,4 Current State: 90:[15, 84, 14], Operations: ['45-31=14'] Exploring Operation: 84/14=6, Resulting Numbers: [15, 6] Generated Node #0,4,1: 90:[15, 6] Operation: 84/14=6 Moving to Node #0,4,1 Current State: 90:[15, 6], Operations: ['45-31=14', '84/14=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.927083
hs_5
sum_heuristic
[ 12, 74, 2, 21 ]
29
[ "12*2=24", "74-21=53", "53-24=29" ]
Current State: 29:[12, 74, 2, 21], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [74, 21, 24] Generated Node #2: [74, 21, 24] from Operation: 12*2=24 Current State: 29:[74, 21, 24], Operations: ['12*2=24'] Exploring Operation: 74-21=53, Resulting Numbers: [24, 53] Generated Node #3: [24, 53] from Operation: 74-21=53 Current State: 29:[24, 53], Operations: ['12*2=24', '74-21=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[12, 74, 2, 21], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [74, 21, 24] Generated Node #0,0: 29:[74, 21, 24] Operation: 12*2=24 Exploring Operation: 74/2=37, Resulting Numbers: [12, 21, 37] Generated Node #0,1: 29:[12, 21, 37] Operation: 74/2=37 Exploring Operation: 74-12=62, Resulting Numbers: [2, 21, 62] Generated Node #0,2: 29:[2, 21, 62] Operation: 74-12=62 Moving to Node #0,1 Current State: 29:[12, 21, 37], Operations: ['74/2=37'] Exploring Operation: 21-12=9, Resulting Numbers: [37, 9] Generated Node #0,1,0: 29:[37, 9] Operation: 21-12=9 Exploring Operation: 12+21=33, Resulting Numbers: [37, 33] Generated Node #0,1,1: 29:[37, 33] Operation: 12+21=33 Exploring Operation: 37-12=25, Resulting Numbers: [21, 25] Generated Node #0,1,2: 29:[21, 25] Operation: 37-12=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[37, 33], Operations: ['74/2=37', '12+21=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,29 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[21, 25], Operations: ['74/2=37', '37-12=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[37, 9], Operations: ['74/2=37', '21-12=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,29 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: 29:[74, 21, 24], Operations: ['12*2=24'] Exploring Operation: 74-21=53, Resulting Numbers: [24, 53] Generated Node #0,0,0: 29:[24, 53] Operation: 74-21=53 Exploring Operation: 74-24=50, Resulting Numbers: [21, 50] Generated Node #0,0,1: 29:[21, 50] Operation: 74-24=50 Exploring Operation: 21+24=45, Resulting Numbers: [74, 45] Generated Node #0,0,2: 29:[74, 45] Operation: 21+24=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[24, 53], Operations: ['12*2=24', '74-21=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[12, 74, 2, 21], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [74, 21, 24] Generated Node #0,0: 29:[74, 21, 24] Operation: 12*2=24 Moving to Node #0,0 Current State: 29:[74, 21, 24], Operations: ['12*2=24'] Exploring Operation: 74-21=53, Resulting Numbers: [24, 53] Generated Node #0,0,0: 29:[24, 53] Operation: 74-21=53 Moving to Node #0,0,0 Current State: 29:[24, 53], Operations: ['12*2=24', '74-21=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 30, 74, 71, 23 ]
92
[ "74-30=44", "71-23=48", "44+48=92" ]
Current State: 92:[30, 74, 71, 23], Operations: [] Exploring Operation: 74-30=44, Resulting Numbers: [71, 23, 44] Generated Node #2: [71, 23, 44] from Operation: 74-30=44 Current State: 92:[71, 23, 44], Operations: ['74-30=44'] Exploring Operation: 71-23=48, Resulting Numbers: [44, 48] Generated Node #3: [44, 48] from Operation: 71-23=48 Current State: 92:[44, 48], Operations: ['74-30=44', '71-23=48'] Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[30, 74, 71, 23], Operations: [] Exploring Operation: 71-30=41, Resulting Numbers: [74, 23, 41] Generated Node #0,0: 92:[74, 23, 41] Operation: 71-30=41 Exploring Operation: 74-71=3, Resulting Numbers: [30, 23, 3] Generated Node #0,1: 92:[30, 23, 3] Operation: 74-71=3 Exploring Operation: 74-30=44, Resulting Numbers: [71, 23, 44] Generated Node #0,2: 92:[71, 23, 44] Operation: 74-30=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[30, 23, 3], Operations: ['74-71=3'] Exploring Operation: 30-3=27, Resulting Numbers: [23, 27] Generated Node #0,1,0: 92:[23, 27] Operation: 30-3=27 Exploring Operation: 30*3=90, Resulting Numbers: [23, 90] Generated Node #0,1,1: 92:[23, 90] Operation: 30*3=90 Exploring Operation: 30-23=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 92:[3, 7] Operation: 30-23=7 Moving to Node #0,1,1 Current State: 92:[23, 90], Operations: ['74-71=3', '30*3=90'] Exploring Operation: 23+90=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 23*90=2070, Resulting Numbers: [2070] 2070,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[23, 27], Operations: ['74-71=3', '30-3=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[3, 7], Operations: ['74-71=3', '30-23=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,92 unequal: No Solution No 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: 92:[74, 23, 41], Operations: ['71-30=41'] Exploring Operation: 74-23=51, Resulting Numbers: [41, 51] Generated Node #0,0,0: 92:[41, 51] Operation: 74-23=51 Exploring Operation: 74+23=97, Resulting Numbers: [41, 97] Generated Node #0,0,1: 92:[41, 97] Operation: 74+23=97 Exploring Operation: 74-41=33, Resulting Numbers: [23, 33] Generated Node #0,0,2: 92:[23, 33] Operation: 74-41=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[41, 51], Operations: ['71-30=41', '74-23=51'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[30, 74, 71, 23], Operations: [] Exploring Operation: 71-30=41, Resulting Numbers: [74, 23, 41] Generated Node #0,0: 92:[74, 23, 41] Operation: 71-30=41 Moving to Node #0,0 Current State: 92:[74, 23, 41], Operations: ['71-30=41'] Exploring Operation: 74-23=51, Resulting Numbers: [41, 51] Generated Node #0,0,0: 92:[41, 51] Operation: 74-23=51 Moving to Node #0,0,0 Current State: 92:[41, 51], Operations: ['71-30=41', '74-23=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 95, 4, 17, 1 ]
36
[ "4+1=5", "95/5=19", "17+19=36" ]
Current State: 36:[95, 4, 17, 1], Operations: [] Exploring Operation: 4+1=5, Resulting Numbers: [95, 17, 5] Generated Node #2: [95, 17, 5] from Operation: 4+1=5 Current State: 36:[95, 17, 5], Operations: ['4+1=5'] Exploring Operation: 95/5=19, Resulting Numbers: [17, 19] Generated Node #3: [17, 19] from Operation: 95/5=19 Current State: 36:[17, 19], Operations: ['4+1=5', '95/5=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[95, 4, 17, 1], Operations: [] Exploring Operation: 17+1=18, Resulting Numbers: [95, 4, 18] Generated Node #0,0: 36:[95, 4, 18] Operation: 17+1=18 Exploring Operation: 95-1=94, Resulting Numbers: [4, 17, 94] Generated Node #0,1: 36:[4, 17, 94] Operation: 95-1=94 Exploring Operation: 95*1=95, Resulting Numbers: [4, 17, 95] Generated Node #0,2: 36:[4, 17, 95] Operation: 95*1=95 Exploring Operation: 95-4=91, Resulting Numbers: [17, 1, 91] Generated Node #0,3: 36:[17, 1, 91] Operation: 95-4=91 Exploring Operation: 95-17=78, Resulting Numbers: [4, 1, 78] Generated Node #0,4: 36:[4, 1, 78] Operation: 95-17=78 Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[4, 1, 78], Operations: ['95-17=78'] Exploring Operation: 78-1=77, Resulting Numbers: [4, 77] Generated Node #0,4,0: 36:[4, 77] Operation: 78-1=77 Exploring Operation: 4*1=4, Resulting Numbers: [78, 4] Generated Node #0,4,1: 36:[78, 4] Operation: 4*1=4 Exploring Operation: 78-4=74, Resulting Numbers: [1, 74] Generated Node #0,4,2: 36:[1, 74] Operation: 78-4=74 Exploring Operation: 4-1=3, Resulting Numbers: [78, 3] Generated Node #0,4,3: 36:[78, 3] Operation: 4-1=3 Exploring Operation: 4/1=4, Resulting Numbers: [78, 4] Generated Node #0,4,4: 36:[78, 4] Operation: 4/1=4 Moving to Node #0,4,2 Current State: 36:[1, 74], Operations: ['95-17=78', '78-4=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[4, 77], Operations: ['95-17=78', '78-1=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,36 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[78, 4], Operations: ['95-17=78', '4*1=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,36 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,36 unequal: No Solution Moving to Node #0,4,3 Current State: 36:[78, 3], Operations: ['95-17=78', '4-1=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,36 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,36 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[78, 4], Operations: ['95-17=78', '4/1=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,36 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,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 Current State: 36:[17, 1, 91], Operations: ['95-4=91'] Exploring Operation: 17*1=17, Resulting Numbers: [91, 17] Generated Node #0,3,0: 36:[91, 17] Operation: 17*1=17 Exploring Operation: 91-17=74, Resulting Numbers: [1, 74] Generated Node #0,3,1: 36:[1, 74] Operation: 91-17=74 Exploring Operation: 91-1=90, Resulting Numbers: [17, 90] Generated Node #0,3,2: 36:[17, 90] Operation: 91-1=90 Exploring Operation: 17+1=18, Resulting Numbers: [91, 18] Generated Node #0,3,3: 36:[91, 18] Operation: 17+1=18 Exploring Operation: 17/1=17, Resulting Numbers: [91, 17] Generated Node #0,3,4: 36:[91, 17] Operation: 17/1=17 Moving to Node #0,3,1 Current State: 36:[1, 74], Operations: ['95-4=91', '91-17=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[91, 18], Operations: ['95-4=91', '17+1=18'] Exploring Operation: 91*18=1638, Resulting Numbers: [1638] 1638,36 unequal: No Solution Exploring Operation: 91+18=109, Resulting Numbers: [109] 109,36 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[17, 90], Operations: ['95-4=91', '91-1=90'] Exploring Operation: 17*90=1530, Resulting Numbers: [1530] 1530,36 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 17+90=107, Resulting Numbers: [107] 107,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[91, 17], Operations: ['95-4=91', '17*1=17'] Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,36 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[91, 17], Operations: ['95-4=91', '17/1=17'] Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,36 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,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,0 Current State: 36:[95, 4, 18], Operations: ['17+1=18'] Exploring Operation: 95+4=99, Resulting Numbers: [18, 99] Generated Node #0,0,0: 36:[18, 99] Operation: 95+4=99 Exploring Operation: 18-4=14, Resulting Numbers: [95, 14] Generated Node #0,0,1: 36:[95, 14] Operation: 18-4=14 Exploring Operation: 95-4=91, Resulting Numbers: [18, 91] Generated Node #0,0,2: 36:[18, 91] Operation: 95-4=91 Exploring Operation: 95-18=77, Resulting Numbers: [4, 77] Generated Node #0,0,3: 36:[4, 77] Operation: 95-18=77 Exploring Operation: 4+18=22, Resulting Numbers: [95, 22] Generated Node #0,0,4: 36:[95, 22] Operation: 4+18=22 Moving to Node #0,0,3 Current State: 36:[4, 77], Operations: ['17+1=18', '95-18=77'] Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,36 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[18, 91], Operations: ['17+1=18', '95-4=91'] Exploring Operation: 18*91=1638, Resulting Numbers: [1638] 1638,36 unequal: No Solution Exploring Operation: 18+91=109, Resulting Numbers: [109] 109,36 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[95, 14], Operations: ['17+1=18', '18-4=14'] Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,36 unequal: No Solution Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,36 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[18, 99], Operations: ['17+1=18', '95+4=99'] Exploring Operation: 18+99=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 18*99=1782, Resulting Numbers: [1782] 1782,36 unequal: No Solution Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[95, 22], Operations: ['17+1=18', '4+18=22'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 95*22=2090, Resulting Numbers: [2090] 2090,36 unequal: No Solution Exploring Operation: 95+22=117, Resulting Numbers: [117] 117,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[4, 17, 94], Operations: ['95-1=94'] Exploring Operation: 4+94=98, Resulting Numbers: [17, 98] Generated Node #0,1,0: 36:[17, 98] Operation: 4+94=98 Exploring Operation: 4+17=21, Resulting Numbers: [94, 21] Generated Node #0,1,1: 36:[94, 21] Operation: 4+17=21 Exploring Operation: 94-17=77, Resulting Numbers: [4, 77] Generated Node #0,1,2: 36:[4, 77] Operation: 94-17=77 Exploring Operation: 94-4=90, Resulting Numbers: [17, 90] Generated Node #0,1,3: 36:[17, 90] Operation: 94-4=90 Exploring Operation: 17-4=13, Resulting Numbers: [94, 13] Generated Node #0,1,4: 36:[94, 13] Operation: 17-4=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[4, 77], Operations: ['95-1=94', '94-17=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,36 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,36 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,36 unequal: No Solution No 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: 36:[17, 90], Operations: ['95-1=94', '94-4=90'] Exploring Operation: 17*90=1530, Resulting Numbers: [1530] 1530,36 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 17+90=107, Resulting Numbers: [107] 107,36 unequal: No Solution No 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: 36:[94, 13], Operations: ['95-1=94', '17-4=13'] Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,36 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,36 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,36 unequal: No Solution No 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: 36:[94, 21], Operations: ['95-1=94', '4+17=21'] Exploring Operation: 94+21=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 94*21=1974, Resulting Numbers: [1974] 1974,36 unequal: No Solution Exploring Operation: 94-21=73, Resulting Numbers: [73] 73,36 unequal: No Solution No 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: 36:[17, 98], Operations: ['95-1=94', '4+94=98'] Exploring Operation: 17+98=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 17*98=1666, Resulting Numbers: [1666] 1666,36 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,36 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: 36:[4, 17, 95], Operations: ['95*1=95'] Exploring Operation: 4+17=21, Resulting Numbers: [95, 21] Generated Node #0,2,0: 36:[95, 21] Operation: 4+17=21 Exploring Operation: 17-4=13, Resulting Numbers: [95, 13] Generated Node #0,2,1: 36:[95, 13] Operation: 17-4=13 Exploring Operation: 4+95=99, Resulting Numbers: [17, 99] Generated Node #0,2,2: 36:[17, 99] Operation: 4+95=99 Exploring Operation: 95-17=78, Resulting Numbers: [4, 78] Generated Node #0,2,3: 36:[4, 78] Operation: 95-17=78 Exploring Operation: 95-4=91, Resulting Numbers: [17, 91] Generated Node #0,2,4: 36:[17, 91] Operation: 95-4=91 Moving to Node #0,2,3 Current State: 36:[4, 78], Operations: ['95*1=95', '95-17=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,36 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[17, 91], Operations: ['95*1=95', '95-4=91'] Exploring Operation: 17*91=1547, Resulting Numbers: [1547] 1547,36 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 17+91=108, Resulting Numbers: [108] 108,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[95, 13], Operations: ['95*1=95', '17-4=13'] Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,36 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[95, 21], Operations: ['95*1=95', '4+17=21'] Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,36 unequal: No Solution Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[17, 99], Operations: ['95*1=95', '4+95=99'] Exploring Operation: 17+99=116, Resulting Numbers: [116] 116,36 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 17*99=1683, Resulting Numbers: [1683] 1683,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 74, 54, 43, 1 ]
62
[ "74-54=20", "43-1=42", "20+42=62" ]
Current State: 62:[74, 54, 43, 1], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [43, 1, 20] Generated Node #2: [43, 1, 20] from Operation: 74-54=20 Current State: 62:[43, 1, 20], Operations: ['74-54=20'] Exploring Operation: 43-1=42, Resulting Numbers: [20, 42] Generated Node #3: [20, 42] from Operation: 43-1=42 Current State: 62:[20, 42], Operations: ['74-54=20', '43-1=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[74, 54, 43, 1], Operations: [] Exploring Operation: 74-43=31, Resulting Numbers: [54, 1, 31] Generated Node #0,0: 62:[54, 1, 31] Operation: 74-43=31 Exploring Operation: 74-54=20, Resulting Numbers: [43, 1, 20] Generated Node #0,1: 62:[43, 1, 20] Operation: 74-54=20 Exploring Operation: 74-1=73, Resulting Numbers: [54, 43, 73] Generated Node #0,2: 62:[54, 43, 73] Operation: 74-1=73 Exploring Operation: 54-43=11, Resulting Numbers: [74, 1, 11] Generated Node #0,3: 62:[74, 1, 11] Operation: 54-43=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[54, 1, 31], Operations: ['74-43=31'] Exploring Operation: 1*31=31, Resulting Numbers: [54, 31] Generated Node #0,0,0: 62:[54, 31] Operation: 1*31=31 Exploring Operation: 54+1=55, Resulting Numbers: [31, 55] Generated Node #0,0,1: 62:[31, 55] Operation: 54+1=55 Exploring Operation: 54*1=54, Resulting Numbers: [31, 54] Generated Node #0,0,2: 62:[31, 54] Operation: 54*1=54 Exploring Operation: 54/1=54, Resulting Numbers: [31, 54] Generated Node #0,0,3: 62:[31, 54] Operation: 54/1=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[31, 55], Operations: ['74-43=31', '54+1=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,62 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,62 unequal: No Solution No 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: 62:[54, 31], Operations: ['74-43=31', '1*31=31'] Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,62 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,62 unequal: No Solution No 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: 62:[31, 54], Operations: ['74-43=31', '54*1=54'] Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,62 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,62 unequal: No Solution No 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: 62:[31, 54], Operations: ['74-43=31', '54/1=54'] Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,62 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,62 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: 62:[74, 1, 11], Operations: ['54-43=11'] Exploring Operation: 11-1=10, Resulting Numbers: [74, 10] Generated Node #0,3,0: 62:[74, 10] Operation: 11-1=10 Exploring Operation: 74*1=74, Resulting Numbers: [11, 74] Generated Node #0,3,1: 62:[11, 74] Operation: 74*1=74 Exploring Operation: 74-11=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 62:[1, 63] Operation: 74-11=63 Exploring Operation: 74-1=73, Resulting Numbers: [11, 73] Generated Node #0,3,3: 62:[11, 73] Operation: 74-1=73 Moving to Node #0,3,2 Current State: 62:[1, 63], Operations: ['54-43=11', '74-11=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[74, 54, 43, 1], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [74, 1, 11] Generated Node #0,3: 62:[74, 1, 11] Operation: 54-43=11 Moving to Node #0,3 Current State: 62:[74, 1, 11], Operations: ['54-43=11'] Exploring Operation: 74-11=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 62:[1, 63] Operation: 74-11=63 Moving to Node #0,3,2 Current State: 62:[1, 63], Operations: ['54-43=11', '74-11=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 32, 84, 38, 76 ]
14
[ "84-32=52", "76-38=38", "52-38=14" ]
Current State: 14:[32, 84, 38, 76], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [38, 76, 52] Generated Node #2: [38, 76, 52] from Operation: 84-32=52 Current State: 14:[38, 76, 52], Operations: ['84-32=52'] Exploring Operation: 76-38=38, Resulting Numbers: [52, 38] Generated Node #3: [52, 38] from Operation: 76-38=38 Current State: 14:[52, 38], Operations: ['84-32=52', '76-38=38'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[32, 84, 38, 76], Operations: [] Exploring Operation: 84-38=46, Resulting Numbers: [32, 76, 46] Generated Node #0,0: 14:[32, 76, 46] Operation: 84-38=46 Exploring Operation: 76/38=2, Resulting Numbers: [32, 84, 2] Generated Node #0,1: 14:[32, 84, 2] Operation: 76/38=2 Exploring Operation: 84-76=8, Resulting Numbers: [32, 38, 8] Generated Node #0,2: 14:[32, 38, 8] Operation: 84-76=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[32, 38, 8], Operations: ['84-76=8'] Exploring Operation: 32/8=4, Resulting Numbers: [38, 4] Generated Node #0,2,0: 14:[38, 4] Operation: 32/8=4 Exploring Operation: 32-8=24, Resulting Numbers: [38, 24] Generated Node #0,2,1: 14:[38, 24] Operation: 32-8=24 Exploring Operation: 38-32=6, Resulting Numbers: [8, 6] Generated Node #0,2,2: 14:[8, 6] Operation: 38-32=6 Moving to Node #0,2,2 Current State: 14:[8, 6], Operations: ['84-76=8', '38-32=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[32, 84, 38, 76], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [32, 38, 8] Generated Node #0,2: 14:[32, 38, 8] Operation: 84-76=8 Moving to Node #0,2 Current State: 14:[32, 38, 8], Operations: ['84-76=8'] Exploring Operation: 38-32=6, Resulting Numbers: [8, 6] Generated Node #0,2,2: 14:[8, 6] Operation: 38-32=6 Moving to Node #0,2,2 Current State: 14:[8, 6], Operations: ['84-76=8', '38-32=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 44, 12, 32, 9 ]
55
[ "44-12=32", "32-9=23", "32+23=55" ]
Current State: 55:[44, 12, 32, 9], Operations: [] Exploring Operation: 44-12=32, Resulting Numbers: [32, 9, 32] Generated Node #2: [32, 9, 32] from Operation: 44-12=32 Current State: 55:[32, 9, 32], Operations: ['44-12=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,55 equal: Goal Reached Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[44, 12, 32, 9], Operations: [] Exploring Operation: 32-12=20, Resulting Numbers: [44, 9, 20] Generated Node #0,0: 55:[44, 9, 20] Operation: 32-12=20 Exploring Operation: 44+12=56, Resulting Numbers: [32, 9, 56] Generated Node #0,1: 55:[32, 9, 56] Operation: 44+12=56 Exploring Operation: 44-32=12, Resulting Numbers: [12, 9, 12] Generated Node #0,2: 55:[12, 9, 12] Operation: 44-32=12 Exploring Operation: 44+32=76, Resulting Numbers: [12, 9, 76] Generated Node #0,3: 55:[12, 9, 76] Operation: 44+32=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[12, 9, 12], Operations: ['44-32=12'] Exploring Operation: 12-9=3, Resulting Numbers: [12, 3] Generated Node #0,2,0: 55:[12, 3] Operation: 12-9=3 Exploring Operation: 12-9=3, Resulting Numbers: [12, 3] Generated Node #0,2,1: 55:[12, 3] Operation: 12-9=3 Exploring Operation: 12-12=0, Resulting Numbers: [9, 0] Generated Node #0,2,2: 55:[9, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [9, 1] Generated Node #0,2,3: 55:[9, 1] Operation: 12/12=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[12, 3], Operations: ['44-32=12', '12-9=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[12, 3], Operations: ['44-32=12', '12-9=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[9, 1], Operations: ['44-32=12', '12/12=1'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[9, 0], Operations: ['44-32=12', '12-12=0'] Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[44, 9, 20], Operations: ['32-12=20'] Exploring Operation: 20-9=11, Resulting Numbers: [44, 11] Generated Node #0,0,0: 55:[44, 11] Operation: 20-9=11 Exploring Operation: 44-20=24, Resulting Numbers: [9, 24] Generated Node #0,0,1: 55:[9, 24] Operation: 44-20=24 Exploring Operation: 44+9=53, Resulting Numbers: [20, 53] Generated Node #0,0,2: 55:[20, 53] Operation: 44+9=53 Exploring Operation: 44+20=64, Resulting Numbers: [9, 64] Generated Node #0,0,3: 55:[9, 64] Operation: 44+20=64 Moving to Node #0,0,0 Current State: 55:[44, 11], Operations: ['32-12=20', '20-9=11'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,55 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[44, 12, 32, 9], Operations: [] Exploring Operation: 32-12=20, Resulting Numbers: [44, 9, 20] Generated Node #0,0: 55:[44, 9, 20] Operation: 32-12=20 Moving to Node #0,0 Current State: 55:[44, 9, 20], Operations: ['32-12=20'] Exploring Operation: 20-9=11, Resulting Numbers: [44, 11] Generated Node #0,0,0: 55:[44, 11] Operation: 20-9=11 Moving to Node #0,0,0 Current State: 55:[44, 11], Operations: ['32-12=20', '20-9=11'] Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 93, 79, 87, 27 ]
83
[ "93-87=6", "27*6=162", "162-79=83" ]
Current State: 83:[93, 79, 87, 27], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [79, 27, 6] Generated Node #2: [79, 27, 6] from Operation: 93-87=6 Current State: 83:[79, 27, 6], Operations: ['93-87=6'] Exploring Operation: 27*6=162, Resulting Numbers: [79, 162] Generated Node #3: [79, 162] from Operation: 27*6=162 Current State: 83:[79, 162], Operations: ['93-87=6', '27*6=162'] Exploring Operation: 162-79=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[93, 79, 87, 27], Operations: [] Exploring Operation: 93+27=120, Resulting Numbers: [79, 87, 120] Generated Node #0,0: 83:[79, 87, 120] Operation: 93+27=120 Exploring Operation: 87-27=60, Resulting Numbers: [93, 79, 60] Generated Node #0,1: 83:[93, 79, 60] Operation: 87-27=60 Exploring Operation: 93-27=66, Resulting Numbers: [79, 87, 66] Generated Node #0,2: 83:[79, 87, 66] Operation: 93-27=66 Exploring Operation: 79-27=52, Resulting Numbers: [93, 87, 52] Generated Node #0,3: 83:[93, 87, 52] Operation: 79-27=52 Exploring Operation: 79+27=106, Resulting Numbers: [93, 87, 106] Generated Node #0,4: 83:[93, 87, 106] Operation: 79+27=106 Moving to Node #0,2 Current State: 83:[79, 87, 66], Operations: ['93-27=66'] Exploring Operation: 87+66=153, Resulting Numbers: [79, 153] Generated Node #0,2,0: 83:[79, 153] Operation: 87+66=153 Exploring Operation: 79-66=13, Resulting Numbers: [87, 13] Generated Node #0,2,1: 83:[87, 13] Operation: 79-66=13 Exploring Operation: 87-79=8, Resulting Numbers: [66, 8] Generated Node #0,2,2: 83:[66, 8] Operation: 87-79=8 Exploring Operation: 87-66=21, Resulting Numbers: [79, 21] Generated Node #0,2,3: 83:[79, 21] Operation: 87-66=21 Exploring Operation: 79+66=145, Resulting Numbers: [87, 145] Generated Node #0,2,4: 83:[87, 145] Operation: 79+66=145 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[79, 21], Operations: ['93-27=66', '87-66=21'] Exploring Operation: 79+21=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 79*21=1659, Resulting Numbers: [1659] 1659,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[87, 145], Operations: ['93-27=66', '79+66=145'] Exploring Operation: 87*145=12615, Resulting Numbers: [12615] 12615,83 unequal: No Solution Exploring Operation: 145-87=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 87+145=232, Resulting Numbers: [232] 232,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[79, 153], Operations: ['93-27=66', '87+66=153'] Exploring Operation: 79*153=12087, Resulting Numbers: [12087] 12087,83 unequal: No Solution Exploring Operation: 79+153=232, Resulting Numbers: [232] 232,83 unequal: No Solution Exploring Operation: 153-79=74, Resulting Numbers: [74] 74,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[87, 13], Operations: ['93-27=66', '79-66=13'] Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,83 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[66, 8], Operations: ['93-27=66', '87-79=8'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,83 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,83 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: 83:[93, 87, 106], Operations: ['79+27=106'] Exploring Operation: 93-87=6, Resulting Numbers: [106, 6] Generated Node #0,4,0: 83:[106, 6] Operation: 93-87=6 Exploring Operation: 93+87=180, Resulting Numbers: [106, 180] Generated Node #0,4,1: 83:[106, 180] Operation: 93+87=180 Exploring Operation: 106-87=19, Resulting Numbers: [93, 19] Generated Node #0,4,2: 83:[93, 19] Operation: 106-87=19 Exploring Operation: 106-93=13, Resulting Numbers: [87, 13] Generated Node #0,4,3: 83:[87, 13] Operation: 106-93=13 Exploring Operation: 93+106=199, Resulting Numbers: [87, 199] Generated Node #0,4,4: 83:[87, 199] Operation: 93+106=199 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[93, 19], Operations: ['79+27=106', '106-87=19'] Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,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,4,3 Current State: 83:[87, 13], Operations: ['79+27=106', '106-93=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,83 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,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,4,0 Current State: 83:[106, 6], Operations: ['79+27=106', '93-87=6'] Exploring Operation: 106+6=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 106*6=636, Resulting Numbers: [636] 636,83 unequal: No Solution Exploring Operation: 106-6=100, Resulting Numbers: [100] 100,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,4,1 Current State: 83:[106, 180], Operations: ['79+27=106', '93+87=180'] Exploring Operation: 180-106=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 106*180=19080, Resulting Numbers: [19080] 19080,83 unequal: No Solution Exploring Operation: 106+180=286, Resulting Numbers: [286] 286,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,4,4 Current State: 83:[87, 199], Operations: ['79+27=106', '93+106=199'] Exploring Operation: 87*199=17313, Resulting Numbers: [17313] 17313,83 unequal: No Solution Exploring Operation: 87+199=286, Resulting Numbers: [286] 286,83 unequal: No Solution Exploring Operation: 199-87=112, Resulting Numbers: [112] 112,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[93, 79, 60], Operations: ['87-27=60'] Exploring Operation: 79-60=19, Resulting Numbers: [93, 19] Generated Node #0,1,0: 83:[93, 19] Operation: 79-60=19 Exploring Operation: 93-79=14, Resulting Numbers: [60, 14] Generated Node #0,1,1: 83:[60, 14] Operation: 93-79=14 Exploring Operation: 93-60=33, Resulting Numbers: [79, 33] Generated Node #0,1,2: 83:[79, 33] Operation: 93-60=33 Exploring Operation: 79+60=139, Resulting Numbers: [93, 139] Generated Node #0,1,3: 83:[93, 139] Operation: 79+60=139 Exploring Operation: 93+60=153, Resulting Numbers: [79, 153] Generated Node #0,1,4: 83:[79, 153] Operation: 93+60=153 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[79, 33], Operations: ['87-27=60', '93-60=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,83 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,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:[93, 139], Operations: ['87-27=60', '79+60=139'] Exploring Operation: 139-93=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 93*139=12927, Resulting Numbers: [12927] 12927,83 unequal: No Solution Exploring Operation: 93+139=232, Resulting Numbers: [232] 232,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:[93, 19], Operations: ['87-27=60', '79-60=19'] Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,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:[79, 153], Operations: ['87-27=60', '93+60=153'] Exploring Operation: 153-79=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 79*153=12087, Resulting Numbers: [12087] 12087,83 unequal: No Solution Exploring Operation: 79+153=232, Resulting Numbers: [232] 232,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,1 Current State: 83:[60, 14], Operations: ['87-27=60', '93-79=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,83 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: 83:[79, 87, 120], Operations: ['93+27=120'] Exploring Operation: 120-87=33, Resulting Numbers: [79, 33] Generated Node #0,0,0: 83:[79, 33] Operation: 120-87=33 Exploring Operation: 87-79=8, Resulting Numbers: [120, 8] Generated Node #0,0,1: 83:[120, 8] Operation: 87-79=8 Exploring Operation: 79+120=199, Resulting Numbers: [87, 199] Generated Node #0,0,2: 83:[87, 199] Operation: 79+120=199 Exploring Operation: 120-79=41, Resulting Numbers: [87, 41] Generated Node #0,0,3: 83:[87, 41] Operation: 120-79=41 Exploring Operation: 79+87=166, Resulting Numbers: [120, 166] Generated Node #0,0,4: 83:[120, 166] Operation: 79+87=166 Moving to Node #0,3 Current State: 83:[93, 87, 52], Operations: ['79-27=52'] Exploring Operation: 93-87=6, Resulting Numbers: [52, 6] Generated Node #0,3,0: 83:[52, 6] Operation: 93-87=6 Exploring Operation: 87-52=35, Resulting Numbers: [93, 35] Generated Node #0,3,1: 83:[93, 35] Operation: 87-52=35 Exploring Operation: 93+52=145, Resulting Numbers: [87, 145] Generated Node #0,3,2: 83:[87, 145] Operation: 93+52=145 Exploring Operation: 93-52=41, Resulting Numbers: [87, 41] Generated Node #0,3,3: 83:[87, 41] Operation: 93-52=41 Exploring Operation: 87+52=139, Resulting Numbers: [93, 139] Generated Node #0,3,4: 83:[93, 139] Operation: 87+52=139 Moving to Node #0,0,3 Current State: 83:[87, 41], Operations: ['93+27=120', '120-79=41'] Exploring Operation: 87+41=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 87*41=3567, Resulting Numbers: [3567] 3567,83 unequal: No Solution Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[87, 41], Operations: ['79-27=52', '93-52=41'] Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 87*41=3567, Resulting Numbers: [3567] 3567,83 unequal: No Solution Exploring Operation: 87+41=128, Resulting Numbers: [128] 128,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[79, 33], Operations: ['93+27=120', '120-87=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[93, 35], Operations: ['79-27=52', '87-52=35'] Exploring Operation: 93+35=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 93*35=3255, Resulting Numbers: [3255] 3255,83 unequal: No Solution Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[87, 145], Operations: ['79-27=52', '93+52=145'] Exploring Operation: 87*145=12615, Resulting Numbers: [12615] 12615,83 unequal: No Solution Exploring Operation: 87+145=232, Resulting Numbers: [232] 232,83 unequal: No Solution Exploring Operation: 145-87=58, Resulting Numbers: [58] 58,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[93, 139], Operations: ['79-27=52', '87+52=139'] Exploring Operation: 93*139=12927, Resulting Numbers: [12927] 12927,83 unequal: No Solution Exploring Operation: 139-93=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 93+139=232, Resulting Numbers: [232] 232,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[52, 6], Operations: ['79-27=52', '93-87=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,83 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[120, 8], Operations: ['93+27=120', '87-79=8'] Exploring Operation: 120+8=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 120-8=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 120*8=960, Resulting Numbers: [960] 960,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[120, 166], Operations: ['93+27=120', '79+87=166'] Exploring Operation: 166-120=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 120+166=286, Resulting Numbers: [286] 286,83 unequal: No Solution Exploring Operation: 120*166=19920, Resulting Numbers: [19920] 19920,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[87, 199], Operations: ['93+27=120', '79+120=199'] Exploring Operation: 87+199=286, Resulting Numbers: [286] 286,83 unequal: No Solution Exploring Operation: 199-87=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 87*199=17313, Resulting Numbers: [17313] 17313,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 36, 97, 35, 7 ]
91
[ "36+97=133", "35+7=42", "133-42=91" ]
Current State: 91:[36, 97, 35, 7], Operations: [] Exploring Operation: 36+97=133, Resulting Numbers: [35, 7, 133] Generated Node #2: [35, 7, 133] from Operation: 36+97=133 Current State: 91:[35, 7, 133], Operations: ['36+97=133'] Exploring Operation: 35+7=42, Resulting Numbers: [133, 42] Generated Node #3: [133, 42] from Operation: 35+7=42 Current State: 91:[133, 42], Operations: ['36+97=133', '35+7=42'] Exploring Operation: 133-42=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[36, 97, 35, 7], Operations: [] Exploring Operation: 36-35=1, Resulting Numbers: [97, 7, 1] Generated Node #0,0: 91:[97, 7, 1] Operation: 36-35=1 Exploring Operation: 36+35=71, Resulting Numbers: [97, 7, 71] Generated Node #0,1: 91:[97, 7, 71] Operation: 36+35=71 Moving to Node #0,0 Current State: 91:[97, 7, 1], Operations: ['36-35=1'] Exploring Operation: 97-1=96, Resulting Numbers: [7, 96] Generated Node #0,0,0: 91:[7, 96] Operation: 97-1=96 Exploring Operation: 97*1=97, Resulting Numbers: [7, 97] Generated Node #0,0,1: 91:[7, 97] Operation: 97*1=97 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[7, 96], Operations: ['36-35=1', '97-1=96'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 7+96=103, Resulting Numbers: [103] 103,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,0,1 Current State: 91:[7, 97], Operations: ['36-35=1', '97*1=97'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 7+97=104, Resulting Numbers: [104] 104,91 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: 91:[97, 7, 71], Operations: ['36+35=71'] Exploring Operation: 7+71=78, Resulting Numbers: [97, 78] Generated Node #0,1,0: 91:[97, 78] Operation: 7+71=78 Exploring Operation: 97-71=26, Resulting Numbers: [7, 26] Generated Node #0,1,1: 91:[7, 26] Operation: 97-71=26 Moving to Node #0,1,1 Current State: 91:[7, 26], Operations: ['36+35=71', '97-71=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[97, 78], Operations: ['36+35=71', '7+71=78'] Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 97+78=175, Resulting Numbers: [175] 175,91 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 7, 15, 68, 93 ]
88
[ "7+68=75", "75/15=5", "93-5=88" ]
Current State: 88:[7, 15, 68, 93], Operations: [] Exploring Operation: 7+68=75, Resulting Numbers: [15, 93, 75] Generated Node #2: [15, 93, 75] from Operation: 7+68=75 Current State: 88:[15, 93, 75], Operations: ['7+68=75'] Exploring Operation: 75/15=5, Resulting Numbers: [93, 5] Generated Node #3: [93, 5] from Operation: 75/15=5 Current State: 88:[93, 5], Operations: ['7+68=75', '75/15=5'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[7, 15, 68, 93], Operations: [] Exploring Operation: 7+15=22, Resulting Numbers: [68, 93, 22] Generated Node #0,0: 88:[68, 93, 22] Operation: 7+15=22 Exploring Operation: 15+68=83, Resulting Numbers: [7, 93, 83] Generated Node #0,1: 88:[7, 93, 83] Operation: 15+68=83 Exploring Operation: 93-68=25, Resulting Numbers: [7, 15, 25] Generated Node #0,2: 88:[7, 15, 25] Operation: 93-68=25 Exploring Operation: 7+68=75, Resulting Numbers: [15, 93, 75] Generated Node #0,3: 88:[15, 93, 75] Operation: 7+68=75 Exploring Operation: 68-15=53, Resulting Numbers: [7, 93, 53] Generated Node #0,4: 88:[7, 93, 53] Operation: 68-15=53 Moving to Node #0,2 Current State: 88:[7, 15, 25], Operations: ['93-68=25'] Exploring Operation: 25-15=10, Resulting Numbers: [7, 10] Generated Node #0,2,0: 88:[7, 10] Operation: 25-15=10 Exploring Operation: 7+15=22, Resulting Numbers: [25, 22] Generated Node #0,2,1: 88:[25, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [25, 8] Generated Node #0,2,2: 88:[25, 8] Operation: 15-7=8 Exploring Operation: 15+25=40, Resulting Numbers: [7, 40] Generated Node #0,2,3: 88:[7, 40] Operation: 15+25=40 Exploring Operation: 25-7=18, Resulting Numbers: [15, 18] Generated Node #0,2,4: 88:[15, 18] Operation: 25-7=18 Moving to Node #0,1 Current State: 88:[7, 93, 83], Operations: ['15+68=83'] Exploring Operation: 7+83=90, Resulting Numbers: [93, 90] Generated Node #0,1,0: 88:[93, 90] Operation: 7+83=90 Exploring Operation: 93-7=86, Resulting Numbers: [83, 86] Generated Node #0,1,1: 88:[83, 86] Operation: 93-7=86 Exploring Operation: 93-83=10, Resulting Numbers: [7, 10] Generated Node #0,1,2: 88:[7, 10] Operation: 93-83=10 Exploring Operation: 83-7=76, Resulting Numbers: [93, 76] Generated Node #0,1,3: 88:[93, 76] Operation: 83-7=76 Exploring Operation: 7+93=100, Resulting Numbers: [83, 100] Generated Node #0,1,4: 88:[83, 100] Operation: 7+93=100 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[7, 10], Operations: ['15+68=83', '93-83=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,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,0 Current State: 88:[93, 90], Operations: ['15+68=83', '7+83=90'] Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,88 unequal: No Solution Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,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:[83, 86], Operations: ['15+68=83', '93-7=86'] Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,88 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,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:[93, 76], Operations: ['15+68=83', '83-7=76'] Exploring Operation: 93+76=169, Resulting Numbers: [169] 169,88 unequal: No Solution Exploring Operation: 93*76=7068, Resulting Numbers: [7068] 7068,88 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,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:[83, 100], Operations: ['15+68=83', '7+93=100'] Exploring Operation: 83*100=8300, Resulting Numbers: [8300] 8300,88 unequal: No Solution Exploring Operation: 83+100=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,88 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: 88:[7, 93, 53], Operations: ['68-15=53'] Exploring Operation: 53-7=46, Resulting Numbers: [93, 46] Generated Node #0,4,0: 88:[93, 46] Operation: 53-7=46 Exploring Operation: 93-53=40, Resulting Numbers: [7, 40] Generated Node #0,4,1: 88:[7, 40] Operation: 93-53=40 Exploring Operation: 7+53=60, Resulting Numbers: [93, 60] Generated Node #0,4,2: 88:[93, 60] Operation: 7+53=60 Exploring Operation: 7+93=100, Resulting Numbers: [53, 100] Generated Node #0,4,3: 88:[53, 100] Operation: 7+93=100 Exploring Operation: 93-7=86, Resulting Numbers: [53, 86] Generated Node #0,4,4: 88:[53, 86] Operation: 93-7=86 Moving to Node #0,3 Current State: 88:[15, 93, 75], Operations: ['7+68=75'] Exploring Operation: 93-15=78, Resulting Numbers: [75, 78] Generated Node #0,3,0: 88:[75, 78] Operation: 93-15=78 Exploring Operation: 93-75=18, Resulting Numbers: [15, 18] Generated Node #0,3,1: 88:[15, 18] Operation: 93-75=18 Exploring Operation: 75-15=60, Resulting Numbers: [93, 60] Generated Node #0,3,2: 88:[93, 60] Operation: 75-15=60 Exploring Operation: 15+75=90, Resulting Numbers: [93, 90] Generated Node #0,3,3: 88:[93, 90] Operation: 15+75=90 Exploring Operation: 75/15=5, Resulting Numbers: [93, 5] Generated Node #0,3,4: 88:[93, 5] Operation: 75/15=5 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[93, 5], Operations: ['7+68=75', '75/15=5'] Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,88 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[7, 15, 68, 93], Operations: [] Exploring Operation: 7+68=75, Resulting Numbers: [15, 93, 75] Generated Node #0,3: 88:[15, 93, 75] Operation: 7+68=75 Moving to Node #0,3 Current State: 88:[15, 93, 75], Operations: ['7+68=75'] Exploring Operation: 75/15=5, Resulting Numbers: [93, 5] Generated Node #0,3,4: 88:[93, 5] Operation: 75/15=5 Moving to Node #0,3,4 Current State: 88:[93, 5], Operations: ['7+68=75', '75/15=5'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 3, 59, 23, 89 ]
77
[ "59-23=36", "36/3=12", "89-12=77" ]
Current State: 77:[3, 59, 23, 89], Operations: [] Exploring Operation: 59-23=36, Resulting Numbers: [3, 89, 36] Generated Node #2: [3, 89, 36] from Operation: 59-23=36 Current State: 77:[3, 89, 36], Operations: ['59-23=36'] Exploring Operation: 36/3=12, Resulting Numbers: [89, 12] Generated Node #3: [89, 12] from Operation: 36/3=12 Current State: 77:[89, 12], Operations: ['59-23=36', '36/3=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[3, 59, 23, 89], Operations: [] Exploring Operation: 89-23=66, Resulting Numbers: [3, 59, 66] Generated Node #0,0: 77:[3, 59, 66] Operation: 89-23=66 Exploring Operation: 3*23=69, Resulting Numbers: [59, 89, 69] Generated Node #0,1: 77:[59, 89, 69] Operation: 3*23=69 Exploring Operation: 59+23=82, Resulting Numbers: [3, 89, 82] Generated Node #0,2: 77:[3, 89, 82] Operation: 59+23=82 Exploring Operation: 89-59=30, Resulting Numbers: [3, 23, 30] Generated Node #0,3: 77:[3, 23, 30] Operation: 89-59=30 Exploring Operation: 3+59=62, Resulting Numbers: [23, 89, 62] Generated Node #0,4: 77:[23, 89, 62] Operation: 3+59=62 Moving to Node #0,2 Current State: 77:[3, 89, 82], Operations: ['59+23=82'] Exploring Operation: 89-3=86, Resulting Numbers: [82, 86] Generated Node #0,2,0: 77:[82, 86] Operation: 89-3=86 Exploring Operation: 89-82=7, Resulting Numbers: [3, 7] Generated Node #0,2,1: 77:[3, 7] Operation: 89-82=7 Exploring Operation: 3+82=85, Resulting Numbers: [89, 85] Generated Node #0,2,2: 77:[89, 85] Operation: 3+82=85 Exploring Operation: 3+89=92, Resulting Numbers: [82, 92] Generated Node #0,2,3: 77:[82, 92] Operation: 3+89=92 Exploring Operation: 82-3=79, Resulting Numbers: [89, 79] Generated Node #0,2,4: 77:[89, 79] Operation: 82-3=79 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[3, 7], Operations: ['59+23=82', '89-82=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,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:[82, 86], Operations: ['59+23=82', '89-3=86'] Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,77 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,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:[89, 79], Operations: ['59+23=82', '82-3=79'] Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 89*79=7031, Resulting Numbers: [7031] 7031,77 unequal: No Solution Exploring Operation: 89+79=168, Resulting Numbers: [168] 168,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:[89, 85], Operations: ['59+23=82', '3+82=85'] Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,77 unequal: No Solution Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,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,3 Current State: 77:[82, 92], Operations: ['59+23=82', '3+89=92'] Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,77 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,77 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: 77:[3, 59, 66], Operations: ['89-23=66'] Exploring Operation: 3+66=69, Resulting Numbers: [59, 69] Generated Node #0,0,0: 77:[59, 69] Operation: 3+66=69 Exploring Operation: 66/3=22, Resulting Numbers: [59, 22] Generated Node #0,0,1: 77:[59, 22] Operation: 66/3=22 Exploring Operation: 59-3=56, Resulting Numbers: [66, 56] Generated Node #0,0,2: 77:[66, 56] Operation: 59-3=56 Exploring Operation: 66-59=7, Resulting Numbers: [3, 7] Generated Node #0,0,3: 77:[3, 7] Operation: 66-59=7 Exploring Operation: 3+59=62, Resulting Numbers: [66, 62] Generated Node #0,0,4: 77:[66, 62] Operation: 3+59=62 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[3, 7], Operations: ['89-23=66', '66-59=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,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:[59, 69], Operations: ['89-23=66', '3+66=69'] Exploring Operation: 59+69=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 59*69=4071, Resulting Numbers: [4071] 4071,77 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,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,4 Current State: 77:[66, 62], Operations: ['89-23=66', '3+59=62'] Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,77 unequal: No Solution Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,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:[59, 22], Operations: ['89-23=66', '66/3=22'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,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:[66, 56], Operations: ['89-23=66', '59-3=56'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,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:[3, 23, 30], Operations: ['89-59=30'] Exploring Operation: 3*23=69, Resulting Numbers: [30, 69] Generated Node #0,3,0: 77:[30, 69] Operation: 3*23=69 Exploring Operation: 3*30=90, Resulting Numbers: [23, 90] Generated Node #0,3,1: 77:[23, 90] Operation: 3*30=90 Exploring Operation: 30/3=10, Resulting Numbers: [23, 10] Generated Node #0,3,2: 77:[23, 10] Operation: 30/3=10 Exploring Operation: 23-3=20, Resulting Numbers: [30, 20] Generated Node #0,3,3: 77:[30, 20] Operation: 23-3=20 Exploring Operation: 30-23=7, Resulting Numbers: [3, 7] Generated Node #0,3,4: 77:[3, 7] Operation: 30-23=7 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 77:[3, 7], Operations: ['89-59=30', '30-23=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,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,3,2 Current State: 77:[23, 10], Operations: ['89-59=30', '30/3=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,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,3,1 Current State: 77:[23, 90], Operations: ['89-59=30', '3*30=90'] Exploring Operation: 23*90=2070, Resulting Numbers: [2070] 2070,77 unequal: No Solution Exploring Operation: 23+90=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,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,3,0 Current State: 77:[30, 69], Operations: ['89-59=30', '3*23=69'] Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,77 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,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,3,3 Current State: 77:[30, 20], Operations: ['89-59=30', '23-3=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,77 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,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:[59, 89, 69], Operations: ['3*23=69'] Exploring Operation: 59+69=128, Resulting Numbers: [89, 128] Generated Node #0,1,0: 77:[89, 128] Operation: 59+69=128 Exploring Operation: 89-69=20, Resulting Numbers: [59, 20] Generated Node #0,1,1: 77:[59, 20] Operation: 89-69=20 Exploring Operation: 69-59=10, Resulting Numbers: [89, 10] Generated Node #0,1,2: 77:[89, 10] Operation: 69-59=10 Exploring Operation: 59+89=148, Resulting Numbers: [69, 148] Generated Node #0,1,3: 77:[69, 148] Operation: 59+89=148 Exploring Operation: 89-59=30, Resulting Numbers: [69, 30] Generated Node #0,1,4: 77:[69, 30] Operation: 89-59=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[89, 10], Operations: ['3*23=69', '69-59=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,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:[59, 20], Operations: ['3*23=69', '89-69=20'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,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:[69, 30], Operations: ['3*23=69', '89-59=30'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,77 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,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:[89, 128], Operations: ['3*23=69', '59+69=128'] Exploring Operation: 89*128=11392, Resulting Numbers: [11392] 11392,77 unequal: No Solution Exploring Operation: 89+128=217, Resulting Numbers: [217] 217,77 unequal: No Solution Exploring Operation: 128-89=39, Resulting Numbers: [39] 39,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:[69, 148], Operations: ['3*23=69', '59+89=148'] Exploring Operation: 148-69=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 69*148=10212, Resulting Numbers: [10212] 10212,77 unequal: No Solution Exploring Operation: 69+148=217, Resulting Numbers: [217] 217,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:[23, 89, 62], Operations: ['3+59=62'] Exploring Operation: 23+62=85, Resulting Numbers: [89, 85] Generated Node #0,4,0: 77:[89, 85] Operation: 23+62=85 Exploring Operation: 89-62=27, Resulting Numbers: [23, 27] Generated Node #0,4,1: 77:[23, 27] Operation: 89-62=27 Exploring Operation: 23+89=112, Resulting Numbers: [62, 112] Generated Node #0,4,2: 77:[62, 112] Operation: 23+89=112 Exploring Operation: 89-23=66, Resulting Numbers: [62, 66] Generated Node #0,4,3: 77:[62, 66] Operation: 89-23=66 Exploring Operation: 62-23=39, Resulting Numbers: [89, 39] Generated Node #0,4,4: 77:[89, 39] Operation: 62-23=39 Moving to Node #0,4,0 Current State: 77:[89, 85], Operations: ['3+59=62', '23+62=85'] Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,77 unequal: No Solution Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[62, 66], Operations: ['3+59=62', '89-23=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[23, 27], Operations: ['3+59=62', '89-62=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,77 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[89, 39], Operations: ['3+59=62', '62-23=39'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,77 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[62, 112], Operations: ['3+59=62', '23+89=112'] Exploring Operation: 62+112=174, Resulting Numbers: [174] 174,77 unequal: No Solution Exploring Operation: 62*112=6944, Resulting Numbers: [6944] 6944,77 unequal: No Solution Exploring Operation: 112-62=50, Resulting Numbers: [50] 50,77 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 60, 84, 27, 96 ]
22
[ "96-84=12", "60/12=5", "27-5=22" ]
Current State: 22:[60, 84, 27, 96], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [60, 27, 12] Generated Node #2: [60, 27, 12] from Operation: 96-84=12 Current State: 22:[60, 27, 12], Operations: ['96-84=12'] Exploring Operation: 60/12=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 60/12=5 Current State: 22:[27, 5], Operations: ['96-84=12', '60/12=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[60, 84, 27, 96], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [84, 96, 33] Generated Node #0,0: 22:[84, 96, 33] Operation: 60-27=33 Exploring Operation: 96-60=36, Resulting Numbers: [84, 27, 36] Generated Node #0,1: 22:[84, 27, 36] Operation: 96-60=36 Exploring Operation: 96-84=12, Resulting Numbers: [60, 27, 12] Generated Node #0,2: 22:[60, 27, 12] Operation: 96-84=12 Exploring Operation: 84-60=24, Resulting Numbers: [27, 96, 24] Generated Node #0,3: 22:[27, 96, 24] Operation: 84-60=24 Exploring Operation: 84-27=57, Resulting Numbers: [60, 96, 57] Generated Node #0,4: 22:[60, 96, 57] Operation: 84-27=57 Moving to Node #0,2 Current State: 22:[60, 27, 12], Operations: ['96-84=12'] Exploring Operation: 60/12=5, Resulting Numbers: [27, 5] Generated Node #0,2,0: 22:[27, 5] Operation: 60/12=5 Exploring Operation: 27-12=15, Resulting Numbers: [60, 15] Generated Node #0,2,1: 22:[60, 15] Operation: 27-12=15 Exploring Operation: 60+12=72, Resulting Numbers: [27, 72] Generated Node #0,2,2: 22:[27, 72] Operation: 60+12=72 Exploring Operation: 60-12=48, Resulting Numbers: [27, 48] Generated Node #0,2,3: 22:[27, 48] Operation: 60-12=48 Exploring Operation: 60-27=33, Resulting Numbers: [12, 33] Generated Node #0,2,4: 22:[12, 33] Operation: 60-27=33 Moving to Node #0,3 Current State: 22:[27, 96, 24], Operations: ['84-60=24'] Exploring Operation: 96-27=69, Resulting Numbers: [24, 69] Generated Node #0,3,0: 22:[24, 69] Operation: 96-27=69 Exploring Operation: 96/24=4, Resulting Numbers: [27, 4] Generated Node #0,3,1: 22:[27, 4] Operation: 96/24=4 Exploring Operation: 27-24=3, Resulting Numbers: [96, 3] Generated Node #0,3,2: 22:[96, 3] Operation: 27-24=3 Exploring Operation: 27+96=123, Resulting Numbers: [24, 123] Generated Node #0,3,3: 22:[24, 123] Operation: 27+96=123 Exploring Operation: 96-24=72, Resulting Numbers: [27, 72] Generated Node #0,3,4: 22:[27, 72] Operation: 96-24=72 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[27, 4], Operations: ['84-60=24', '96/24=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,22 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[24, 69], Operations: ['84-60=24', '96-27=69'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,22 unequal: No Solution Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 22:[27, 72], Operations: ['84-60=24', '96-24=72'] Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,22 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[96, 3], Operations: ['84-60=24', '27-24=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,22 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[24, 123], Operations: ['84-60=24', '27+96=123'] Exploring Operation: 24+123=147, Resulting Numbers: [147] 147,22 unequal: No Solution Exploring Operation: 123-24=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 24*123=2952, Resulting Numbers: [2952] 2952,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 22:[84, 27, 36], Operations: ['96-60=36'] Exploring Operation: 84+36=120, Resulting Numbers: [27, 120] Generated Node #0,1,0: 22:[27, 120] Operation: 84+36=120 Exploring Operation: 84-36=48, Resulting Numbers: [27, 48] Generated Node #0,1,1: 22:[27, 48] Operation: 84-36=48 Exploring Operation: 36-27=9, Resulting Numbers: [84, 9] Generated Node #0,1,2: 22:[84, 9] Operation: 36-27=9 Exploring Operation: 84-27=57, Resulting Numbers: [36, 57] Generated Node #0,1,3: 22:[36, 57] Operation: 84-27=57 Exploring Operation: 84+27=111, Resulting Numbers: [36, 111] Generated Node #0,1,4: 22:[36, 111] Operation: 84+27=111 Moving to Node #0,0 Current State: 22:[84, 96, 33], Operations: ['60-27=33'] Exploring Operation: 84+96=180, Resulting Numbers: [33, 180] Generated Node #0,0,0: 22:[33, 180] Operation: 84+96=180 Exploring Operation: 96-33=63, Resulting Numbers: [84, 63] Generated Node #0,0,1: 22:[84, 63] Operation: 96-33=63 Exploring Operation: 84+33=117, Resulting Numbers: [96, 117] Generated Node #0,0,2: 22:[96, 117] Operation: 84+33=117 Exploring Operation: 96-84=12, Resulting Numbers: [33, 12] Generated Node #0,0,3: 22:[33, 12] Operation: 96-84=12 Exploring Operation: 84-33=51, Resulting Numbers: [96, 51] Generated Node #0,0,4: 22:[96, 51] Operation: 84-33=51 Moving to Node #0,4 Current State: 22:[60, 96, 57], Operations: ['84-27=57'] Exploring Operation: 60+96=156, Resulting Numbers: [57, 156] Generated Node #0,4,0: 22:[57, 156] Operation: 60+96=156 Exploring Operation: 96-57=39, Resulting Numbers: [60, 39] Generated Node #0,4,1: 22:[60, 39] Operation: 96-57=39 Exploring Operation: 60+57=117, Resulting Numbers: [96, 117] Generated Node #0,4,2: 22:[96, 117] Operation: 60+57=117 Exploring Operation: 96-60=36, Resulting Numbers: [57, 36] Generated Node #0,4,3: 22:[57, 36] Operation: 96-60=36 Exploring Operation: 60-57=3, Resulting Numbers: [96, 3] Generated Node #0,4,4: 22:[96, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[57, 36], Operations: ['84-27=57', '96-60=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,22 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[60, 39], Operations: ['84-27=57', '96-57=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[96, 3], Operations: ['84-27=57', '60-57=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,22 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 22:[57, 156], Operations: ['84-27=57', '60+96=156'] Exploring Operation: 57*156=8892, Resulting Numbers: [8892] 8892,22 unequal: No Solution Exploring Operation: 156-57=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 57+156=213, Resulting Numbers: [213] 213,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 22:[96, 117], Operations: ['84-27=57', '60+57=117'] Exploring Operation: 96+117=213, Resulting Numbers: [213] 213,22 unequal: No Solution Exploring Operation: 117-96=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 96*117=11232, Resulting Numbers: [11232] 11232,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 22:[27, 5], Operations: ['96-84=12', '60/12=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[60, 84, 27, 96], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [60, 27, 12] Generated Node #0,2: 22:[60, 27, 12] Operation: 96-84=12 Moving to Node #0,2 Current State: 22:[60, 27, 12], Operations: ['96-84=12'] Exploring Operation: 60/12=5, Resulting Numbers: [27, 5] Generated Node #0,2,0: 22:[27, 5] Operation: 60/12=5 Moving to Node #0,2,0 Current State: 22:[27, 5], Operations: ['96-84=12', '60/12=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.940104
hs_5
sum_heuristic
[ 28, 30, 29, 47 ]
18
[ "28+30=58", "29+47=76", "76-58=18" ]
Current State: 18:[28, 30, 29, 47], Operations: [] Exploring Operation: 28+30=58, Resulting Numbers: [29, 47, 58] Generated Node #2: [29, 47, 58] from Operation: 28+30=58 Current State: 18:[29, 47, 58], Operations: ['28+30=58'] Exploring Operation: 29+47=76, Resulting Numbers: [58, 76] Generated Node #3: [58, 76] from Operation: 29+47=76 Current State: 18:[58, 76], Operations: ['28+30=58', '29+47=76'] Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[28, 30, 29, 47], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [29, 47, 2] Generated Node #0,0: 18:[29, 47, 2] Operation: 30-28=2 Exploring Operation: 47-30=17, Resulting Numbers: [28, 29, 17] Generated Node #0,1: 18:[28, 29, 17] Operation: 47-30=17 Exploring Operation: 47-28=19, Resulting Numbers: [30, 29, 19] Generated Node #0,2: 18:[30, 29, 19] Operation: 47-28=19 Exploring Operation: 47-29=18, Resulting Numbers: [28, 30, 18] Generated Node #0,3: 18:[28, 30, 18] Operation: 47-29=18 Moving to Node #0,1 Current State: 18:[28, 29, 17], Operations: ['47-30=17'] Exploring Operation: 28+17=45, Resulting Numbers: [29, 45] Generated Node #0,1,0: 18:[29, 45] Operation: 28+17=45 Exploring Operation: 28-17=11, Resulting Numbers: [29, 11] Generated Node #0,1,1: 18:[29, 11] Operation: 28-17=11 Exploring Operation: 29-17=12, Resulting Numbers: [28, 12] Generated Node #0,1,2: 18:[28, 12] Operation: 29-17=12 Exploring Operation: 29-28=1, Resulting Numbers: [17, 1] Generated Node #0,1,3: 18:[17, 1] Operation: 29-28=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[17, 1], Operations: ['47-30=17', '29-28=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[28, 30, 29, 47], Operations: [] Exploring Operation: 47-30=17, Resulting Numbers: [28, 29, 17] Generated Node #0,1: 18:[28, 29, 17] Operation: 47-30=17 Moving to Node #0,1 Current State: 18:[28, 29, 17], Operations: ['47-30=17'] Exploring Operation: 29-28=1, Resulting Numbers: [17, 1] Generated Node #0,1,3: 18:[17, 1] Operation: 29-28=1 Moving to Node #0,1,3 Current State: 18:[17, 1], Operations: ['47-30=17', '29-28=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 39, 34, 7, 82 ]
94
[ "39-34=5", "7+82=89", "5+89=94" ]
Current State: 94:[39, 34, 7, 82], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [7, 82, 5] Generated Node #2: [7, 82, 5] from Operation: 39-34=5 Current State: 94:[7, 82, 5], Operations: ['39-34=5'] Exploring Operation: 7+82=89, Resulting Numbers: [5, 89] Generated Node #3: [5, 89] from Operation: 7+82=89 Current State: 94:[5, 89], Operations: ['39-34=5', '7+82=89'] Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[39, 34, 7, 82], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [39, 7, 48] Generated Node #0,0: 94:[39, 7, 48] Operation: 82-34=48 Exploring Operation: 39-34=5, Resulting Numbers: [7, 82, 5] Generated Node #0,1: 94:[7, 82, 5] Operation: 39-34=5 Moving to Node #0,0 Current State: 94:[39, 7, 48], Operations: ['82-34=48'] Exploring Operation: 39+7=46, Resulting Numbers: [48, 46] Generated Node #0,0,0: 94:[48, 46] Operation: 39+7=46 Exploring Operation: 39+48=87, Resulting Numbers: [7, 87] Generated Node #0,0,1: 94:[7, 87] Operation: 39+48=87 Moving to Node #0,1 Current State: 94:[7, 82, 5], Operations: ['39-34=5'] Exploring Operation: 7-5=2, Resulting Numbers: [82, 2] Generated Node #0,1,0: 94:[82, 2] Operation: 7-5=2 Exploring Operation: 7+82=89, Resulting Numbers: [5, 89] Generated Node #0,1,1: 94:[5, 89] Operation: 7+82=89 Moving to Node #0,0,0 Current State: 94:[48, 46], Operations: ['82-34=48', '39+7=46'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[39, 34, 7, 82], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [39, 7, 48] Generated Node #0,0: 94:[39, 7, 48] Operation: 82-34=48 Moving to Node #0,0 Current State: 94:[39, 7, 48], Operations: ['82-34=48'] Exploring Operation: 39+7=46, Resulting Numbers: [48, 46] Generated Node #0,0,0: 94:[48, 46] Operation: 39+7=46 Moving to Node #0,0,0 Current State: 94:[48, 46], Operations: ['82-34=48', '39+7=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 99, 23, 30, 70 ]
73
[ "99-30=69", "69/23=3", "70+3=73" ]
Current State: 73:[99, 23, 30, 70], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [23, 70, 69] Generated Node #2: [23, 70, 69] from Operation: 99-30=69 Current State: 73:[23, 70, 69], Operations: ['99-30=69'] Exploring Operation: 69/23=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 69/23=3 Current State: 73:[70, 3], Operations: ['99-30=69', '69/23=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[99, 23, 30, 70], Operations: [] Exploring Operation: 23+30=53, Resulting Numbers: [99, 70, 53] Generated Node #0,0: 73:[99, 70, 53] Operation: 23+30=53 Exploring Operation: 99-23=76, Resulting Numbers: [30, 70, 76] Generated Node #0,1: 73:[30, 70, 76] Operation: 99-23=76 Exploring Operation: 99-30=69, Resulting Numbers: [23, 70, 69] Generated Node #0,2: 73:[23, 70, 69] Operation: 99-30=69 Exploring Operation: 99+23=122, Resulting Numbers: [30, 70, 122] Generated Node #0,3: 73:[30, 70, 122] Operation: 99+23=122 Exploring Operation: 23+70=93, Resulting Numbers: [99, 30, 93] Generated Node #0,4: 73:[99, 30, 93] Operation: 23+70=93 Moving to Node #0,0 Current State: 73:[99, 70, 53], Operations: ['23+30=53'] Exploring Operation: 99-53=46, Resulting Numbers: [70, 46] Generated Node #0,0,0: 73:[70, 46] Operation: 99-53=46 Exploring Operation: 70+53=123, Resulting Numbers: [99, 123] Generated Node #0,0,1: 73:[99, 123] Operation: 70+53=123 Exploring Operation: 99+53=152, Resulting Numbers: [70, 152] Generated Node #0,0,2: 73:[70, 152] Operation: 99+53=152 Exploring Operation: 70-53=17, Resulting Numbers: [99, 17] Generated Node #0,0,3: 73:[99, 17] Operation: 70-53=17 Exploring Operation: 99-70=29, Resulting Numbers: [53, 29] Generated Node #0,0,4: 73:[53, 29] Operation: 99-70=29 Moving to Node #0,1 Current State: 73:[30, 70, 76], Operations: ['99-23=76'] Exploring Operation: 76-70=6, Resulting Numbers: [30, 6] Generated Node #0,1,0: 73:[30, 6] Operation: 76-70=6 Exploring Operation: 76-30=46, Resulting Numbers: [70, 46] Generated Node #0,1,1: 73:[70, 46] Operation: 76-30=46 Exploring Operation: 70-30=40, Resulting Numbers: [76, 40] Generated Node #0,1,2: 73:[76, 40] Operation: 70-30=40 Exploring Operation: 30+76=106, Resulting Numbers: [70, 106] Generated Node #0,1,3: 73:[70, 106] Operation: 30+76=106 Exploring Operation: 30+70=100, Resulting Numbers: [76, 100] Generated Node #0,1,4: 73:[76, 100] Operation: 30+70=100 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[70, 46], Operations: ['99-23=76', '76-30=46'] Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,73 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 73:[76, 100], Operations: ['99-23=76', '30+70=100'] Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 76*100=7600, Resulting Numbers: [7600] 7600,73 unequal: No Solution Exploring Operation: 76+100=176, Resulting Numbers: [176] 176,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[76, 40], Operations: ['99-23=76', '70-30=40'] Exploring Operation: 76*40=3040, Resulting Numbers: [3040] 3040,73 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 76+40=116, Resulting Numbers: [116] 116,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[70, 106], Operations: ['99-23=76', '30+76=106'] Exploring Operation: 106-70=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 70+106=176, Resulting Numbers: [176] 176,73 unequal: No Solution Exploring Operation: 70*106=7420, Resulting Numbers: [7420] 7420,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[30, 6], Operations: ['99-23=76', '76-70=6'] Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,73 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[23, 70, 69], Operations: ['99-30=69'] Exploring Operation: 23+69=92, Resulting Numbers: [70, 92] Generated Node #0,2,0: 73:[70, 92] Operation: 23+69=92 Exploring Operation: 69-23=46, Resulting Numbers: [70, 46] Generated Node #0,2,1: 73:[70, 46] Operation: 69-23=46 Exploring Operation: 23+70=93, Resulting Numbers: [69, 93] Generated Node #0,2,2: 73:[69, 93] Operation: 23+70=93 Exploring Operation: 70-23=47, Resulting Numbers: [69, 47] Generated Node #0,2,3: 73:[69, 47] Operation: 70-23=47 Exploring Operation: 69/23=3, Resulting Numbers: [70, 3] Generated Node #0,2,4: 73:[70, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[70, 92], Operations: ['99-30=69', '23+69=92'] Exploring Operation: 70*92=6440, Resulting Numbers: [6440] 6440,73 unequal: No Solution Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 70+92=162, Resulting Numbers: [162] 162,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[69, 93], Operations: ['99-30=69', '23+70=93'] Exploring Operation: 69+93=162, Resulting Numbers: [162] 162,73 unequal: No Solution Exploring Operation: 69*93=6417, Resulting Numbers: [6417] 6417,73 unequal: No Solution Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[70, 46], Operations: ['99-30=69', '69-23=46'] Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,73 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[69, 47], Operations: ['99-30=69', '70-23=47'] Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 69*47=3243, Resulting Numbers: [3243] 3243,73 unequal: No Solution Exploring Operation: 69+47=116, Resulting Numbers: [116] 116,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 73:[70, 3], Operations: ['99-30=69', '69/23=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,73 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[99, 23, 30, 70], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [23, 70, 69] Generated Node #0,2: 73:[23, 70, 69] Operation: 99-30=69 Moving to Node #0,2 Current State: 73:[23, 70, 69], Operations: ['99-30=69'] Exploring Operation: 69/23=3, Resulting Numbers: [70, 3] Generated Node #0,2,4: 73:[70, 3] Operation: 69/23=3 Moving to Node #0,2,4 Current State: 73:[70, 3], Operations: ['99-30=69', '69/23=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
sum_heuristic
[ 48, 19, 11, 4 ]
42
[ "48/4=12", "19+11=30", "12+30=42" ]
Current State: 42:[48, 19, 11, 4], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [19, 11, 12] Generated Node #2: [19, 11, 12] from Operation: 48/4=12 Current State: 42:[19, 11, 12], Operations: ['48/4=12'] Exploring Operation: 19+11=30, Resulting Numbers: [12, 30] Generated Node #3: [12, 30] from Operation: 19+11=30 Current State: 42:[12, 30], Operations: ['48/4=12', '19+11=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[48, 19, 11, 4], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [48, 4, 8] Generated Node #0,0: 42:[48, 4, 8] Operation: 19-11=8 Exploring Operation: 48-4=44, Resulting Numbers: [19, 11, 44] Generated Node #0,1: 42:[19, 11, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [19, 11, 12] Generated Node #0,2: 42:[19, 11, 12] Operation: 48/4=12 Exploring Operation: 48-11=37, Resulting Numbers: [19, 4, 37] Generated Node #0,3: 42:[19, 4, 37] Operation: 48-11=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[19, 11, 44], Operations: ['48-4=44'] Exploring Operation: 44-19=25, Resulting Numbers: [11, 25] Generated Node #0,1,0: 42:[11, 25] Operation: 44-19=25 Exploring Operation: 19+11=30, Resulting Numbers: [44, 30] Generated Node #0,1,1: 42:[44, 30] Operation: 19+11=30 Exploring Operation: 44/11=4, Resulting Numbers: [19, 4] Generated Node #0,1,2: 42:[19, 4] Operation: 44/11=4 Exploring Operation: 19-11=8, Resulting Numbers: [44, 8] Generated Node #0,1,3: 42:[44, 8] Operation: 19-11=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[19, 4], Operations: ['48-4=44', '44/11=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 42:[44, 8], Operations: ['48-4=44', '19-11=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[11, 25], Operations: ['48-4=44', '44-19=25'] Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,42 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[44, 30], Operations: ['48-4=44', '19+11=30'] Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,42 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[19, 11, 12], Operations: ['48/4=12'] Exploring Operation: 19-11=8, Resulting Numbers: [12, 8] Generated Node #0,2,0: 42:[12, 8] Operation: 19-11=8 Exploring Operation: 12-11=1, Resulting Numbers: [19, 1] Generated Node #0,2,1: 42:[19, 1] Operation: 12-11=1 Exploring Operation: 11+12=23, Resulting Numbers: [19, 23] Generated Node #0,2,2: 42:[19, 23] Operation: 11+12=23 Exploring Operation: 19-12=7, Resulting Numbers: [11, 7] Generated Node #0,2,3: 42:[11, 7] Operation: 19-12=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[12, 8], Operations: ['48/4=12', '19-11=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[19, 1], Operations: ['48/4=12', '12-11=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[11, 7], Operations: ['48/4=12', '19-12=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[19, 23], Operations: ['48/4=12', '11+12=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,42 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[48, 19, 11, 4], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [19, 11, 12] Generated Node #0,2: 42:[19, 11, 12] Operation: 48/4=12 Moving to Node #0,2 Current State: 42:[19, 11, 12], Operations: ['48/4=12'] Exploring Operation: 11+12=23, Resulting Numbers: [19, 23] Generated Node #0,2,2: 42:[19, 23] Operation: 11+12=23 Moving to Node #0,2,2 Current State: 42:[19, 23], Operations: ['48/4=12', '11+12=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_4
sum_heuristic
[ 69, 92, 62, 21 ]
90
[ "92*21=1932", "1932/69=28", "62+28=90" ]
Current State: 90:[69, 92, 62, 21], Operations: [] Exploring Operation: 92*21=1932, Resulting Numbers: [69, 62, 1932] Generated Node #2: [69, 62, 1932] from Operation: 92*21=1932 Current State: 90:[69, 62, 1932], Operations: ['92*21=1932'] Exploring Operation: 1932/69=28, Resulting Numbers: [62, 28] Generated Node #3: [62, 28] from Operation: 1932/69=28 Current State: 90:[62, 28], Operations: ['92*21=1932', '1932/69=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[69, 92, 62, 21], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [92, 21, 7] Generated Node #0,0: 90:[92, 21, 7] Operation: 69-62=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[92, 21, 7], Operations: ['69-62=7'] Exploring Operation: 21/7=3, Resulting Numbers: [92, 3] Generated Node #0,0,0: 90:[92, 3] Operation: 21/7=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[92, 3], Operations: ['69-62=7', '21/7=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,90 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
[ 88, 4, 48, 51 ]
95
[ "88+4=92", "51-48=3", "92+3=95" ]
Current State: 95:[88, 4, 48, 51], Operations: [] Exploring Operation: 88+4=92, Resulting Numbers: [48, 51, 92] Generated Node #2: [48, 51, 92] from Operation: 88+4=92 Current State: 95:[48, 51, 92], Operations: ['88+4=92'] Exploring Operation: 51-48=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 51-48=3 Current State: 95:[92, 3], Operations: ['88+4=92', '51-48=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[88, 4, 48, 51], Operations: [] Exploring Operation: 48+51=99, Resulting Numbers: [88, 4, 99] Generated Node #0,0: 95:[88, 4, 99] Operation: 48+51=99 Exploring Operation: 51-48=3, Resulting Numbers: [88, 4, 3] Generated Node #0,1: 95:[88, 4, 3] Operation: 51-48=3 Moving to Node #0,1 Current State: 95:[88, 4, 3], Operations: ['51-48=3'] Exploring Operation: 88+4=92, Resulting Numbers: [3, 92] Generated Node #0,1,0: 95:[3, 92] Operation: 88+4=92 Exploring Operation: 88/4=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 95:[3, 22] Operation: 88/4=22 Moving to Node #0,0 Current State: 95:[88, 4, 99], Operations: ['48+51=99'] Exploring Operation: 88+4=92, Resulting Numbers: [99, 92] Generated Node #0,0,0: 95:[99, 92] Operation: 88+4=92 Exploring Operation: 88/4=22, Resulting Numbers: [99, 22] Generated Node #0,0,1: 95:[99, 22] Operation: 88/4=22 Moving to Node #0,1,0 Current State: 95:[3, 92], Operations: ['51-48=3', '88+4=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[88, 4, 48, 51], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [88, 4, 3] Generated Node #0,1: 95:[88, 4, 3] Operation: 51-48=3 Moving to Node #0,1 Current State: 95:[88, 4, 3], Operations: ['51-48=3'] Exploring Operation: 88+4=92, Resulting Numbers: [3, 92] Generated Node #0,1,0: 95:[3, 92] Operation: 88+4=92 Moving to Node #0,1,0 Current State: 95:[3, 92], Operations: ['51-48=3', '88+4=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 72, 37, 29, 70 ]
16
[ "72-70=2", "37-29=8", "2*8=16" ]
Current State: 16:[72, 37, 29, 70], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [37, 29, 2] Generated Node #2: [37, 29, 2] from Operation: 72-70=2 Current State: 16:[37, 29, 2], Operations: ['72-70=2'] Exploring Operation: 37-29=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 37-29=8 Current State: 16:[2, 8], Operations: ['72-70=2', '37-29=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[72, 37, 29, 70], Operations: [] Exploring Operation: 72-37=35, Resulting Numbers: [29, 70, 35] Generated Node #0,0: 16:[29, 70, 35] Operation: 72-37=35 Exploring Operation: 72-70=2, Resulting Numbers: [37, 29, 2] Generated Node #0,1: 16:[37, 29, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[37, 29, 2], Operations: ['72-70=2'] Exploring Operation: 37-2=35, Resulting Numbers: [29, 35] Generated Node #0,1,0: 16:[29, 35] Operation: 37-2=35 Exploring Operation: 37-29=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 16:[2, 8] Operation: 37-29=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[2, 8], Operations: ['72-70=2', '37-29=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[72, 37, 29, 70], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [37, 29, 2] Generated Node #0,1: 16:[37, 29, 2] Operation: 72-70=2 Moving to Node #0,1 Current State: 16:[37, 29, 2], Operations: ['72-70=2'] Exploring Operation: 37-29=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 16:[2, 8] Operation: 37-29=8 Moving to Node #0,1,1 Current State: 16:[2, 8], Operations: ['72-70=2', '37-29=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 27, 6, 94, 3 ]
71
[ "27*6=162", "94-3=91", "162-91=71" ]
Current State: 71:[27, 6, 94, 3], Operations: [] Exploring Operation: 27*6=162, Resulting Numbers: [94, 3, 162] Generated Node #2: [94, 3, 162] from Operation: 27*6=162 Current State: 71:[94, 3, 162], Operations: ['27*6=162'] Exploring Operation: 94-3=91, Resulting Numbers: [162, 91] Generated Node #3: [162, 91] from Operation: 94-3=91 Current State: 71:[162, 91], Operations: ['27*6=162', '94-3=91'] Exploring Operation: 162-91=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[27, 6, 94, 3], Operations: [] Exploring Operation: 27*3=81, Resulting Numbers: [6, 94, 81] Generated Node #0,0: 71:[6, 94, 81] Operation: 27*3=81 Exploring Operation: 94-6=88, Resulting Numbers: [27, 3, 88] Generated Node #0,1: 71:[27, 3, 88] Operation: 94-6=88 Exploring Operation: 27+6=33, Resulting Numbers: [94, 3, 33] Generated Node #0,2: 71:[94, 3, 33] Operation: 27+6=33 Exploring Operation: 27+3=30, Resulting Numbers: [6, 94, 30] Generated Node #0,3: 71:[6, 94, 30] Operation: 27+3=30 Exploring Operation: 6*3=18, Resulting Numbers: [27, 94, 18] Generated Node #0,4: 71:[27, 94, 18] Operation: 6*3=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[6, 94, 81], Operations: ['27*3=81'] Exploring Operation: 81-6=75, Resulting Numbers: [94, 75] Generated Node #0,0,0: 71:[94, 75] Operation: 81-6=75 Exploring Operation: 6+94=100, Resulting Numbers: [81, 100] Generated Node #0,0,1: 71:[81, 100] Operation: 6+94=100 Exploring Operation: 94-6=88, Resulting Numbers: [81, 88] Generated Node #0,0,2: 71:[81, 88] Operation: 94-6=88 Exploring Operation: 6+81=87, Resulting Numbers: [94, 87] Generated Node #0,0,3: 71:[94, 87] Operation: 6+81=87 Exploring Operation: 94-81=13, Resulting Numbers: [6, 13] Generated Node #0,0,4: 71:[6, 13] Operation: 94-81=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[94, 75], Operations: ['27*3=81', '81-6=75'] Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 94+75=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 94*75=7050, Resulting Numbers: [7050] 7050,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[81, 88], Operations: ['27*3=81', '94-6=88'] Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 81+88=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 81*88=7128, Resulting Numbers: [7128] 7128,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[81, 100], Operations: ['27*3=81', '6+94=100'] Exploring Operation: 81*100=8100, Resulting Numbers: [8100] 8100,71 unequal: No Solution Exploring Operation: 100-81=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 81+100=181, Resulting Numbers: [181] 181,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[94, 87], Operations: ['27*3=81', '6+81=87'] Exploring Operation: 94+87=181, Resulting Numbers: [181] 181,71 unequal: No Solution Exploring Operation: 94*87=8178, Resulting Numbers: [8178] 8178,71 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[6, 13], Operations: ['27*3=81', '94-81=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[27, 94, 18], Operations: ['6*3=18'] Exploring Operation: 27+18=45, Resulting Numbers: [94, 45] Generated Node #0,4,0: 71:[94, 45] Operation: 27+18=45 Exploring Operation: 94+18=112, Resulting Numbers: [27, 112] Generated Node #0,4,1: 71:[27, 112] Operation: 94+18=112 Exploring Operation: 27-18=9, Resulting Numbers: [94, 9] Generated Node #0,4,2: 71:[94, 9] Operation: 27-18=9 Exploring Operation: 94-27=67, Resulting Numbers: [18, 67] Generated Node #0,4,3: 71:[18, 67] Operation: 94-27=67 Exploring Operation: 94-18=76, Resulting Numbers: [27, 76] Generated Node #0,4,4: 71:[27, 76] Operation: 94-18=76 Moving to Node #0,4,0 Current State: 71:[94, 45], Operations: ['6*3=18', '27+18=45'] Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,71 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[27, 76], Operations: ['6*3=18', '94-18=76'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[18, 67], Operations: ['6*3=18', '94-27=67'] Exploring Operation: 18*67=1206, Resulting Numbers: [1206] 1206,71 unequal: No Solution Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[27, 112], Operations: ['6*3=18', '94+18=112'] Exploring Operation: 27*112=3024, Resulting Numbers: [3024] 3024,71 unequal: No Solution Exploring Operation: 27+112=139, Resulting Numbers: [139] 139,71 unequal: No Solution Exploring Operation: 112-27=85, Resulting Numbers: [85] 85,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[94, 9], Operations: ['6*3=18', '27-18=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[27, 3, 88], Operations: ['94-6=88'] Exploring Operation: 88-3=85, Resulting Numbers: [27, 85] Generated Node #0,1,0: 71:[27, 85] Operation: 88-3=85 Exploring Operation: 3+88=91, Resulting Numbers: [27, 91] Generated Node #0,1,1: 71:[27, 91] Operation: 3+88=91 Exploring Operation: 27-3=24, Resulting Numbers: [88, 24] Generated Node #0,1,2: 71:[88, 24] Operation: 27-3=24 Exploring Operation: 27+3=30, Resulting Numbers: [88, 30] Generated Node #0,1,3: 71:[88, 30] Operation: 27+3=30 Exploring Operation: 27*3=81, Resulting Numbers: [88, 81] Generated Node #0,1,4: 71:[88, 81] Operation: 27*3=81 Moving to Node #0,1,4 Current State: 71:[88, 81], Operations: ['94-6=88', '27*3=81'] Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[88, 30], Operations: ['94-6=88', '27+3=30'] Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[27, 85], Operations: ['94-6=88', '88-3=85'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,71 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[27, 91], Operations: ['94-6=88', '3+88=91'] Exploring Operation: 27+91=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 27*91=2457, Resulting Numbers: [2457] 2457,71 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[88, 24], Operations: ['94-6=88', '27-3=24'] Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,71 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[94, 3, 33], Operations: ['27+6=33'] Exploring Operation: 94+3=97, Resulting Numbers: [33, 97] Generated Node #0,2,0: 71:[33, 97] Operation: 94+3=97 Exploring Operation: 3*33=99, Resulting Numbers: [94, 99] Generated Node #0,2,1: 71:[94, 99] Operation: 3*33=99 Exploring Operation: 33-3=30, Resulting Numbers: [94, 30] Generated Node #0,2,2: 71:[94, 30] Operation: 33-3=30 Exploring Operation: 94-3=91, Resulting Numbers: [33, 91] Generated Node #0,2,3: 71:[33, 91] Operation: 94-3=91 Exploring Operation: 3+33=36, Resulting Numbers: [94, 36] Generated Node #0,2,4: 71:[94, 36] Operation: 3+33=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[94, 99], Operations: ['27+6=33', '3*33=99'] Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,71 unequal: No Solution Exploring Operation: 94*99=9306, Resulting Numbers: [9306] 9306,71 unequal: No Solution Exploring Operation: 94+99=193, Resulting Numbers: [193] 193,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[33, 91], Operations: ['27+6=33', '94-3=91'] Exploring Operation: 33+91=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 33*91=3003, Resulting Numbers: [3003] 3003,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[94, 36], Operations: ['27+6=33', '3+33=36'] Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,71 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[33, 97], Operations: ['27+6=33', '94+3=97'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 33+97=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 33*97=3201, Resulting Numbers: [3201] 3201,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[94, 30], Operations: ['27+6=33', '33-3=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[6, 94, 30], Operations: ['27+3=30'] Exploring Operation: 6+94=100, Resulting Numbers: [30, 100] Generated Node #0,3,0: 71:[30, 100] Operation: 6+94=100 Exploring Operation: 94-6=88, Resulting Numbers: [30, 88] Generated Node #0,3,1: 71:[30, 88] Operation: 94-6=88 Exploring Operation: 94-30=64, Resulting Numbers: [6, 64] Generated Node #0,3,2: 71:[6, 64] Operation: 94-30=64 Exploring Operation: 6+30=36, Resulting Numbers: [94, 36] Generated Node #0,3,3: 71:[94, 36] Operation: 6+30=36 Exploring Operation: 30-6=24, Resulting Numbers: [94, 24] Generated Node #0,3,4: 71:[94, 24] Operation: 30-6=24 Moving to Node #0,3,1 Current State: 71:[30, 88], Operations: ['27+3=30', '94-6=88'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,71 unequal: No Solution Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[94, 36], Operations: ['27+3=30', '6+30=36'] Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,71 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[30, 100], Operations: ['27+3=30', '6+94=100'] Exploring Operation: 30*100=3000, Resulting Numbers: [3000] 3000,71 unequal: No Solution Exploring Operation: 30+100=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[94, 24], Operations: ['27+3=30', '30-6=24'] Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,71 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[6, 64], Operations: ['27+3=30', '94-30=64'] Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,71 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 73, 7, 34, 41 ]
72
[ "7+34=41", "41/41=1", "73-1=72" ]
Current State: 72:[73, 7, 34, 41], Operations: [] Exploring Operation: 7+34=41, Resulting Numbers: [73, 41, 41] Generated Node #2: [73, 41, 41] from Operation: 7+34=41 Current State: 72:[73, 41, 41], Operations: ['7+34=41'] Exploring Operation: 41/41=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 41/41=1 Current State: 72:[73, 1], Operations: ['7+34=41', '41/41=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[73, 7, 34, 41], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [73, 34, 34] Generated Node #0,0: 72:[73, 34, 34] Operation: 41-7=34 Exploring Operation: 34+41=75, Resulting Numbers: [73, 7, 75] Generated Node #0,1: 72:[73, 7, 75] Operation: 34+41=75 Exploring Operation: 41-34=7, Resulting Numbers: [73, 7, 7] Generated Node #0,2: 72:[73, 7, 7] Operation: 41-34=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[73, 7, 7], Operations: ['41-34=7'] Exploring Operation: 7-7=0, Resulting Numbers: [73, 0] Generated Node #0,2,0: 72:[73, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [73, 1] Generated Node #0,2,1: 72:[73, 1] Operation: 7/7=1 Exploring Operation: 7+7=14, Resulting Numbers: [73, 14] Generated Node #0,2,2: 72:[73, 14] Operation: 7+7=14 Moving to Node #0,2,1 Current State: 72:[73, 1], Operations: ['41-34=7', '7/7=1'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[73, 7, 34, 41], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [73, 7, 7] Generated Node #0,2: 72:[73, 7, 7] Operation: 41-34=7 Moving to Node #0,2 Current State: 72:[73, 7, 7], Operations: ['41-34=7'] Exploring Operation: 7/7=1, Resulting Numbers: [73, 1] Generated Node #0,2,1: 72:[73, 1] Operation: 7/7=1 Moving to Node #0,2,1 Current State: 72:[73, 1], Operations: ['41-34=7', '7/7=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 75, 87, 47, 11 ]
46
[ "87-75=12", "47+11=58", "58-12=46" ]
Current State: 46:[75, 87, 47, 11], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [47, 11, 12] Generated Node #2: [47, 11, 12] from Operation: 87-75=12 Current State: 46:[47, 11, 12], Operations: ['87-75=12'] Exploring Operation: 47+11=58, Resulting Numbers: [12, 58] Generated Node #3: [12, 58] from Operation: 47+11=58 Current State: 46:[12, 58], Operations: ['87-75=12', '47+11=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[75, 87, 47, 11], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [87, 11, 28] Generated Node #0,0: 46:[87, 11, 28] Operation: 75-47=28 Exploring Operation: 87-47=40, Resulting Numbers: [75, 11, 40] Generated Node #0,1: 46:[75, 11, 40] Operation: 87-47=40 Exploring Operation: 87-75=12, Resulting Numbers: [47, 11, 12] Generated Node #0,2: 46:[47, 11, 12] Operation: 87-75=12 Exploring Operation: 75-11=64, Resulting Numbers: [87, 47, 64] Generated Node #0,3: 46:[87, 47, 64] Operation: 75-11=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[47, 11, 12], Operations: ['87-75=12'] Exploring Operation: 12-11=1, Resulting Numbers: [47, 1] Generated Node #0,2,0: 46:[47, 1] Operation: 12-11=1 Exploring Operation: 47-11=36, Resulting Numbers: [12, 36] Generated Node #0,2,1: 46:[12, 36] Operation: 47-11=36 Exploring Operation: 11+12=23, Resulting Numbers: [47, 23] Generated Node #0,2,2: 46:[47, 23] Operation: 11+12=23 Exploring Operation: 47-12=35, Resulting Numbers: [11, 35] Generated Node #0,2,3: 46:[11, 35] Operation: 47-12=35 Moving to Node #0,2,2 Current State: 46:[47, 23], Operations: ['87-75=12', '11+12=23'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,46 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[47, 1], Operations: ['87-75=12', '12-11=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[75, 87, 47, 11], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [47, 11, 12] Generated Node #0,2: 46:[47, 11, 12] Operation: 87-75=12 Moving to Node #0,2 Current State: 46:[47, 11, 12], Operations: ['87-75=12'] Exploring Operation: 12-11=1, Resulting Numbers: [47, 1] Generated Node #0,2,0: 46:[47, 1] Operation: 12-11=1 Moving to Node #0,2,0 Current State: 46:[47, 1], Operations: ['87-75=12', '12-11=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 17, 72, 24, 24 ]
55
[ "72-17=55", "24-24=0", "55+0=55" ]
Current State: 55:[17, 72, 24, 24], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [24, 24, 55] Generated Node #2: [24, 24, 55] from Operation: 72-17=55 Current State: 55:[24, 24, 55], Operations: ['72-17=55'] Exploring Operation: 24-24=0, Resulting Numbers: [55, 0] Generated Node #3: [55, 0] from Operation: 24-24=0 Current State: 55:[55, 0], Operations: ['72-17=55', '24-24=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[17, 72, 24, 24], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [17, 24, 48] Generated Node #0,0: 55:[17, 24, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [17, 24, 3] Generated Node #0,1: 55:[17, 24, 3] Operation: 72/24=3 Exploring Operation: 72-17=55, Resulting Numbers: [24, 24, 55] Generated Node #0,2: 55:[24, 24, 55] Operation: 72-17=55 Exploring Operation: 72/24=3, Resulting Numbers: [17, 24, 3] Generated Node #0,3: 55:[17, 24, 3] Operation: 72/24=3 Moving to Node #0,1 Current State: 55:[17, 24, 3], Operations: ['72/24=3'] Exploring Operation: 17-3=14, Resulting Numbers: [24, 14] Generated Node #0,1,0: 55:[24, 14] Operation: 17-3=14 Exploring Operation: 17+24=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 55:[3, 41] Operation: 17+24=41 Exploring Operation: 24-17=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 55:[3, 7] Operation: 24-17=7 Exploring Operation: 24/3=8, Resulting Numbers: [17, 8] Generated Node #0,1,3: 55:[17, 8] Operation: 24/3=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[3, 7], Operations: ['72/24=3', '24-17=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[17, 8], Operations: ['72/24=3', '24/3=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[24, 14], Operations: ['72/24=3', '17-3=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,55 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,55 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[3, 41], Operations: ['72/24=3', '17+24=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,55 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,55 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: 55:[17, 24, 3], Operations: ['72/24=3'] Exploring Operation: 24/3=8, Resulting Numbers: [17, 8] Generated Node #0,3,0: 55:[17, 8] Operation: 24/3=8 Exploring Operation: 17+24=41, Resulting Numbers: [3, 41] Generated Node #0,3,1: 55:[3, 41] Operation: 17+24=41 Exploring Operation: 17-3=14, Resulting Numbers: [24, 14] Generated Node #0,3,2: 55:[24, 14] Operation: 17-3=14 Exploring Operation: 24-17=7, Resulting Numbers: [3, 7] Generated Node #0,3,3: 55:[3, 7] Operation: 24-17=7 Moving to Node #0,2 Current State: 55:[24, 24, 55], Operations: ['72-17=55'] Exploring Operation: 24+24=48, Resulting Numbers: [55, 48] Generated Node #0,2,0: 55:[55, 48] Operation: 24+24=48 Exploring Operation: 24/24=1, Resulting Numbers: [55, 1] Generated Node #0,2,1: 55:[55, 1] Operation: 24/24=1 Exploring Operation: 55-24=31, Resulting Numbers: [24, 31] Generated Node #0,2,2: 55:[24, 31] Operation: 55-24=31 Exploring Operation: 24-24=0, Resulting Numbers: [55, 0] Generated Node #0,2,3: 55:[55, 0] Operation: 24-24=0 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[55, 1], Operations: ['72-17=55', '24/24=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[17, 72, 24, 24], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [24, 24, 55] Generated Node #0,2: 55:[24, 24, 55] Operation: 72-17=55 Moving to Node #0,2 Current State: 55:[24, 24, 55], Operations: ['72-17=55'] Exploring Operation: 24/24=1, Resulting Numbers: [55, 1] Generated Node #0,2,1: 55:[55, 1] Operation: 24/24=1 Moving to Node #0,2,1 Current State: 55:[55, 1], Operations: ['72-17=55', '24/24=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 27, 64, 48, 48 ]
64
[ "48-48=0", "27*0=0", "64+0=64" ]
Current State: 64:[27, 64, 48, 48], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [27, 64, 0] Generated Node #2: [27, 64, 0] from Operation: 48-48=0 Current State: 64:[27, 64, 0], Operations: ['48-48=0'] Exploring Operation: 27*0=0, Resulting Numbers: [64, 0] Generated Node #3: [64, 0] from Operation: 27*0=0 Current State: 64:[64, 0], Operations: ['48-48=0', '27*0=0'] Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[27, 64, 48, 48], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [27, 64, 0] Generated Node #0,0: 64:[27, 64, 0] Operation: 48-48=0 Exploring Operation: 48-27=21, Resulting Numbers: [64, 48, 21] Generated Node #0,1: 64:[64, 48, 21] Operation: 48-27=21 Exploring Operation: 48/48=1, Resulting Numbers: [27, 64, 1] Generated Node #0,2: 64:[27, 64, 1] Operation: 48/48=1 Exploring Operation: 48-27=21, Resulting Numbers: [64, 48, 21] Generated Node #0,3: 64:[64, 48, 21] Operation: 48-27=21 Moving to Node #0,2 Current State: 64:[27, 64, 1], Operations: ['48/48=1'] Exploring Operation: 27*1=27, Resulting Numbers: [64, 27] Generated Node #0,2,0: 64:[64, 27] Operation: 27*1=27 Exploring Operation: 27/1=27, Resulting Numbers: [64, 27] Generated Node #0,2,1: 64:[64, 27] Operation: 27/1=27 Exploring Operation: 27+1=28, Resulting Numbers: [64, 28] Generated Node #0,2,2: 64:[64, 28] Operation: 27+1=28 Exploring Operation: 64*1=64, Resulting Numbers: [27, 64] Generated Node #0,2,3: 64:[27, 64] Operation: 64*1=64 Moving to Node #0,0 Current State: 64:[27, 64, 0], Operations: ['48-48=0'] Exploring Operation: 27-0=27, Resulting Numbers: [64, 27] Generated Node #0,0,0: 64:[64, 27] Operation: 27-0=27 Exploring Operation: 27+0=27, Resulting Numbers: [64, 27] Generated Node #0,0,1: 64:[64, 27] Operation: 27+0=27 Exploring Operation: 64+0=64, Resulting Numbers: [27, 64] Generated Node #0,0,2: 64:[27, 64] Operation: 64+0=64 Exploring Operation: 27*0=0, Resulting Numbers: [64, 0] Generated Node #0,0,3: 64:[64, 0] Operation: 27*0=0 Moving to Node #0,3 Current State: 64:[64, 48, 21], Operations: ['48-27=21'] Exploring Operation: 64-48=16, Resulting Numbers: [21, 16] Generated Node #0,3,0: 64:[21, 16] Operation: 64-48=16 Exploring Operation: 48+21=69, Resulting Numbers: [64, 69] Generated Node #0,3,1: 64:[64, 69] Operation: 48+21=69 Exploring Operation: 64-21=43, Resulting Numbers: [48, 43] Generated Node #0,3,2: 64:[48, 43] Operation: 64-21=43 Exploring Operation: 48-21=27, Resulting Numbers: [64, 27] Generated Node #0,3,3: 64:[64, 27] Operation: 48-21=27 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[21, 16], Operations: ['48-27=21', '64-48=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,64 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[64, 69], Operations: ['48-27=21', '48+21=69'] Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,64 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,64 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[64, 27], Operations: ['48-27=21', '48-21=27'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[48, 43], Operations: ['48-27=21', '64-21=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,64 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: 64:[64, 48, 21], Operations: ['48-27=21'] Exploring Operation: 64-21=43, Resulting Numbers: [48, 43] Generated Node #0,1,0: 64:[48, 43] Operation: 64-21=43 Exploring Operation: 64-48=16, Resulting Numbers: [21, 16] Generated Node #0,1,1: 64:[21, 16] Operation: 64-48=16 Exploring Operation: 48-21=27, Resulting Numbers: [64, 27] Generated Node #0,1,2: 64:[64, 27] Operation: 48-21=27 Exploring Operation: 48+21=69, Resulting Numbers: [64, 69] Generated Node #0,1,3: 64:[64, 69] Operation: 48+21=69 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[21, 16], Operations: ['48-27=21', '64-48=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,64 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[64, 27], Operations: ['48-27=21', '48-21=27'] Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[64, 69], Operations: ['48-27=21', '48+21=69'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,64 unequal: No Solution Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[48, 43], Operations: ['48-27=21', '64-21=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,64 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 64:[64, 0], Operations: ['48-48=0', '27*0=0'] Exploring Operation: 64*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[27, 64, 48, 48], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [27, 64, 0] Generated Node #0,0: 64:[27, 64, 0] Operation: 48-48=0 Moving to Node #0,0 Current State: 64:[27, 64, 0], Operations: ['48-48=0'] Exploring Operation: 27*0=0, Resulting Numbers: [64, 0] Generated Node #0,0,3: 64:[64, 0] Operation: 27*0=0 Moving to Node #0,0,3 Current State: 64:[64, 0], Operations: ['48-48=0', '27*0=0'] Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 80, 38, 24, 48 ]
61
[ "38*24=912", "912/48=19", "80-19=61" ]
Current State: 61:[80, 38, 24, 48], Operations: [] Exploring Operation: 38*24=912, Resulting Numbers: [80, 48, 912] Generated Node #2: [80, 48, 912] from Operation: 38*24=912 Current State: 61:[80, 48, 912], Operations: ['38*24=912'] Exploring Operation: 912/48=19, Resulting Numbers: [80, 19] Generated Node #3: [80, 19] from Operation: 912/48=19 Current State: 61:[80, 19], Operations: ['38*24=912', '912/48=19'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[80, 38, 24, 48], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [38, 48, 56] Generated Node #0,0: 61:[38, 48, 56] Operation: 80-24=56 Exploring Operation: 38+24=62, Resulting Numbers: [80, 48, 62] Generated Node #0,1: 61:[80, 48, 62] Operation: 38+24=62 Exploring Operation: 24+48=72, Resulting Numbers: [80, 38, 72] Generated Node #0,2: 61:[80, 38, 72] Operation: 24+48=72 Moving to Node #0,1 Current State: 61:[80, 48, 62], Operations: ['38+24=62'] Exploring Operation: 80-48=32, Resulting Numbers: [62, 32] Generated Node #0,1,0: 61:[62, 32] Operation: 80-48=32 Exploring Operation: 80-62=18, Resulting Numbers: [48, 18] Generated Node #0,1,1: 61:[48, 18] Operation: 80-62=18 Exploring Operation: 62-48=14, Resulting Numbers: [80, 14] Generated Node #0,1,2: 61:[80, 14] Operation: 62-48=14 Moving to Node #0,0 Current State: 61:[38, 48, 56], Operations: ['80-24=56'] Exploring Operation: 38+48=86, Resulting Numbers: [56, 86] Generated Node #0,0,0: 61:[56, 86] Operation: 38+48=86 Exploring Operation: 38+56=94, Resulting Numbers: [48, 94] Generated Node #0,0,1: 61:[48, 94] Operation: 38+56=94 Exploring Operation: 48-38=10, Resulting Numbers: [56, 10] Generated Node #0,0,2: 61:[56, 10] Operation: 48-38=10 Moving to Node #0,2 Current State: 61:[80, 38, 72], Operations: ['24+48=72'] Exploring Operation: 80-38=42, Resulting Numbers: [72, 42] Generated Node #0,2,0: 61:[72, 42] Operation: 80-38=42 Exploring Operation: 80+38=118, Resulting Numbers: [72, 118] Generated Node #0,2,1: 61:[72, 118] Operation: 80+38=118 Exploring Operation: 72-38=34, Resulting Numbers: [80, 34] Generated Node #0,2,2: 61:[80, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[72, 42], Operations: ['24+48=72', '80-38=42'] Exploring Operation: 72*42=3024, Resulting Numbers: [3024] 3024,61 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 72+42=114, Resulting Numbers: [114] 114,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[80, 34], Operations: ['24+48=72', '72-38=34'] Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,61 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[72, 118], Operations: ['24+48=72', '80+38=118'] Exploring Operation: 72+118=190, Resulting Numbers: [190] 190,61 unequal: No Solution Exploring Operation: 72*118=8496, Resulting Numbers: [8496] 8496,61 unequal: No Solution Exploring Operation: 118-72=46, Resulting Numbers: [46] 46,61 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: 61:[62, 32], Operations: ['38+24=62', '80-48=32'] Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,61 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[56, 86], Operations: ['80-24=56', '38+48=86'] Exploring Operation: 56+86=142, Resulting Numbers: [142] 142,61 unequal: No Solution Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 56*86=4816, Resulting Numbers: [4816] 4816,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[48, 94], Operations: ['80-24=56', '38+56=94'] Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,61 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[56, 10], Operations: ['80-24=56', '48-38=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[48, 18], Operations: ['38+24=62', '80-62=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[80, 14], Operations: ['38+24=62', '62-48=14'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,61 unequal: No Solution Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 1, 65, 23, 30 ]
72
[ "1*65=65", "30-23=7", "65+7=72" ]
Current State: 72:[1, 65, 23, 30], Operations: [] Exploring Operation: 1*65=65, Resulting Numbers: [23, 30, 65] Generated Node #2: [23, 30, 65] from Operation: 1*65=65 Current State: 72:[23, 30, 65], Operations: ['1*65=65'] Exploring Operation: 30-23=7, Resulting Numbers: [65, 7] Generated Node #3: [65, 7] from Operation: 30-23=7 Current State: 72:[65, 7], Operations: ['1*65=65', '30-23=7'] Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[1, 65, 23, 30], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [1, 23, 35] Generated Node #0,0: 72:[1, 23, 35] Operation: 65-30=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[1, 23, 35], Operations: ['65-30=35'] Exploring Operation: 1+23=24, Resulting Numbers: [35, 24] Generated Node #0,0,0: 72:[35, 24] Operation: 1+23=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[35, 24], Operations: ['65-30=35', '1+23=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,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_1
sum_heuristic
[ 98, 91, 8, 34 ]
33
[ "98-91=7", "34-8=26", "7+26=33" ]
Current State: 33:[98, 91, 8, 34], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [8, 34, 7] Generated Node #2: [8, 34, 7] from Operation: 98-91=7 Current State: 33:[8, 34, 7], Operations: ['98-91=7'] Exploring Operation: 34-8=26, Resulting Numbers: [7, 26] Generated Node #3: [7, 26] from Operation: 34-8=26 Current State: 33:[7, 26], Operations: ['98-91=7', '34-8=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[98, 91, 8, 34], Operations: [] Exploring Operation: 98-8=90, Resulting Numbers: [91, 34, 90] Generated Node #0,0: 33:[91, 34, 90] Operation: 98-8=90 Exploring Operation: 91-34=57, Resulting Numbers: [98, 8, 57] Generated Node #0,1: 33:[98, 8, 57] Operation: 91-34=57 Exploring Operation: 98-91=7, Resulting Numbers: [8, 34, 7] Generated Node #0,2: 33:[8, 34, 7] Operation: 98-91=7 Exploring Operation: 98-34=64, Resulting Numbers: [91, 8, 64] Generated Node #0,3: 33:[91, 8, 64] Operation: 98-34=64 Moving to Node #0,2 Current State: 33:[8, 34, 7], Operations: ['98-91=7'] Exploring Operation: 8+7=15, Resulting Numbers: [34, 15] Generated Node #0,2,0: 33:[34, 15] Operation: 8+7=15 Exploring Operation: 34-7=27, Resulting Numbers: [8, 27] Generated Node #0,2,1: 33:[8, 27] Operation: 34-7=27 Exploring Operation: 34-8=26, Resulting Numbers: [7, 26] Generated Node #0,2,2: 33:[7, 26] Operation: 34-8=26 Exploring Operation: 8-7=1, Resulting Numbers: [34, 1] Generated Node #0,2,3: 33:[34, 1] Operation: 8-7=1 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[34, 1], Operations: ['98-91=7', '8-7=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[98, 91, 8, 34], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [8, 34, 7] Generated Node #0,2: 33:[8, 34, 7] Operation: 98-91=7 Moving to Node #0,2 Current State: 33:[8, 34, 7], Operations: ['98-91=7'] Exploring Operation: 8-7=1, Resulting Numbers: [34, 1] Generated Node #0,2,3: 33:[34, 1] Operation: 8-7=1 Moving to Node #0,2,3 Current State: 33:[34, 1], Operations: ['98-91=7', '8-7=1'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 5, 85, 5, 69 ]
53
[ "85-5=80", "80/5=16", "69-16=53" ]
Current State: 53:[5, 85, 5, 69], Operations: [] Exploring Operation: 85-5=80, Resulting Numbers: [69, 80] Generated Node #2: [69, 80] from Operation: 85-5=80 Current State: 53:[69, 80], Operations: ['85-5=80'] Exploring Operation: 80/5=16, Resulting Numbers: [69, 16] Generated Node #3: [69, 16] from Operation: 80/5=16 Current State: 53:[69, 16], Operations: ['85-5=80', '80/5=16'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[5, 85, 5, 69], Operations: [] Exploring Operation: 85-5=80, Resulting Numbers: [5, 69, 80] Generated Node #0,0: 53:[5, 69, 80] Operation: 85-5=80 Exploring Operation: 5*5=25, Resulting Numbers: [85, 69, 25] Generated Node #0,1: 53:[85, 69, 25] Operation: 5*5=25 Moving to Node #0,1 Current State: 53:[85, 69, 25], Operations: ['5*5=25'] Exploring Operation: 85-25=60, Resulting Numbers: [69, 60] Generated Node #0,1,0: 53:[69, 60] Operation: 85-25=60 Exploring Operation: 69-25=44, Resulting Numbers: [85, 44] Generated Node #0,1,1: 53:[85, 44] Operation: 69-25=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[69, 60], Operations: ['5*5=25', '85-25=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[85, 44], Operations: ['5*5=25', '69-25=44'] Exploring Operation: 85+44=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 53:[5, 69, 80], Operations: ['85-5=80'] Exploring Operation: 69-5=64, Resulting Numbers: [80, 64] Generated Node #0,0,0: 53:[80, 64] Operation: 69-5=64 Exploring Operation: 80-5=75, Resulting Numbers: [69, 75] Generated Node #0,0,1: 53:[69, 75] Operation: 80-5=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[80, 64], Operations: ['85-5=80', '69-5=64'] Exploring Operation: 80+64=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[69, 75], Operations: ['85-5=80', '80-5=75'] Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,53 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
[ 14, 97, 46, 16 ]
82
[ "14*97=1358", "1358-46=1312", "1312/16=82" ]
Current State: 82:[14, 97, 46, 16], Operations: [] Exploring Operation: 14*97=1358, Resulting Numbers: [46, 16, 1358] Generated Node #2: [46, 16, 1358] from Operation: 14*97=1358 Current State: 82:[46, 16, 1358], Operations: ['14*97=1358'] Exploring Operation: 1358-46=1312, Resulting Numbers: [16, 1312] Generated Node #3: [16, 1312] from Operation: 1358-46=1312 Current State: 82:[16, 1312], Operations: ['14*97=1358', '1358-46=1312'] Exploring Operation: 1312/16=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[14, 97, 46, 16], Operations: [] Exploring Operation: 97-16=81, Resulting Numbers: [14, 46, 81] Generated Node #0,0: 82:[14, 46, 81] Operation: 97-16=81 Exploring Operation: 16-14=2, Resulting Numbers: [97, 46, 2] Generated Node #0,1: 82:[97, 46, 2] Operation: 16-14=2 Exploring Operation: 97-46=51, Resulting Numbers: [14, 16, 51] Generated Node #0,2: 82:[14, 16, 51] Operation: 97-46=51 Exploring Operation: 14+16=30, Resulting Numbers: [97, 46, 30] Generated Node #0,3: 82:[97, 46, 30] Operation: 14+16=30 Exploring Operation: 97-14=83, Resulting Numbers: [46, 16, 83] Generated Node #0,4: 82:[46, 16, 83] Operation: 97-14=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[14, 46, 81], Operations: ['97-16=81'] Exploring Operation: 14+81=95, Resulting Numbers: [46, 95] Generated Node #0,0,0: 82:[46, 95] Operation: 14+81=95 Exploring Operation: 14+46=60, Resulting Numbers: [81, 60] Generated Node #0,0,1: 82:[81, 60] Operation: 14+46=60 Exploring Operation: 81-46=35, Resulting Numbers: [14, 35] Generated Node #0,0,2: 82:[14, 35] Operation: 81-46=35 Exploring Operation: 46-14=32, Resulting Numbers: [81, 32] Generated Node #0,0,3: 82:[81, 32] Operation: 46-14=32 Exploring Operation: 81-14=67, Resulting Numbers: [46, 67] Generated Node #0,0,4: 82:[46, 67] Operation: 81-14=67 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[81, 32], Operations: ['97-16=81', '46-14=32'] Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,82 unequal: No Solution Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,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,0,0 Current State: 82:[46, 95], Operations: ['97-16=81', '14+81=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,82 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,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,0,2 Current State: 82:[14, 35], Operations: ['97-16=81', '81-46=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,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,0,1 Current State: 82:[81, 60], Operations: ['97-16=81', '14+46=60'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,82 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,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,0,4 Current State: 82:[46, 67], Operations: ['97-16=81', '81-14=67'] Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,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,1 Current State: 82:[97, 46, 2], Operations: ['16-14=2'] Exploring Operation: 97-2=95, Resulting Numbers: [46, 95] Generated Node #0,1,0: 82:[46, 95] Operation: 97-2=95 Exploring Operation: 46-2=44, Resulting Numbers: [97, 44] Generated Node #0,1,1: 82:[97, 44] Operation: 46-2=44 Exploring Operation: 46+2=48, Resulting Numbers: [97, 48] Generated Node #0,1,2: 82:[97, 48] Operation: 46+2=48 Exploring Operation: 97+2=99, Resulting Numbers: [46, 99] Generated Node #0,1,3: 82:[46, 99] Operation: 97+2=99 Exploring Operation: 97-46=51, Resulting Numbers: [2, 51] Generated Node #0,1,4: 82:[2, 51] Operation: 97-46=51 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 82:[2, 51], Operations: ['16-14=2', '97-46=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,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,0 Current State: 82:[46, 95], Operations: ['16-14=2', '97-2=95'] Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,82 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,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:[97, 44], Operations: ['16-14=2', '46-2=44'] Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,82 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[97, 48], Operations: ['16-14=2', '46+2=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,82 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,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,3 Current State: 82:[46, 99], Operations: ['16-14=2', '97+2=99'] Exploring Operation: 46+99=145, Resulting Numbers: [145] 145,82 unequal: No Solution Exploring Operation: 46*99=4554, Resulting Numbers: [4554] 4554,82 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,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,4 Current State: 82:[46, 16, 83], Operations: ['97-14=83'] Exploring Operation: 46+16=62, Resulting Numbers: [83, 62] Generated Node #0,4,0: 82:[83, 62] Operation: 46+16=62 Exploring Operation: 16+83=99, Resulting Numbers: [46, 99] Generated Node #0,4,1: 82:[46, 99] Operation: 16+83=99 Exploring Operation: 83-46=37, Resulting Numbers: [16, 37] Generated Node #0,4,2: 82:[16, 37] Operation: 83-46=37 Exploring Operation: 83-16=67, Resulting Numbers: [46, 67] Generated Node #0,4,3: 82:[46, 67] Operation: 83-16=67 Exploring Operation: 46-16=30, Resulting Numbers: [83, 30] Generated Node #0,4,4: 82:[83, 30] Operation: 46-16=30 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 82:[83, 30], Operations: ['97-14=83', '46-16=30'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 82:[16, 37], Operations: ['97-14=83', '83-46=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,82 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 82:[46, 67], Operations: ['97-14=83', '83-16=67'] Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,82 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 82:[83, 62], Operations: ['97-14=83', '46+16=62'] Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,82 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 82:[46, 99], Operations: ['97-14=83', '16+83=99'] Exploring Operation: 46*99=4554, Resulting Numbers: [4554] 4554,82 unequal: No Solution Exploring Operation: 46+99=145, Resulting Numbers: [145] 145,82 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[97, 46, 30], Operations: ['14+16=30'] Exploring Operation: 97+30=127, Resulting Numbers: [46, 127] Generated Node #0,3,0: 82:[46, 127] Operation: 97+30=127 Exploring Operation: 97-46=51, Resulting Numbers: [30, 51] Generated Node #0,3,1: 82:[30, 51] Operation: 97-46=51 Exploring Operation: 46+30=76, Resulting Numbers: [97, 76] Generated Node #0,3,2: 82:[97, 76] Operation: 46+30=76 Exploring Operation: 97-30=67, Resulting Numbers: [46, 67] Generated Node #0,3,3: 82:[46, 67] Operation: 97-30=67 Exploring Operation: 46-30=16, Resulting Numbers: [97, 16] Generated Node #0,3,4: 82:[97, 16] Operation: 46-30=16 Moving to Node #0,3,3 Current State: 82:[46, 67], Operations: ['14+16=30', '97-30=67'] Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,82 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[97, 76], Operations: ['14+16=30', '46+30=76'] Exploring Operation: 97+76=173, Resulting Numbers: [173] 173,82 unequal: No Solution Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 97*76=7372, Resulting Numbers: [7372] 7372,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[30, 51], Operations: ['14+16=30', '97-46=51'] Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[97, 16], Operations: ['14+16=30', '46-30=16'] Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[46, 127], Operations: ['14+16=30', '97+30=127'] Exploring Operation: 46*127=5842, Resulting Numbers: [5842] 5842,82 unequal: No Solution Exploring Operation: 127-46=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 46+127=173, Resulting Numbers: [173] 173,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[14, 16, 51], Operations: ['97-46=51'] Exploring Operation: 14+16=30, Resulting Numbers: [51, 30] Generated Node #0,2,0: 82:[51, 30] Operation: 14+16=30 Exploring Operation: 16+51=67, Resulting Numbers: [14, 67] Generated Node #0,2,1: 82:[14, 67] Operation: 16+51=67 Exploring Operation: 51-14=37, Resulting Numbers: [16, 37] Generated Node #0,2,2: 82:[16, 37] Operation: 51-14=37 Exploring Operation: 51-16=35, Resulting Numbers: [14, 35] Generated Node #0,2,3: 82:[14, 35] Operation: 51-16=35 Exploring Operation: 16-14=2, Resulting Numbers: [51, 2] Generated Node #0,2,4: 82:[51, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 82:[51, 2], Operations: ['97-46=51', '16-14=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[16, 37], Operations: ['97-46=51', '51-14=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[14, 35], Operations: ['97-46=51', '51-16=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[51, 30], Operations: ['97-46=51', '14+16=30'] Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,82 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[14, 67], Operations: ['97-46=51', '16+51=67'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,82 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,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 No solution found.
0
hs_5
mult_heuristic
[ 10, 13, 68, 49 ]
90
[ "68+49=117", "10*117=1170", "1170/13=90" ]
Current State: 90:[10, 13, 68, 49], Operations: [] Exploring Operation: 68+49=117, Resulting Numbers: [10, 13, 117] Generated Node #2: [10, 13, 117] from Operation: 68+49=117 Current State: 90:[10, 13, 117], Operations: ['68+49=117'] Exploring Operation: 10*117=1170, Resulting Numbers: [13, 1170] Generated Node #3: [13, 1170] from Operation: 10*117=1170 Current State: 90:[13, 1170], Operations: ['68+49=117', '10*117=1170'] Exploring Operation: 1170/13=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[10, 13, 68, 49], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [10, 13, 19] Generated Node #0,0: 90:[10, 13, 19] Operation: 68-49=19 Moving to Node #0,0 Current State: 90:[10, 13, 19], Operations: ['68-49=19'] Exploring Operation: 19-13=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 90:[10, 6] Operation: 19-13=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[10, 6], Operations: ['68-49=19', '19-13=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,90 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
[ 53, 57, 22, 65 ]
91
[ "57-53=4", "22+65=87", "4+87=91" ]
Current State: 91:[53, 57, 22, 65], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [22, 65, 4] Generated Node #2: [22, 65, 4] from Operation: 57-53=4 Current State: 91:[22, 65, 4], Operations: ['57-53=4'] Exploring Operation: 22+65=87, Resulting Numbers: [4, 87] Generated Node #3: [4, 87] from Operation: 22+65=87 Current State: 91:[4, 87], Operations: ['57-53=4', '22+65=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[53, 57, 22, 65], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [22, 65, 4] Generated Node #0,0: 91:[22, 65, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 91:[22, 65, 4], Operations: ['57-53=4'] Exploring Operation: 22+65=87, Resulting Numbers: [4, 87] Generated Node #0,0,0: 91:[4, 87] Operation: 22+65=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[4, 87], Operations: ['57-53=4', '22+65=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[53, 57, 22, 65], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [22, 65, 4] Generated Node #0,0: 91:[22, 65, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 91:[22, 65, 4], Operations: ['57-53=4'] Exploring Operation: 22+65=87, Resulting Numbers: [4, 87] Generated Node #0,0,0: 91:[4, 87] Operation: 22+65=87 Moving to Node #0,0,0 Current State: 91:[4, 87], Operations: ['57-53=4', '22+65=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 17, 8, 10, 90 ]
64
[ "90/10=9", "17-9=8", "8*8=64" ]
Current State: 64:[17, 8, 10, 90], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [17, 8, 9] Generated Node #2: [17, 8, 9] from Operation: 90/10=9 Current State: 64:[17, 8, 9], Operations: ['90/10=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 17-9=8 Current State: 64:[8, 8], Operations: ['90/10=9', '17-9=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[17, 8, 10, 90], Operations: [] Exploring Operation: 90-10=80, Resulting Numbers: [17, 8, 80] Generated Node #0,0: 64:[17, 8, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [17, 8, 9] Generated Node #0,1: 64:[17, 8, 9] Operation: 90/10=9 Exploring Operation: 90-17=73, Resulting Numbers: [8, 10, 73] Generated Node #0,2: 64:[8, 10, 73] Operation: 90-17=73 Exploring Operation: 90-8=82, Resulting Numbers: [17, 10, 82] Generated Node #0,3: 64:[17, 10, 82] Operation: 90-8=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[17, 8, 9], Operations: ['90/10=9'] Exploring Operation: 9-8=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 64:[17, 1] Operation: 9-8=1 Exploring Operation: 17-9=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 64:[8, 8] Operation: 17-9=8 Exploring Operation: 17-8=9, Resulting Numbers: [9, 9] Generated Node #0,1,2: 64:[9, 9] Operation: 17-8=9 Exploring Operation: 8+9=17, Resulting Numbers: [17, 17] Generated Node #0,1,3: 64:[17, 17] Operation: 8+9=17 Moving to Node #0,1,1 Current State: 64:[8, 8], Operations: ['90/10=9', '17-9=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[17, 8, 10, 90], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [17, 8, 9] Generated Node #0,1: 64:[17, 8, 9] Operation: 90/10=9 Moving to Node #0,1 Current State: 64:[17, 8, 9], Operations: ['90/10=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 64:[8, 8] Operation: 17-9=8 Moving to Node #0,1,1 Current State: 64:[8, 8], Operations: ['90/10=9', '17-9=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 34, 27, 11, 69 ]
51
[ "34-27=7", "69-11=58", "58-7=51" ]
Current State: 51:[34, 27, 11, 69], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [11, 69, 7] Generated Node #2: [11, 69, 7] from Operation: 34-27=7 Current State: 51:[11, 69, 7], Operations: ['34-27=7'] Exploring Operation: 69-11=58, Resulting Numbers: [7, 58] Generated Node #3: [7, 58] from Operation: 69-11=58 Current State: 51:[7, 58], Operations: ['34-27=7', '69-11=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[34, 27, 11, 69], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [11, 69, 7] Generated Node #0,0: 51:[11, 69, 7] Operation: 34-27=7 Exploring Operation: 69-34=35, Resulting Numbers: [27, 11, 35] Generated Node #0,1: 51:[27, 11, 35] Operation: 69-34=35 Exploring Operation: 69-27=42, Resulting Numbers: [34, 11, 42] Generated Node #0,2: 51:[34, 11, 42] Operation: 69-27=42 Moving to Node #0,0 Current State: 51:[11, 69, 7], Operations: ['34-27=7'] Exploring Operation: 69-11=58, Resulting Numbers: [7, 58] Generated Node #0,0,0: 51:[7, 58] Operation: 69-11=58 Exploring Operation: 69-7=62, Resulting Numbers: [11, 62] Generated Node #0,0,1: 51:[11, 62] Operation: 69-7=62 Exploring Operation: 11+7=18, Resulting Numbers: [69, 18] Generated Node #0,0,2: 51:[69, 18] Operation: 11+7=18 Moving to Node #0,1 Current State: 51:[27, 11, 35], Operations: ['69-34=35'] Exploring Operation: 11+35=46, Resulting Numbers: [27, 46] Generated Node #0,1,0: 51:[27, 46] Operation: 11+35=46 Exploring Operation: 27-11=16, Resulting Numbers: [35, 16] Generated Node #0,1,1: 51:[35, 16] Operation: 27-11=16 Exploring Operation: 35-27=8, Resulting Numbers: [11, 8] Generated Node #0,1,2: 51:[11, 8] Operation: 35-27=8 Moving to Node #0,2 Current State: 51:[34, 11, 42], Operations: ['69-27=42'] Exploring Operation: 34-11=23, Resulting Numbers: [42, 23] Generated Node #0,2,0: 51:[42, 23] Operation: 34-11=23 Exploring Operation: 42-34=8, Resulting Numbers: [11, 8] Generated Node #0,2,1: 51:[11, 8] Operation: 42-34=8 Exploring Operation: 34+11=45, Resulting Numbers: [42, 45] Generated Node #0,2,2: 51:[42, 45] Operation: 34+11=45 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[11, 8], Operations: ['69-27=42', '42-34=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[42, 23], Operations: ['69-27=42', '34-11=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[42, 45], Operations: ['69-27=42', '34+11=45'] Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,51 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,51 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: 51:[7, 58], Operations: ['34-27=7', '69-11=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[34, 27, 11, 69], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [11, 69, 7] Generated Node #0,0: 51:[11, 69, 7] Operation: 34-27=7 Moving to Node #0,0 Current State: 51:[11, 69, 7], Operations: ['34-27=7'] Exploring Operation: 69-11=58, Resulting Numbers: [7, 58] Generated Node #0,0,0: 51:[7, 58] Operation: 69-11=58 Moving to Node #0,0,0 Current State: 51:[7, 58], Operations: ['34-27=7', '69-11=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 73, 27, 46, 84 ]
62
[ "73+27=100", "84-46=38", "100-38=62" ]
Current State: 62:[73, 27, 46, 84], Operations: [] Exploring Operation: 73+27=100, Resulting Numbers: [46, 84, 100] Generated Node #2: [46, 84, 100] from Operation: 73+27=100 Current State: 62:[46, 84, 100], Operations: ['73+27=100'] Exploring Operation: 84-46=38, Resulting Numbers: [100, 38] Generated Node #3: [100, 38] from Operation: 84-46=38 Current State: 62:[100, 38], Operations: ['73+27=100', '84-46=38'] Exploring Operation: 100-38=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[73, 27, 46, 84], Operations: [] Exploring Operation: 27+46=73, Resulting Numbers: [73, 84, 73] Generated Node #0,0: 62:[73, 84, 73] Operation: 27+46=73 Exploring Operation: 73-46=27, Resulting Numbers: [27, 84, 27] Generated Node #0,1: 62:[27, 84, 27] Operation: 73-46=27 Exploring Operation: 84-46=38, Resulting Numbers: [73, 27, 38] Generated Node #0,2: 62:[73, 27, 38] Operation: 84-46=38 Exploring Operation: 84-27=57, Resulting Numbers: [73, 46, 57] Generated Node #0,3: 62:[73, 46, 57] Operation: 84-27=57 Exploring Operation: 84-73=11, Resulting Numbers: [27, 46, 11] Generated Node #0,4: 62:[27, 46, 11] Operation: 84-73=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[73, 27, 38], Operations: ['84-46=38'] Exploring Operation: 73+27=100, Resulting Numbers: [38, 100] Generated Node #0,2,0: 62:[38, 100] Operation: 73+27=100 Exploring Operation: 73-27=46, Resulting Numbers: [38, 46] Generated Node #0,2,1: 62:[38, 46] Operation: 73-27=46 Exploring Operation: 73-38=35, Resulting Numbers: [27, 35] Generated Node #0,2,2: 62:[27, 35] Operation: 73-38=35 Exploring Operation: 38-27=11, Resulting Numbers: [73, 11] Generated Node #0,2,3: 62:[73, 11] Operation: 38-27=11 Exploring Operation: 27+38=65, Resulting Numbers: [73, 65] Generated Node #0,2,4: 62:[73, 65] Operation: 27+38=65 Moving to Node #0,2,2 Current State: 62:[27, 35], Operations: ['84-46=38', '73-38=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[73, 27, 46, 84], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [73, 27, 38] Generated Node #0,2: 62:[73, 27, 38] Operation: 84-46=38 Moving to Node #0,2 Current State: 62:[73, 27, 38], Operations: ['84-46=38'] Exploring Operation: 73-38=35, Resulting Numbers: [27, 35] Generated Node #0,2,2: 62:[27, 35] Operation: 73-38=35 Moving to Node #0,2,2 Current State: 62:[27, 35], Operations: ['84-46=38', '73-38=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 7, 75, 20, 35 ]
35
[ "7*75=525", "35-20=15", "525/15=35" ]
Current State: 35:[7, 75, 20, 35], Operations: [] Exploring Operation: 7*75=525, Resulting Numbers: [20, 35, 525] Generated Node #2: [20, 35, 525] from Operation: 7*75=525 Current State: 35:[20, 35, 525], Operations: ['7*75=525'] Exploring Operation: 35-20=15, Resulting Numbers: [525, 15] Generated Node #3: [525, 15] from Operation: 35-20=15 Current State: 35:[525, 15], Operations: ['7*75=525', '35-20=15'] Exploring Operation: 525/15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[7, 75, 20, 35], Operations: [] Exploring Operation: 75-35=40, Resulting Numbers: [7, 20, 40] Generated Node #0,0: 35:[7, 20, 40] Operation: 75-35=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[7, 20, 40], Operations: ['75-35=40'] Exploring Operation: 40/20=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 35:[7, 2] Operation: 40/20=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[7, 2], Operations: ['75-35=40', '40/20=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 69, 94, 63 ]
74
[ "69-63=6", "28*6=168", "168-94=74" ]
Current State: 74:[28, 69, 94, 63], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [28, 94, 6] Generated Node #2: [28, 94, 6] from Operation: 69-63=6 Current State: 74:[28, 94, 6], Operations: ['69-63=6'] Exploring Operation: 28*6=168, Resulting Numbers: [94, 168] Generated Node #3: [94, 168] from Operation: 28*6=168 Current State: 74:[94, 168], Operations: ['69-63=6', '28*6=168'] Exploring Operation: 168-94=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[28, 69, 94, 63], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [28, 69, 31] Generated Node #0,0: 74:[28, 69, 31] Operation: 94-63=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[28, 69, 31], Operations: ['94-63=31'] Exploring Operation: 31-28=3, Resulting Numbers: [69, 3] Generated Node #0,0,0: 74:[69, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 74:[69, 3], Operations: ['94-63=31', '31-28=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,74 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
[ 89, 68, 34, 51 ]
93
[ "51-34=17", "68/17=4", "89+4=93" ]
Current State: 93:[89, 68, 34, 51], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [89, 68, 17] Generated Node #2: [89, 68, 17] from Operation: 51-34=17 Current State: 93:[89, 68, 17], Operations: ['51-34=17'] Exploring Operation: 68/17=4, Resulting Numbers: [89, 4] Generated Node #3: [89, 4] from Operation: 68/17=4 Current State: 93:[89, 4], Operations: ['51-34=17', '68/17=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[89, 68, 34, 51], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [89, 34, 17] Generated Node #0,0: 93:[89, 34, 17] Operation: 68-51=17 Moving to Node #0,0 Current State: 93:[89, 34, 17], Operations: ['68-51=17'] Exploring Operation: 34/17=2, Resulting Numbers: [89, 2] Generated Node #0,0,0: 93:[89, 2] Operation: 34/17=2 Moving to Node #0,0,0 Current State: 93:[89, 2], Operations: ['68-51=17', '34/17=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,93 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 74, 73, 43, 27 ]
69
[ "74-73=1", "43+27=70", "70-1=69" ]
Current State: 69:[74, 73, 43, 27], Operations: [] Exploring Operation: 74-73=1, Resulting Numbers: [43, 27, 1] Generated Node #2: [43, 27, 1] from Operation: 74-73=1 Current State: 69:[43, 27, 1], Operations: ['74-73=1'] Exploring Operation: 43+27=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 43+27=70 Current State: 69:[1, 70], Operations: ['74-73=1', '43+27=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[74, 73, 43, 27], Operations: [] Exploring Operation: 43+27=70, Resulting Numbers: [74, 73, 70] Generated Node #0,0: 69:[74, 73, 70] Operation: 43+27=70 Exploring Operation: 43-27=16, Resulting Numbers: [74, 73, 16] Generated Node #0,1: 69:[74, 73, 16] Operation: 43-27=16 Exploring Operation: 74-43=31, Resulting Numbers: [73, 27, 31] Generated Node #0,2: 69:[73, 27, 31] Operation: 74-43=31 Exploring Operation: 73-43=30, Resulting Numbers: [74, 27, 30] Generated Node #0,3: 69:[74, 27, 30] Operation: 73-43=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[74, 73, 70], Operations: ['43+27=70'] Exploring Operation: 74-70=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 69:[73, 4] Operation: 74-70=4 Exploring Operation: 73-70=3, Resulting Numbers: [74, 3] Generated Node #0,0,1: 69:[74, 3] Operation: 73-70=3 Exploring Operation: 74+73=147, Resulting Numbers: [70, 147] Generated Node #0,0,2: 69:[70, 147] Operation: 74+73=147 Exploring Operation: 74-73=1, Resulting Numbers: [70, 1] Generated Node #0,0,3: 69:[70, 1] Operation: 74-73=1 Moving to Node #0,0,3 Current State: 69:[70, 1], Operations: ['43+27=70', '74-73=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[74, 73, 43, 27], Operations: [] Exploring Operation: 43+27=70, Resulting Numbers: [74, 73, 70] Generated Node #0,0: 69:[74, 73, 70] Operation: 43+27=70 Moving to Node #0,0 Current State: 69:[74, 73, 70], Operations: ['43+27=70'] Exploring Operation: 74-73=1, Resulting Numbers: [70, 1] Generated Node #0,0,3: 69:[70, 1] Operation: 74-73=1 Moving to Node #0,0,3 Current State: 69:[70, 1], Operations: ['43+27=70', '74-73=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 75, 72, 83, 13 ]
77
[ "75+72=147", "83-13=70", "147-70=77" ]
Current State: 77:[75, 72, 83, 13], Operations: [] Exploring Operation: 75+72=147, Resulting Numbers: [83, 13, 147] Generated Node #2: [83, 13, 147] from Operation: 75+72=147 Current State: 77:[83, 13, 147], Operations: ['75+72=147'] Exploring Operation: 83-13=70, Resulting Numbers: [147, 70] Generated Node #3: [147, 70] from Operation: 83-13=70 Current State: 77:[147, 70], Operations: ['75+72=147', '83-13=70'] Exploring Operation: 147-70=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[75, 72, 83, 13], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [83, 13, 3] Generated Node #0,0: 77:[83, 13, 3] Operation: 75-72=3 Exploring Operation: 83-72=11, Resulting Numbers: [75, 13, 11] Generated Node #0,1: 77:[75, 13, 11] Operation: 83-72=11 Exploring Operation: 83-75=8, Resulting Numbers: [72, 13, 8] Generated Node #0,2: 77:[72, 13, 8] Operation: 83-75=8 Moving to Node #0,1 Current State: 77:[75, 13, 11], Operations: ['83-72=11'] Exploring Operation: 75+11=86, Resulting Numbers: [13, 86] Generated Node #0,1,0: 77:[13, 86] Operation: 75+11=86 Exploring Operation: 13-11=2, Resulting Numbers: [75, 2] Generated Node #0,1,1: 77:[75, 2] Operation: 13-11=2 Exploring Operation: 75+13=88, Resulting Numbers: [11, 88] Generated Node #0,1,2: 77:[11, 88] Operation: 75+13=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[75, 2], Operations: ['83-72=11', '13-11=2'] Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[75, 72, 83, 13], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [75, 13, 11] Generated Node #0,1: 77:[75, 13, 11] Operation: 83-72=11 Moving to Node #0,1 Current State: 77:[75, 13, 11], Operations: ['83-72=11'] Exploring Operation: 13-11=2, Resulting Numbers: [75, 2] Generated Node #0,1,1: 77:[75, 2] Operation: 13-11=2 Moving to Node #0,1,1 Current State: 77:[75, 2], Operations: ['83-72=11', '13-11=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 34, 29, 57, 61 ]
20
[ "34-29=5", "61-57=4", "5*4=20" ]
Current State: 20:[34, 29, 57, 61], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [57, 61, 5] Generated Node #2: [57, 61, 5] from Operation: 34-29=5 Current State: 20:[57, 61, 5], Operations: ['34-29=5'] Exploring Operation: 61-57=4, Resulting Numbers: [5, 4] Generated Node #3: [5, 4] from Operation: 61-57=4 Current State: 20:[5, 4], Operations: ['34-29=5', '61-57=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[34, 29, 57, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [34, 29, 4] Generated Node #0,0: 20:[34, 29, 4] Operation: 61-57=4 Exploring Operation: 61-34=27, Resulting Numbers: [29, 57, 27] Generated Node #0,1: 20:[29, 57, 27] Operation: 61-34=27 Exploring Operation: 57-34=23, Resulting Numbers: [29, 61, 23] Generated Node #0,2: 20:[29, 61, 23] Operation: 57-34=23 Exploring Operation: 57-29=28, Resulting Numbers: [34, 61, 28] Generated Node #0,3: 20:[34, 61, 28] Operation: 57-29=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[34, 29, 4], Operations: ['61-57=4'] Exploring Operation: 34-4=30, Resulting Numbers: [29, 30] Generated Node #0,0,0: 20:[29, 30] Operation: 34-4=30 Exploring Operation: 34-29=5, Resulting Numbers: [4, 5] Generated Node #0,0,1: 20:[4, 5] Operation: 34-29=5 Exploring Operation: 29-4=25, Resulting Numbers: [34, 25] Generated Node #0,0,2: 20:[34, 25] Operation: 29-4=25 Exploring Operation: 34+4=38, Resulting Numbers: [29, 38] Generated Node #0,0,3: 20:[29, 38] Operation: 34+4=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[4, 5], Operations: ['61-57=4', '34-29=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[34, 29, 57, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [34, 29, 4] Generated Node #0,0: 20:[34, 29, 4] Operation: 61-57=4 Moving to Node #0,0 Current State: 20:[34, 29, 4], Operations: ['61-57=4'] Exploring Operation: 34-29=5, Resulting Numbers: [4, 5] Generated Node #0,0,1: 20:[4, 5] Operation: 34-29=5 Moving to Node #0,0,1 Current State: 20:[4, 5], Operations: ['61-57=4', '34-29=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 46, 17, 93, 30 ]
34
[ "46-17=29", "93-30=63", "63-29=34" ]
Current State: 34:[46, 17, 93, 30], Operations: [] Exploring Operation: 46-17=29, Resulting Numbers: [93, 30, 29] Generated Node #2: [93, 30, 29] from Operation: 46-17=29 Current State: 34:[93, 30, 29], Operations: ['46-17=29'] Exploring Operation: 93-30=63, Resulting Numbers: [29, 63] Generated Node #3: [29, 63] from Operation: 93-30=63 Current State: 34:[29, 63], Operations: ['46-17=29', '93-30=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[46, 17, 93, 30], Operations: [] Exploring Operation: 93-17=76, Resulting Numbers: [46, 30, 76] Generated Node #0,0: 34:[46, 30, 76] Operation: 93-17=76 Exploring Operation: 46-30=16, Resulting Numbers: [17, 93, 16] Generated Node #0,1: 34:[17, 93, 16] Operation: 46-30=16 Exploring Operation: 93-46=47, Resulting Numbers: [17, 30, 47] Generated Node #0,2: 34:[17, 30, 47] Operation: 93-46=47 Exploring Operation: 93-30=63, Resulting Numbers: [46, 17, 63] Generated Node #0,3: 34:[46, 17, 63] Operation: 93-30=63 Moving to Node #0,2 Current State: 34:[17, 30, 47], Operations: ['93-46=47'] Exploring Operation: 30-17=13, Resulting Numbers: [47, 13] Generated Node #0,2,0: 34:[47, 13] Operation: 30-17=13 Exploring Operation: 17+30=47, Resulting Numbers: [47, 47] Generated Node #0,2,1: 34:[47, 47] Operation: 17+30=47 Exploring Operation: 47-30=17, Resulting Numbers: [17, 17] Generated Node #0,2,2: 34:[17, 17] Operation: 47-30=17 Exploring Operation: 47-17=30, Resulting Numbers: [30, 30] Generated Node #0,2,3: 34:[30, 30] Operation: 47-17=30 Moving to Node #0,3 Current State: 34:[46, 17, 63], Operations: ['93-30=63'] Exploring Operation: 46+17=63, Resulting Numbers: [63, 63] Generated Node #0,3,0: 34:[63, 63] Operation: 46+17=63 Exploring Operation: 46-17=29, Resulting Numbers: [63, 29] Generated Node #0,3,1: 34:[63, 29] Operation: 46-17=29 Exploring Operation: 63-17=46, Resulting Numbers: [46, 46] Generated Node #0,3,2: 34:[46, 46] Operation: 63-17=46 Exploring Operation: 63-46=17, Resulting Numbers: [17, 17] Generated Node #0,3,3: 34:[17, 17] Operation: 63-46=17 Moving to Node #0,0 Current State: 34:[46, 30, 76], Operations: ['93-17=76'] Exploring Operation: 76-30=46, Resulting Numbers: [46, 46] Generated Node #0,0,0: 34:[46, 46] Operation: 76-30=46 Exploring Operation: 46-30=16, Resulting Numbers: [76, 16] Generated Node #0,0,1: 34:[76, 16] Operation: 46-30=16 Exploring Operation: 46+30=76, Resulting Numbers: [76, 76] Generated Node #0,0,2: 34:[76, 76] Operation: 46+30=76 Exploring Operation: 76-46=30, Resulting Numbers: [30, 30] Generated Node #0,0,3: 34:[30, 30] Operation: 76-46=30 Moving to Node #0,1 Current State: 34:[17, 93, 16], Operations: ['46-30=16'] Exploring Operation: 93-16=77, Resulting Numbers: [17, 77] Generated Node #0,1,0: 34:[17, 77] Operation: 93-16=77 Exploring Operation: 17+16=33, Resulting Numbers: [93, 33] Generated Node #0,1,1: 34:[93, 33] Operation: 17+16=33 Exploring Operation: 93-17=76, Resulting Numbers: [16, 76] Generated Node #0,1,2: 34:[16, 76] Operation: 93-17=76 Exploring Operation: 17-16=1, Resulting Numbers: [93, 1] Generated Node #0,1,3: 34:[93, 1] Operation: 17-16=1 Moving to Node #0,2,2 Current State: 34:[17, 17], Operations: ['93-46=47', '47-30=17'] Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,34 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[46, 17, 93, 30], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [17, 30, 47] Generated Node #0,2: 34:[17, 30, 47] Operation: 93-46=47 Moving to Node #0,2 Current State: 34:[17, 30, 47], Operations: ['93-46=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17, 17] Generated Node #0,2,2: 34:[17, 17] Operation: 47-30=17 Moving to Node #0,2,2 Current State: 34:[17, 17], Operations: ['93-46=47', '47-30=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 80, 8, 32, 2 ]
13
[ "80*2=160", "160/32=5", "8+5=13" ]
Current State: 13:[80, 8, 32, 2], Operations: [] Exploring Operation: 80*2=160, Resulting Numbers: [8, 32, 160] Generated Node #2: [8, 32, 160] from Operation: 80*2=160 Current State: 13:[8, 32, 160], Operations: ['80*2=160'] Exploring Operation: 160/32=5, Resulting Numbers: [8, 5] Generated Node #3: [8, 5] from Operation: 160/32=5 Current State: 13:[8, 5], Operations: ['80*2=160', '160/32=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[80, 8, 32, 2], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [8, 2, 48] Generated Node #0,0: 13:[8, 2, 48] Operation: 80-32=48 Exploring Operation: 80/2=40, Resulting Numbers: [8, 32, 40] Generated Node #0,1: 13:[8, 32, 40] Operation: 80/2=40 Exploring Operation: 32/2=16, Resulting Numbers: [80, 8, 16] Generated Node #0,2: 13:[80, 8, 16] Operation: 32/2=16 Exploring Operation: 80/8=10, Resulting Numbers: [32, 2, 10] Generated Node #0,3: 13:[32, 2, 10] Operation: 80/8=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[32, 2, 10], Operations: ['80/8=10'] Exploring Operation: 2+10=12, Resulting Numbers: [32, 12] Generated Node #0,3,0: 13:[32, 12] Operation: 2+10=12 Exploring Operation: 32-10=22, Resulting Numbers: [2, 22] Generated Node #0,3,1: 13:[2, 22] Operation: 32-10=22 Exploring Operation: 32/2=16, Resulting Numbers: [10, 16] Generated Node #0,3,2: 13:[10, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [10, 30] Generated Node #0,3,3: 13:[10, 30] Operation: 32-2=30 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 13:[10, 16], Operations: ['80/8=10', '32/2=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,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,3,0 Current State: 13:[32, 12], Operations: ['80/8=10', '2+10=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,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,3,1 Current State: 13:[2, 22], Operations: ['80/8=10', '32-10=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,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,3,3 Current State: 13:[10, 30], Operations: ['80/8=10', '32-2=30'] Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,13 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[8, 2, 48], Operations: ['80-32=48'] Exploring Operation: 8+2=10, Resulting Numbers: [48, 10] Generated Node #0,0,0: 13:[48, 10] Operation: 8+2=10 Exploring Operation: 8*2=16, Resulting Numbers: [48, 16] Generated Node #0,0,1: 13:[48, 16] Operation: 8*2=16 Exploring Operation: 48/8=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 13:[2, 6] Operation: 48/8=6 Exploring Operation: 48/2=24, Resulting Numbers: [8, 24] Generated Node #0,0,3: 13:[8, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 13:[8, 24], Operations: ['80-32=48', '48/2=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,13 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,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,2 Current State: 13:[2, 6], Operations: ['80-32=48', '48/8=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,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:[48, 10], Operations: ['80-32=48', '8+2=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,13 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,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,1 Current State: 13:[48, 16], Operations: ['80-32=48', '8*2=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,13 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[8, 32, 40], Operations: ['80/2=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8, 8] Generated Node #0,1,0: 13:[8, 8] Operation: 40-32=8 Exploring Operation: 32-8=24, Resulting Numbers: [40, 24] Generated Node #0,1,1: 13:[40, 24] Operation: 32-8=24 Exploring Operation: 40/8=5, Resulting Numbers: [32, 5] Generated Node #0,1,2: 13:[32, 5] Operation: 40/8=5 Exploring Operation: 32/8=4, Resulting Numbers: [40, 4] Generated Node #0,1,3: 13:[40, 4] Operation: 32/8=4 Moving to Node #0,1,0 Current State: 13:[8, 8], Operations: ['80/2=40', '40-32=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,13 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[32, 5], Operations: ['80/2=40', '40/8=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[40, 4], Operations: ['80/2=40', '32/8=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[40, 24], Operations: ['80/2=40', '32-8=24'] Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,13 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[80, 8, 16], Operations: ['32/2=16'] Exploring Operation: 80/8=10, Resulting Numbers: [16, 10] Generated Node #0,2,0: 13:[16, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [16, 72] Generated Node #0,2,1: 13:[16, 72] Operation: 80-8=72 Exploring Operation: 80/16=5, Resulting Numbers: [8, 5] Generated Node #0,2,2: 13:[8, 5] Operation: 80/16=5 Exploring Operation: 80-16=64, Resulting Numbers: [8, 64] Generated Node #0,2,3: 13:[8, 64] Operation: 80-16=64 Moving to Node #0,2,0 Current State: 13:[16, 10], Operations: ['32/2=16', '80/8=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[8, 5], Operations: ['32/2=16', '80/16=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[80, 8, 32, 2], Operations: [] Exploring Operation: 32/2=16, Resulting Numbers: [80, 8, 16] Generated Node #0,2: 13:[80, 8, 16] Operation: 32/2=16 Moving to Node #0,2 Current State: 13:[80, 8, 16], Operations: ['32/2=16'] Exploring Operation: 80/16=5, Resulting Numbers: [8, 5] Generated Node #0,2,2: 13:[8, 5] Operation: 80/16=5 Moving to Node #0,2,2 Current State: 13:[8, 5], Operations: ['32/2=16', '80/16=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.936632
hs_4
mult_heuristic
[ 81, 66, 17, 94 ]
92
[ "81-66=15", "94-17=77", "15+77=92" ]
Current State: 92:[81, 66, 17, 94], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [17, 94, 15] Generated Node #2: [17, 94, 15] from Operation: 81-66=15 Current State: 92:[17, 94, 15], Operations: ['81-66=15'] Exploring Operation: 94-17=77, Resulting Numbers: [15, 77] Generated Node #3: [15, 77] from Operation: 94-17=77 Current State: 92:[15, 77], Operations: ['81-66=15', '94-17=77'] Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[81, 66, 17, 94], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [17, 94, 15] Generated Node #0,0: 92:[17, 94, 15] Operation: 81-66=15 Moving to Node #0,0 Current State: 92:[17, 94, 15], Operations: ['81-66=15'] Exploring Operation: 17-15=2, Resulting Numbers: [94, 2] Generated Node #0,0,0: 92:[94, 2] Operation: 17-15=2 Moving to Node #0,0,0 Current State: 92:[94, 2], Operations: ['81-66=15', '17-15=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[81, 66, 17, 94], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [17, 94, 15] Generated Node #0,0: 92:[17, 94, 15] Operation: 81-66=15 Moving to Node #0,0 Current State: 92:[17, 94, 15], Operations: ['81-66=15'] Exploring Operation: 17-15=2, Resulting Numbers: [94, 2] Generated Node #0,0,0: 92:[94, 2] Operation: 17-15=2 Moving to Node #0,0,0 Current State: 92:[94, 2], Operations: ['81-66=15', '17-15=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 71, 85, 79, 1 ]
78
[ "71+85=156", "79-1=78", "156-78=78" ]
Current State: 78:[71, 85, 79, 1], Operations: [] Exploring Operation: 71+85=156, Resulting Numbers: [79, 1, 156] Generated Node #2: [79, 1, 156] from Operation: 71+85=156 Current State: 78:[79, 1, 156], Operations: ['71+85=156'] Exploring Operation: 79-1=78, Resulting Numbers: [156, 78] Generated Node #3: [156, 78] from Operation: 79-1=78 Current State: 78:[156, 78], Operations: ['71+85=156', '79-1=78'] Exploring Operation: 156-78=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[71, 85, 79, 1], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [71, 1, 6] Generated Node #0,0: 78:[71, 1, 6] Operation: 85-79=6 Exploring Operation: 85-1=84, Resulting Numbers: [71, 79, 84] Generated Node #0,1: 78:[71, 79, 84] Operation: 85-1=84 Exploring Operation: 85-71=14, Resulting Numbers: [79, 1, 14] Generated Node #0,2: 78:[79, 1, 14] Operation: 85-71=14 Exploring Operation: 79-71=8, Resulting Numbers: [85, 1, 8] Generated Node #0,3: 78:[85, 1, 8] Operation: 79-71=8 Exploring Operation: 71+1=72, Resulting Numbers: [85, 79, 72] Generated Node #0,4: 78:[85, 79, 72] Operation: 71+1=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[79, 1, 14], Operations: ['85-71=14'] Exploring Operation: 14-1=13, Resulting Numbers: [79, 13] Generated Node #0,2,0: 78:[79, 13] Operation: 14-1=13 Exploring Operation: 79-1=78, Resulting Numbers: [14, 78] Generated Node #0,2,1: 78:[14, 78] Operation: 79-1=78 Exploring Operation: 79/1=79, Resulting Numbers: [14, 79] Generated Node #0,2,2: 78:[14, 79] Operation: 79/1=79 Exploring Operation: 1*14=14, Resulting Numbers: [79, 14] Generated Node #0,2,3: 78:[79, 14] Operation: 1*14=14 Exploring Operation: 79*1=79, Resulting Numbers: [14, 79] Generated Node #0,2,4: 78:[14, 79] Operation: 79*1=79 Moving to Node #0,2,0 Current State: 78:[79, 13], Operations: ['85-71=14', '14-1=13'] Exploring Operation: 79+13=92, Resulting Numbers: [92] 92,78 unequal: No Solution Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 79*13=1027, Resulting Numbers: [1027] 1027,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[14, 78], Operations: ['85-71=14', '79-1=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,78 unequal: No Solution Exploring Operation: 14*78=1092, Resulting Numbers: [1092] 1092,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[14, 79], Operations: ['85-71=14', '79/1=79'] Exploring Operation: 14*79=1106, Resulting Numbers: [1106] 1106,78 unequal: No Solution Exploring Operation: 14+79=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[79, 14], Operations: ['85-71=14', '1*14=14'] Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[14, 79], Operations: ['85-71=14', '79*1=79'] Exploring Operation: 14*79=1106, Resulting Numbers: [1106] 1106,78 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 14+79=93, Resulting Numbers: [93] 93,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,0 Current State: 78:[71, 1, 6], Operations: ['85-79=6'] Exploring Operation: 71/1=71, Resulting Numbers: [6, 71] Generated Node #0,0,0: 78:[6, 71] Operation: 71/1=71 Exploring Operation: 71+1=72, Resulting Numbers: [6, 72] Generated Node #0,0,1: 78:[6, 72] Operation: 71+1=72 Exploring Operation: 71*1=71, Resulting Numbers: [6, 71] Generated Node #0,0,2: 78:[6, 71] Operation: 71*1=71 Exploring Operation: 71+6=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 78:[1, 77] Operation: 71+6=77 Exploring Operation: 1*6=6, Resulting Numbers: [71, 6] Generated Node #0,0,4: 78:[71, 6] Operation: 1*6=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 78:[1, 77], Operations: ['85-79=6', '71+6=77'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,78 unequal: No Solution Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[71, 85, 79, 1], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [71, 1, 6] Generated Node #0,0: 78:[71, 1, 6] Operation: 85-79=6 Moving to Node #0,0 Current State: 78:[71, 1, 6], Operations: ['85-79=6'] Exploring Operation: 71+6=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 78:[1, 77] Operation: 71+6=77 Moving to Node #0,0,3 Current State: 78:[1, 77], Operations: ['85-79=6', '71+6=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 58, 7, 14, 83 ]
77
[ "58+14=72", "83-72=11", "7*11=77" ]
Current State: 77:[58, 7, 14, 83], Operations: [] Exploring Operation: 58+14=72, Resulting Numbers: [7, 83, 72] Generated Node #2: [7, 83, 72] from Operation: 58+14=72 Current State: 77:[7, 83, 72], Operations: ['58+14=72'] Exploring Operation: 83-72=11, Resulting Numbers: [7, 11] Generated Node #3: [7, 11] from Operation: 83-72=11 Current State: 77:[7, 11], Operations: ['58+14=72', '83-72=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[58, 7, 14, 83], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [7, 14, 25] Generated Node #0,0: 77:[7, 14, 25] Operation: 83-58=25 Exploring Operation: 58+7=65, Resulting Numbers: [14, 83, 65] Generated Node #0,1: 77:[14, 83, 65] Operation: 58+7=65 Exploring Operation: 58+14=72, Resulting Numbers: [7, 83, 72] Generated Node #0,2: 77:[7, 83, 72] Operation: 58+14=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[7, 83, 72], Operations: ['58+14=72'] Exploring Operation: 83-72=11, Resulting Numbers: [7, 11] Generated Node #0,2,0: 77:[7, 11] Operation: 83-72=11 Exploring Operation: 83-7=76, Resulting Numbers: [72, 76] Generated Node #0,2,1: 77:[72, 76] Operation: 83-7=76 Exploring Operation: 7+72=79, Resulting Numbers: [83, 79] Generated Node #0,2,2: 77:[83, 79] Operation: 7+72=79 Moving to Node #0,2,0 Current State: 77:[7, 11], Operations: ['58+14=72', '83-72=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[58, 7, 14, 83], Operations: [] Exploring Operation: 58+14=72, Resulting Numbers: [7, 83, 72] Generated Node #0,2: 77:[7, 83, 72] Operation: 58+14=72 Moving to Node #0,2 Current State: 77:[7, 83, 72], Operations: ['58+14=72'] Exploring Operation: 83-72=11, Resulting Numbers: [7, 11] Generated Node #0,2,0: 77:[7, 11] Operation: 83-72=11 Moving to Node #0,2,0 Current State: 77:[7, 11], Operations: ['58+14=72', '83-72=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 44, 1, 21, 24 ]
89
[ "44*1=44", "21+24=45", "44+45=89" ]
Current State: 89:[44, 1, 21, 24], Operations: [] Exploring Operation: 44*1=44, Resulting Numbers: [21, 24, 44] Generated Node #2: [21, 24, 44] from Operation: 44*1=44 Current State: 89:[21, 24, 44], Operations: ['44*1=44'] Exploring Operation: 21+24=45, Resulting Numbers: [44, 45] Generated Node #3: [44, 45] from Operation: 21+24=45 Current State: 89:[44, 45], Operations: ['44*1=44', '21+24=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[44, 1, 21, 24], Operations: [] Exploring Operation: 44+24=68, Resulting Numbers: [1, 21, 68] Generated Node #0,0: 89:[1, 21, 68] Operation: 44+24=68 Exploring Operation: 1+21=22, Resulting Numbers: [44, 24, 22] Generated Node #0,1: 89:[44, 24, 22] Operation: 1+21=22 Exploring Operation: 44+1=45, Resulting Numbers: [21, 24, 45] Generated Node #0,2: 89:[21, 24, 45] Operation: 44+1=45 Exploring Operation: 44+21=65, Resulting Numbers: [1, 24, 65] Generated Node #0,3: 89:[1, 24, 65] Operation: 44+21=65 Moving to Node #0,0 Current State: 89:[1, 21, 68], Operations: ['44+24=68'] Exploring Operation: 1+21=22, Resulting Numbers: [68, 22] Generated Node #0,0,0: 89:[68, 22] Operation: 1+21=22 Exploring Operation: 21+68=89, Resulting Numbers: [1, 89] Generated Node #0,0,1: 89:[1, 89] Operation: 21+68=89 Exploring Operation: 1+68=69, Resulting Numbers: [21, 69] Generated Node #0,0,2: 89:[21, 69] Operation: 1+68=69 Exploring Operation: 1*21=21, Resulting Numbers: [68, 21] Generated Node #0,0,3: 89:[68, 21] Operation: 1*21=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[68, 22], Operations: ['44+24=68', '1+21=22'] Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,89 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,89 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,89 unequal: No Solution No 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: 89:[1, 89], Operations: ['44+24=68', '21+68=89'] Exploring Operation: 1+89=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[44, 1, 21, 24], Operations: [] Exploring Operation: 44+24=68, Resulting Numbers: [1, 21, 68] Generated Node #0,0: 89:[1, 21, 68] Operation: 44+24=68 Moving to Node #0,0 Current State: 89:[1, 21, 68], Operations: ['44+24=68'] Exploring Operation: 21+68=89, Resulting Numbers: [1, 89] Generated Node #0,0,1: 89:[1, 89] Operation: 21+68=89 Moving to Node #0,0,1 Current State: 89:[1, 89], Operations: ['44+24=68', '21+68=89'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 84, 59, 55, 3 ]
20
[ "84-59=25", "3*25=75", "75-55=20" ]
Current State: 20:[84, 59, 55, 3], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [55, 3, 25] Generated Node #2: [55, 3, 25] from Operation: 84-59=25 Current State: 20:[55, 3, 25], Operations: ['84-59=25'] Exploring Operation: 3*25=75, Resulting Numbers: [55, 75] Generated Node #3: [55, 75] from Operation: 3*25=75 Current State: 20:[55, 75], Operations: ['84-59=25', '3*25=75'] Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[84, 59, 55, 3], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [55, 3, 25] Generated Node #0,0: 20:[55, 3, 25] Operation: 84-59=25 Exploring Operation: 84-55=29, Resulting Numbers: [59, 3, 29] Generated Node #0,1: 20:[59, 3, 29] Operation: 84-55=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[55, 3, 25], Operations: ['84-59=25'] Exploring Operation: 55-3=52, Resulting Numbers: [25, 52] Generated Node #0,0,0: 20:[25, 52] Operation: 55-3=52 Exploring Operation: 55-25=30, Resulting Numbers: [3, 30] Generated Node #0,0,1: 20:[3, 30] Operation: 55-25=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[3, 30], Operations: ['84-59=25', '55-25=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,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:[25, 52], Operations: ['84-59=25', '55-3=52'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,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,1 Current State: 20:[59, 3, 29], Operations: ['84-55=29'] Exploring Operation: 59-3=56, Resulting Numbers: [29, 56] Generated Node #0,1,0: 20:[29, 56] Operation: 59-3=56 Exploring Operation: 59-29=30, Resulting Numbers: [3, 30] Generated Node #0,1,1: 20:[3, 30] Operation: 59-29=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[3, 30], Operations: ['84-55=29', '59-29=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[29, 56], Operations: ['84-55=29', '59-3=56'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 29+56=85, Resulting Numbers: [85] 85,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 66, 54, 92 ]
94
[ "2*66=132", "92-54=38", "132-38=94" ]
Current State: 94:[2, 66, 54, 92], Operations: [] Exploring Operation: 2*66=132, Resulting Numbers: [54, 92, 132] Generated Node #2: [54, 92, 132] from Operation: 2*66=132 Current State: 94:[54, 92, 132], Operations: ['2*66=132'] Exploring Operation: 92-54=38, Resulting Numbers: [132, 38] Generated Node #3: [132, 38] from Operation: 92-54=38 Current State: 94:[132, 38], Operations: ['2*66=132', '92-54=38'] Exploring Operation: 132-38=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 66, 54, 92], Operations: [] Exploring Operation: 54-2=52, Resulting Numbers: [66, 92, 52] Generated Node #0,0: 94:[66, 92, 52] Operation: 54-2=52 Exploring Operation: 66-54=12, Resulting Numbers: [2, 92, 12] Generated Node #0,1: 94:[2, 92, 12] Operation: 66-54=12 Exploring Operation: 66-2=64, Resulting Numbers: [54, 92, 64] Generated Node #0,2: 94:[54, 92, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [54, 92, 33] Generated Node #0,3: 94:[54, 92, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[2, 92, 12], Operations: ['66-54=12'] Exploring Operation: 92+12=104, Resulting Numbers: [2, 104] Generated Node #0,1,0: 94:[2, 104] Operation: 92+12=104 Exploring Operation: 12/2=6, Resulting Numbers: [92, 6] Generated Node #0,1,1: 94:[92, 6] Operation: 12/2=6 Exploring Operation: 12-2=10, Resulting Numbers: [92, 10] Generated Node #0,1,2: 94:[92, 10] Operation: 12-2=10 Exploring Operation: 2+92=94, Resulting Numbers: [12, 94] Generated Node #0,1,3: 94:[12, 94] Operation: 2+92=94 Moving to Node #0,1,1 Current State: 94:[92, 6], Operations: ['66-54=12', '12/2=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,94 unequal: No Solution Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[92, 10], Operations: ['66-54=12', '12-2=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,94 unequal: No Solution Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[2, 104], Operations: ['66-54=12', '92+12=104'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 2+104=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 104-2=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 2*104=208, Resulting Numbers: [208] 208,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[12, 94], Operations: ['66-54=12', '2+92=94'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 12*94=1128, Resulting Numbers: [1128] 1128,94 unequal: No Solution Exploring Operation: 12+94=106, Resulting Numbers: [106] 106,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[54, 92, 33], Operations: ['66/2=33'] Exploring Operation: 54-33=21, Resulting Numbers: [92, 21] Generated Node #0,3,0: 94:[92, 21] Operation: 54-33=21 Exploring Operation: 92-33=59, Resulting Numbers: [54, 59] Generated Node #0,3,1: 94:[54, 59] Operation: 92-33=59 Exploring Operation: 54+33=87, Resulting Numbers: [92, 87] Generated Node #0,3,2: 94:[92, 87] Operation: 54+33=87 Exploring Operation: 92-54=38, Resulting Numbers: [33, 38] Generated Node #0,3,3: 94:[33, 38] Operation: 92-54=38 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 94:[92, 87], Operations: ['66/2=33', '54+33=87'] Exploring Operation: 92+87=179, Resulting Numbers: [179] 179,94 unequal: No Solution Exploring Operation: 92*87=8004, Resulting Numbers: [8004] 8004,94 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 94:[54, 59], Operations: ['66/2=33', '92-33=59'] Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,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,3,0 Current State: 94:[92, 21], Operations: ['66/2=33', '54-33=21'] Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,94 unequal: No Solution Exploring Operation: 92*21=1932, Resulting Numbers: [1932] 1932,94 unequal: No Solution Exploring Operation: 92+21=113, Resulting Numbers: [113] 113,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,3,3 Current State: 94:[33, 38], Operations: ['66/2=33', '92-54=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,94 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,94 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[66, 92, 52], Operations: ['54-2=52'] Exploring Operation: 66+52=118, Resulting Numbers: [92, 118] Generated Node #0,0,0: 94:[92, 118] Operation: 66+52=118 Exploring Operation: 92-66=26, Resulting Numbers: [52, 26] Generated Node #0,0,1: 94:[52, 26] Operation: 92-66=26 Exploring Operation: 92-52=40, Resulting Numbers: [66, 40] Generated Node #0,0,2: 94:[66, 40] Operation: 92-52=40 Exploring Operation: 66-52=14, Resulting Numbers: [92, 14] Generated Node #0,0,3: 94:[92, 14] Operation: 66-52=14 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[92, 14], Operations: ['54-2=52', '66-52=14'] Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,94 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[92, 118], Operations: ['54-2=52', '66+52=118'] Exploring Operation: 118-92=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 92+118=210, Resulting Numbers: [210] 210,94 unequal: No Solution Exploring Operation: 92*118=10856, Resulting Numbers: [10856] 10856,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[52, 26], Operations: ['54-2=52', '92-66=26'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,94 unequal: No Solution Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[66, 40], Operations: ['54-2=52', '92-52=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[54, 92, 64], Operations: ['66-2=64'] Exploring Operation: 92-64=28, Resulting Numbers: [54, 28] Generated Node #0,2,0: 94:[54, 28] Operation: 92-64=28 Exploring Operation: 54+64=118, Resulting Numbers: [92, 118] Generated Node #0,2,1: 94:[92, 118] Operation: 54+64=118 Exploring Operation: 64-54=10, Resulting Numbers: [92, 10] Generated Node #0,2,2: 94:[92, 10] Operation: 64-54=10 Exploring Operation: 92-54=38, Resulting Numbers: [64, 38] Generated Node #0,2,3: 94:[64, 38] Operation: 92-54=38 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[92, 10], Operations: ['66-2=64', '64-54=10'] Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,94 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[54, 28], Operations: ['66-2=64', '92-64=28'] Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,94 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[92, 118], Operations: ['66-2=64', '54+64=118'] Exploring Operation: 92*118=10856, Resulting Numbers: [10856] 10856,94 unequal: No Solution Exploring Operation: 118-92=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 92+118=210, Resulting Numbers: [210] 210,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 94:[64, 38], Operations: ['66-2=64', '92-54=38'] Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,94 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 87, 69, 51, 66 ]
22
[ "69-66=3", "87/3=29", "51-29=22" ]
Current State: 22:[87, 69, 51, 66], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [87, 51, 3] Generated Node #2: [87, 51, 3] from Operation: 69-66=3 Current State: 22:[87, 51, 3], Operations: ['69-66=3'] Exploring Operation: 87/3=29, Resulting Numbers: [51, 29] Generated Node #3: [51, 29] from Operation: 87/3=29 Current State: 22:[51, 29], Operations: ['69-66=3', '87/3=29'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[87, 69, 51, 66], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [87, 66, 18] Generated Node #0,0: 22:[87, 66, 18] Operation: 69-51=18 Exploring Operation: 69-66=3, Resulting Numbers: [87, 51, 3] Generated Node #0,1: 22:[87, 51, 3] Operation: 69-66=3 Exploring Operation: 87-51=36, Resulting Numbers: [69, 66, 36] Generated Node #0,2: 22:[69, 66, 36] Operation: 87-51=36 Exploring Operation: 87-69=18, Resulting Numbers: [51, 66, 18] Generated Node #0,3: 22:[51, 66, 18] Operation: 87-69=18 Exploring Operation: 87-66=21, Resulting Numbers: [69, 51, 21] Generated Node #0,4: 22:[69, 51, 21] Operation: 87-66=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[51, 66, 18], Operations: ['87-69=18'] Exploring Operation: 51+18=69, Resulting Numbers: [66, 69] Generated Node #0,3,0: 22:[66, 69] Operation: 51+18=69 Exploring Operation: 66-51=15, Resulting Numbers: [18, 15] Generated Node #0,3,1: 22:[18, 15] Operation: 66-51=15 Exploring Operation: 66-18=48, Resulting Numbers: [51, 48] Generated Node #0,3,2: 22:[51, 48] Operation: 66-18=48 Exploring Operation: 51-18=33, Resulting Numbers: [66, 33] Generated Node #0,3,3: 22:[66, 33] Operation: 51-18=33 Exploring Operation: 66+18=84, Resulting Numbers: [51, 84] Generated Node #0,3,4: 22:[51, 84] Operation: 66+18=84 Moving to Node #0,3,1 Current State: 22:[18, 15], Operations: ['87-69=18', '66-51=15'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,22 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[66, 33], Operations: ['87-69=18', '51-18=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,22 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[51, 48], Operations: ['87-69=18', '66-18=48'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,22 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[66, 69], Operations: ['87-69=18', '51+18=69'] Exploring Operation: 66*69=4554, Resulting Numbers: [4554] 4554,22 unequal: No Solution Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[51, 84], Operations: ['87-69=18', '66+18=84'] Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,22 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[69, 51, 21], Operations: ['87-66=21'] Exploring Operation: 69-21=48, Resulting Numbers: [51, 48] Generated Node #0,4,0: 22:[51, 48] Operation: 69-21=48 Exploring Operation: 51+21=72, Resulting Numbers: [69, 72] Generated Node #0,4,1: 22:[69, 72] Operation: 51+21=72 Exploring Operation: 51-21=30, Resulting Numbers: [69, 30] Generated Node #0,4,2: 22:[69, 30] Operation: 51-21=30 Exploring Operation: 69-51=18, Resulting Numbers: [21, 18] Generated Node #0,4,3: 22:[21, 18] Operation: 69-51=18 Exploring Operation: 69+21=90, Resulting Numbers: [51, 90] Generated Node #0,4,4: 22:[51, 90] Operation: 69+21=90 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 22:[21, 18], Operations: ['87-66=21', '69-51=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,22 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 22:[51, 48], Operations: ['87-66=21', '69-21=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 22:[69, 30], Operations: ['87-66=21', '51-21=30'] Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 22:[69, 72], Operations: ['87-66=21', '51+21=72'] Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 22:[51, 90], Operations: ['87-66=21', '69+21=90'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,22 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[87, 51, 3], Operations: ['69-66=3'] Exploring Operation: 87-3=84, Resulting Numbers: [51, 84] Generated Node #0,1,0: 22:[51, 84] Operation: 87-3=84 Exploring Operation: 87-51=36, Resulting Numbers: [3, 36] Generated Node #0,1,1: 22:[3, 36] Operation: 87-51=36 Exploring Operation: 51-3=48, Resulting Numbers: [87, 48] Generated Node #0,1,2: 22:[87, 48] Operation: 51-3=48 Exploring Operation: 51/3=17, Resulting Numbers: [87, 17] Generated Node #0,1,3: 22:[87, 17] Operation: 51/3=17 Exploring Operation: 87/3=29, Resulting Numbers: [51, 29] Generated Node #0,1,4: 22:[51, 29] Operation: 87/3=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[3, 36], Operations: ['69-66=3', '87-51=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,22 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 22:[51, 29], Operations: ['69-66=3', '87/3=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,22 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[87, 69, 51, 66], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [87, 51, 3] Generated Node #0,1: 22:[87, 51, 3] Operation: 69-66=3 Moving to Node #0,1 Current State: 22:[87, 51, 3], Operations: ['69-66=3'] Exploring Operation: 87/3=29, Resulting Numbers: [51, 29] Generated Node #0,1,4: 22:[51, 29] Operation: 87/3=29 Moving to Node #0,1,4 Current State: 22:[51, 29], Operations: ['69-66=3', '87/3=29'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 26, 72, 14, 98 ]
39
[ "72-26=46", "98/14=7", "46-7=39" ]
Current State: 39:[26, 72, 14, 98], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [14, 98, 46] Generated Node #2: [14, 98, 46] from Operation: 72-26=46 Current State: 39:[14, 98, 46], Operations: ['72-26=46'] Exploring Operation: 98/14=7, Resulting Numbers: [46, 7] Generated Node #3: [46, 7] from Operation: 98/14=7 Current State: 39:[46, 7], Operations: ['72-26=46', '98/14=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[26, 72, 14, 98], Operations: [] Exploring Operation: 72-14=58, Resulting Numbers: [26, 98, 58] Generated Node #0,0: 39:[26, 98, 58] Operation: 72-14=58 Exploring Operation: 98-72=26, Resulting Numbers: [26, 14, 26] Generated Node #0,1: 39:[26, 14, 26] Operation: 98-72=26 Exploring Operation: 98-26=72, Resulting Numbers: [72, 14, 72] Generated Node #0,2: 39:[72, 14, 72] Operation: 98-26=72 Exploring Operation: 72-26=46, Resulting Numbers: [14, 98, 46] Generated Node #0,3: 39:[14, 98, 46] Operation: 72-26=46 Exploring Operation: 98/14=7, Resulting Numbers: [26, 72, 7] Generated Node #0,4: 39:[26, 72, 7] Operation: 98/14=7 Moving to Node #0,1 Current State: 39:[26, 14, 26], Operations: ['98-72=26'] Exploring Operation: 26+26=52, Resulting Numbers: [14, 52] Generated Node #0,1,0: 39:[14, 52] Operation: 26+26=52 Exploring Operation: 26+14=40, Resulting Numbers: [26, 40] Generated Node #0,1,1: 39:[26, 40] Operation: 26+14=40 Exploring Operation: 26/26=1, Resulting Numbers: [14, 1] Generated Node #0,1,2: 39:[14, 1] Operation: 26/26=1 Exploring Operation: 26-14=12, Resulting Numbers: [26, 12] Generated Node #0,1,3: 39:[26, 12] Operation: 26-14=12 Exploring Operation: 26-26=0, Resulting Numbers: [14, 0] Generated Node #0,1,4: 39:[14, 0] Operation: 26-26=0 Moving to Node #0,4 Current State: 39:[26, 72, 7], Operations: ['98/14=7'] Exploring Operation: 26-7=19, Resulting Numbers: [72, 19] Generated Node #0,4,0: 39:[72, 19] Operation: 26-7=19 Exploring Operation: 26+7=33, Resulting Numbers: [72, 33] Generated Node #0,4,1: 39:[72, 33] Operation: 26+7=33 Exploring Operation: 72-26=46, Resulting Numbers: [7, 46] Generated Node #0,4,2: 39:[7, 46] Operation: 72-26=46 Exploring Operation: 72+7=79, Resulting Numbers: [26, 79] Generated Node #0,4,3: 39:[26, 79] Operation: 72+7=79 Exploring Operation: 72-7=65, Resulting Numbers: [26, 65] Generated Node #0,4,4: 39:[26, 65] Operation: 72-7=65 Moving to Node #0,2 Current State: 39:[72, 14, 72], Operations: ['98-26=72'] Exploring Operation: 72/72=1, Resulting Numbers: [14, 1] Generated Node #0,2,0: 39:[14, 1] Operation: 72/72=1 Exploring Operation: 72-14=58, Resulting Numbers: [72, 58] Generated Node #0,2,1: 39:[72, 58] Operation: 72-14=58 Exploring Operation: 72+14=86, Resulting Numbers: [72, 86] Generated Node #0,2,2: 39:[72, 86] Operation: 72+14=86 Exploring Operation: 72-72=0, Resulting Numbers: [14, 0] Generated Node #0,2,3: 39:[14, 0] Operation: 72-72=0 Exploring Operation: 72-14=58, Resulting Numbers: [72, 58] Generated Node #0,2,4: 39:[72, 58] Operation: 72-14=58 Moving to Node #0,3 Current State: 39:[14, 98, 46], Operations: ['72-26=46'] Exploring Operation: 46-14=32, Resulting Numbers: [98, 32] Generated Node #0,3,0: 39:[98, 32] Operation: 46-14=32 Exploring Operation: 98-46=52, Resulting Numbers: [14, 52] Generated Node #0,3,1: 39:[14, 52] Operation: 98-46=52 Exploring Operation: 14+98=112, Resulting Numbers: [46, 112] Generated Node #0,3,2: 39:[46, 112] Operation: 14+98=112 Exploring Operation: 98-14=84, Resulting Numbers: [46, 84] Generated Node #0,3,3: 39:[46, 84] Operation: 98-14=84 Exploring Operation: 98/14=7, Resulting Numbers: [46, 7] Generated Node #0,3,4: 39:[46, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 39:[26, 98, 58], Operations: ['72-14=58'] Exploring Operation: 26+58=84, Resulting Numbers: [98, 84] Generated Node #0,0,0: 39:[98, 84] Operation: 26+58=84 Exploring Operation: 98-58=40, Resulting Numbers: [26, 40] Generated Node #0,0,1: 39:[26, 40] Operation: 98-58=40 Exploring Operation: 26+98=124, Resulting Numbers: [58, 124] Generated Node #0,0,2: 39:[58, 124] Operation: 26+98=124 Exploring Operation: 98-26=72, Resulting Numbers: [58, 72] Generated Node #0,0,3: 39:[58, 72] Operation: 98-26=72 Exploring Operation: 58-26=32, Resulting Numbers: [98, 32] Generated Node #0,0,4: 39:[98, 32] Operation: 58-26=32 Moving to Node #0,1,2 Current State: 39:[14, 1], Operations: ['98-72=26', '26/26=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[14, 1], Operations: ['98-26=72', '72/72=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[14, 0], Operations: ['98-26=72', '72-72=0'] Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[14, 0], Operations: ['98-72=26', '26-26=0'] Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 14*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Moving to Node #0,4,2 Current State: 39:[7, 46], Operations: ['98/14=7', '72-26=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,39 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[26, 72, 14, 98], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [26, 72, 7] Generated Node #0,4: 39:[26, 72, 7] Operation: 98/14=7 Moving to Node #0,4 Current State: 39:[26, 72, 7], Operations: ['98/14=7'] Exploring Operation: 72-26=46, Resulting Numbers: [7, 46] Generated Node #0,4,2: 39:[7, 46] Operation: 72-26=46 Moving to Node #0,4,2 Current State: 39:[7, 46], Operations: ['98/14=7', '72-26=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 96, 46, 81, 48 ]
37
[ "96/48=2", "81-46=35", "2+35=37" ]
Current State: 37:[96, 46, 81, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [46, 81, 2] Generated Node #2: [46, 81, 2] from Operation: 96/48=2 Current State: 37:[46, 81, 2], Operations: ['96/48=2'] Exploring Operation: 81-46=35, Resulting Numbers: [2, 35] Generated Node #3: [2, 35] from Operation: 81-46=35 Current State: 37:[2, 35], Operations: ['96/48=2', '81-46=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[96, 46, 81, 48], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [46, 81, 48] Generated Node #0,0: 37:[46, 81, 48] Operation: 96-48=48 Exploring Operation: 96-81=15, Resulting Numbers: [46, 48, 15] Generated Node #0,1: 37:[46, 48, 15] Operation: 96-81=15 Moving to Node #0,1 Current State: 37:[46, 48, 15], Operations: ['96-81=15'] Exploring Operation: 46-15=31, Resulting Numbers: [48, 31] Generated Node #0,1,0: 37:[48, 31] Operation: 46-15=31 Exploring Operation: 48-15=33, Resulting Numbers: [46, 33] Generated Node #0,1,1: 37:[46, 33] Operation: 48-15=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[46, 33], Operations: ['96-81=15', '48-15=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,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,0 Current State: 37:[48, 31], Operations: ['96-81=15', '46-15=31'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,37 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: 37:[46, 81, 48], Operations: ['96-48=48'] Exploring Operation: 81-46=35, Resulting Numbers: [48, 35] Generated Node #0,0,0: 37:[48, 35] Operation: 81-46=35 Exploring Operation: 81-48=33, Resulting Numbers: [46, 33] Generated Node #0,0,1: 37:[46, 33] Operation: 81-48=33 Moving to Node #0,0,0 Current State: 37:[48, 35], Operations: ['96-48=48', '81-46=35'] Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,37 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[46, 33], Operations: ['96-48=48', '81-48=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 38, 30, 91, 5 ]
28
[ "38+30=68", "91+5=96", "96-68=28" ]
Current State: 28:[38, 30, 91, 5], Operations: [] Exploring Operation: 38+30=68, Resulting Numbers: [91, 5, 68] Generated Node #2: [91, 5, 68] from Operation: 38+30=68 Current State: 28:[91, 5, 68], Operations: ['38+30=68'] Exploring Operation: 91+5=96, Resulting Numbers: [68, 96] Generated Node #3: [68, 96] from Operation: 91+5=96 Current State: 28:[68, 96], Operations: ['38+30=68', '91+5=96'] Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[38, 30, 91, 5], Operations: [] Exploring Operation: 91-38=53, Resulting Numbers: [30, 5, 53] Generated Node #0,0: 28:[30, 5, 53] Operation: 91-38=53 Exploring Operation: 38-5=33, Resulting Numbers: [30, 91, 33] Generated Node #0,1: 28:[30, 91, 33] Operation: 38-5=33 Exploring Operation: 38-30=8, Resulting Numbers: [91, 5, 8] Generated Node #0,2: 28:[91, 5, 8] Operation: 38-30=8 Exploring Operation: 91-30=61, Resulting Numbers: [38, 5, 61] Generated Node #0,3: 28:[38, 5, 61] Operation: 91-30=61 Moving to Node #0,0 Current State: 28:[30, 5, 53], Operations: ['91-38=53'] Exploring Operation: 30-5=25, Resulting Numbers: [53, 25] Generated Node #0,0,0: 28:[53, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [53, 6] Generated Node #0,0,1: 28:[53, 6] Operation: 30/5=6 Exploring Operation: 53-30=23, Resulting Numbers: [5, 23] Generated Node #0,0,2: 28:[5, 23] Operation: 53-30=23 Exploring Operation: 53-5=48, Resulting Numbers: [30, 48] Generated Node #0,0,3: 28:[30, 48] Operation: 53-5=48 Moving to Node #0,3 Current State: 28:[38, 5, 61], Operations: ['91-30=61'] Exploring Operation: 38-5=33, Resulting Numbers: [61, 33] Generated Node #0,3,0: 28:[61, 33] Operation: 38-5=33 Exploring Operation: 61-38=23, Resulting Numbers: [5, 23] Generated Node #0,3,1: 28:[5, 23] Operation: 61-38=23 Exploring Operation: 38+5=43, Resulting Numbers: [61, 43] Generated Node #0,3,2: 28:[61, 43] Operation: 38+5=43 Exploring Operation: 61-5=56, Resulting Numbers: [38, 56] Generated Node #0,3,3: 28:[38, 56] Operation: 61-5=56 Moving to Node #0,2 Current State: 28:[91, 5, 8], Operations: ['38-30=8'] Exploring Operation: 91-8=83, Resulting Numbers: [5, 83] Generated Node #0,2,0: 28:[5, 83] Operation: 91-8=83 Exploring Operation: 5+8=13, Resulting Numbers: [91, 13] Generated Node #0,2,1: 28:[91, 13] Operation: 5+8=13 Exploring Operation: 91-5=86, Resulting Numbers: [8, 86] Generated Node #0,2,2: 28:[8, 86] Operation: 91-5=86 Exploring Operation: 8-5=3, Resulting Numbers: [91, 3] Generated Node #0,2,3: 28:[91, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[5, 83], Operations: ['38-30=8', '91-8=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 5*83=415, Resulting Numbers: [415] 415,28 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,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,2,2 Current State: 28:[8, 86], Operations: ['38-30=8', '91-5=86'] Exploring Operation: 8*86=688, Resulting Numbers: [688] 688,28 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 8+86=94, Resulting Numbers: [94] 94,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,2,1 Current State: 28:[91, 13], Operations: ['38-30=8', '5+8=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,28 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,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,2,3 Current State: 28:[91, 3], Operations: ['38-30=8', '8-5=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,28 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,28 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: 28:[30, 91, 33], Operations: ['38-5=33'] Exploring Operation: 91-30=61, Resulting Numbers: [33, 61] Generated Node #0,1,0: 28:[33, 61] Operation: 91-30=61 Exploring Operation: 33-30=3, Resulting Numbers: [91, 3] Generated Node #0,1,1: 28:[91, 3] Operation: 33-30=3 Exploring Operation: 30+91=121, Resulting Numbers: [33, 121] Generated Node #0,1,2: 28:[33, 121] Operation: 30+91=121 Exploring Operation: 91-33=58, Resulting Numbers: [30, 58] Generated Node #0,1,3: 28:[30, 58] Operation: 91-33=58 Moving to Node #0,0,2 Current State: 28:[5, 23], Operations: ['91-38=53', '53-30=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,28 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[38, 30, 91, 5], Operations: [] Exploring Operation: 91-38=53, Resulting Numbers: [30, 5, 53] Generated Node #0,0: 28:[30, 5, 53] Operation: 91-38=53 Moving to Node #0,0 Current State: 28:[30, 5, 53], Operations: ['91-38=53'] Exploring Operation: 53-30=23, Resulting Numbers: [5, 23] Generated Node #0,0,2: 28:[5, 23] Operation: 53-30=23 Moving to Node #0,0,2 Current State: 28:[5, 23], Operations: ['91-38=53', '53-30=23'] Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 4, 92, 41, 2 ]
10
[ "4*41=164", "164/2=82", "92-82=10" ]
Current State: 10:[4, 92, 41, 2], Operations: [] Exploring Operation: 4*41=164, Resulting Numbers: [92, 2, 164] Generated Node #2: [92, 2, 164] from Operation: 4*41=164 Current State: 10:[92, 2, 164], Operations: ['4*41=164'] Exploring Operation: 164/2=82, Resulting Numbers: [92, 82] Generated Node #3: [92, 82] from Operation: 164/2=82 Current State: 10:[92, 82], Operations: ['4*41=164', '164/2=82'] Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[4, 92, 41, 2], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [41, 2, 23] Generated Node #0,0: 10:[41, 2, 23] Operation: 92/4=23 Exploring Operation: 92-41=51, Resulting Numbers: [4, 2, 51] Generated Node #0,1: 10:[4, 2, 51] Operation: 92-41=51 Exploring Operation: 92/2=46, Resulting Numbers: [4, 41, 46] Generated Node #0,2: 10:[4, 41, 46] Operation: 92/2=46 Moving to Node #0,1 Current State: 10:[4, 2, 51], Operations: ['92-41=51'] Exploring Operation: 51-4=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 10:[2, 47] Operation: 51-4=47 Exploring Operation: 4-2=2, Resulting Numbers: [51, 2] Generated Node #0,1,1: 10:[51, 2] Operation: 4-2=2 Exploring Operation: 51-2=49, Resulting Numbers: [4, 49] Generated Node #0,1,2: 10:[4, 49] Operation: 51-2=49 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[2, 47], Operations: ['92-41=51', '51-4=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,10 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[4, 49], Operations: ['92-41=51', '51-2=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[51, 2], Operations: ['92-41=51', '4-2=2'] Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,10 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,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:[41, 2, 23], Operations: ['92/4=23'] Exploring Operation: 41-23=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 10:[2, 18] Operation: 41-23=18 Exploring Operation: 41-2=39, Resulting Numbers: [23, 39] Generated Node #0,0,1: 10:[23, 39] Operation: 41-2=39 Exploring Operation: 23-2=21, Resulting Numbers: [41, 21] Generated Node #0,0,2: 10:[41, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[2, 18], Operations: ['92/4=23', '41-23=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,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:[23, 39], Operations: ['92/4=23', '41-2=39'] Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,10 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,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,2 Current State: 10:[41, 21], Operations: ['92/4=23', '23-2=21'] Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 10:[4, 41, 46], Operations: ['92/2=46'] Exploring Operation: 41-4=37, Resulting Numbers: [46, 37] Generated Node #0,2,0: 10:[46, 37] Operation: 41-4=37 Exploring Operation: 46-41=5, Resulting Numbers: [4, 5] Generated Node #0,2,1: 10:[4, 5] Operation: 46-41=5 Exploring Operation: 46-4=42, Resulting Numbers: [41, 42] Generated Node #0,2,2: 10:[41, 42] Operation: 46-4=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[4, 5], Operations: ['92/2=46', '46-41=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 Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[46, 37], Operations: ['92/2=46', '41-4=37'] Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,10 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[41, 42], Operations: ['92/2=46', '46-4=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 41*42=1722, Resulting Numbers: [1722] 1722,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 7, 10, 82 ]
61
[ "91-82=9", "7*10=70", "70-9=61" ]
Current State: 61:[91, 7, 10, 82], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [7, 10, 9] Generated Node #2: [7, 10, 9] from Operation: 91-82=9 Current State: 61:[7, 10, 9], Operations: ['91-82=9'] Exploring Operation: 7*10=70, Resulting Numbers: [9, 70] Generated Node #3: [9, 70] from Operation: 7*10=70 Current State: 61:[9, 70], Operations: ['91-82=9', '7*10=70'] Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[91, 7, 10, 82], Operations: [] Exploring Operation: 91-10=81, Resulting Numbers: [7, 82, 81] Generated Node #0,0: 61:[7, 82, 81] Operation: 91-10=81 Exploring Operation: 91-7=84, Resulting Numbers: [10, 82, 84] Generated Node #0,1: 61:[10, 82, 84] Operation: 91-7=84 Exploring Operation: 7*10=70, Resulting Numbers: [91, 82, 70] Generated Node #0,2: 61:[91, 82, 70] Operation: 7*10=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[91, 82, 70], Operations: ['7*10=70'] Exploring Operation: 82-70=12, Resulting Numbers: [91, 12] Generated Node #0,2,0: 61:[91, 12] Operation: 82-70=12 Exploring Operation: 91-70=21, Resulting Numbers: [82, 21] Generated Node #0,2,1: 61:[82, 21] Operation: 91-70=21 Exploring Operation: 91-82=9, Resulting Numbers: [70, 9] Generated Node #0,2,2: 61:[70, 9] Operation: 91-82=9 Moving to Node #0,2,1 Current State: 61:[82, 21], Operations: ['7*10=70', '91-70=21'] Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,61 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[91, 7, 10, 82], Operations: [] Exploring Operation: 7*10=70, Resulting Numbers: [91, 82, 70] Generated Node #0,2: 61:[91, 82, 70] Operation: 7*10=70 Moving to Node #0,2 Current State: 61:[91, 82, 70], Operations: ['7*10=70'] Exploring Operation: 91-70=21, Resulting Numbers: [82, 21] Generated Node #0,2,1: 61:[82, 21] Operation: 91-70=21 Moving to Node #0,2,1 Current State: 61:[82, 21], Operations: ['7*10=70', '91-70=21'] Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 30, 8, 3, 2 ]
41
[ "30-8=22", "2*22=44", "44-3=41" ]
Current State: 41:[30, 8, 3, 2], Operations: [] Exploring Operation: 30-8=22, Resulting Numbers: [3, 2, 22] Generated Node #2: [3, 2, 22] from Operation: 30-8=22 Current State: 41:[3, 2, 22], Operations: ['30-8=22'] Exploring Operation: 2*22=44, Resulting Numbers: [3, 44] Generated Node #3: [3, 44] from Operation: 2*22=44 Current State: 41:[3, 44], Operations: ['30-8=22', '2*22=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[30, 8, 3, 2], Operations: [] Exploring Operation: 8*3=24, Resulting Numbers: [30, 2, 24] Generated Node #0,0: 41:[30, 2, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[30, 2, 24], Operations: ['8*3=24'] Exploring Operation: 2*24=48, Resulting Numbers: [30, 48] Generated Node #0,0,0: 41:[30, 48] Operation: 2*24=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[30, 48], Operations: ['8*3=24', '2*24=48'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,41 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
[ 10, 31, 42, 50 ]
48
[ "31-10=21", "42/21=2", "50-2=48" ]
Current State: 48:[10, 31, 42, 50], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [42, 50, 21] Generated Node #2: [42, 50, 21] from Operation: 31-10=21 Current State: 48:[42, 50, 21], Operations: ['31-10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 42/21=2 Current State: 48:[50, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 31, 42, 50], Operations: [] Exploring Operation: 42-31=11, Resulting Numbers: [10, 50, 11] Generated Node #0,0: 48:[10, 50, 11] Operation: 42-31=11 Exploring Operation: 31-10=21, Resulting Numbers: [42, 50, 21] Generated Node #0,1: 48:[42, 50, 21] Operation: 31-10=21 Exploring Operation: 50-42=8, Resulting Numbers: [10, 31, 8] Generated Node #0,2: 48:[10, 31, 8] Operation: 50-42=8 Moving to Node #0,0 Current State: 48:[10, 50, 11], Operations: ['42-31=11'] Exploring Operation: 10+11=21, Resulting Numbers: [50, 21] Generated Node #0,0,0: 48:[50, 21] Operation: 10+11=21 Exploring Operation: 11-10=1, Resulting Numbers: [50, 1] Generated Node #0,0,1: 48:[50, 1] Operation: 11-10=1 Exploring Operation: 50/10=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 48:[11, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[11, 5], Operations: ['42-31=11', '50/10=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[50, 1], Operations: ['42-31=11', '11-10=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[50, 21], Operations: ['42-31=11', '10+11=21'] Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,48 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 48:[10, 31, 8], Operations: ['50-42=8'] Exploring Operation: 10+31=41, Resulting Numbers: [8, 41] Generated Node #0,2,0: 48:[8, 41] Operation: 10+31=41 Exploring Operation: 31-10=21, Resulting Numbers: [8, 21] Generated Node #0,2,1: 48:[8, 21] Operation: 31-10=21 Exploring Operation: 31-8=23, Resulting Numbers: [10, 23] Generated Node #0,2,2: 48:[10, 23] Operation: 31-8=23 Moving to Node #0,1 Current State: 48:[42, 50, 21], Operations: ['31-10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [50, 2] Generated Node #0,1,0: 48:[50, 2] Operation: 42/21=2 Exploring Operation: 50-42=8, Resulting Numbers: [21, 8] Generated Node #0,1,1: 48:[21, 8] Operation: 50-42=8 Exploring Operation: 42-21=21, Resulting Numbers: [50, 21] Generated Node #0,1,2: 48:[50, 21] Operation: 42-21=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[50, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 31, 42, 50], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [42, 50, 21] Generated Node #0,1: 48:[42, 50, 21] Operation: 31-10=21 Moving to Node #0,1 Current State: 48:[42, 50, 21], Operations: ['31-10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [50, 2] Generated Node #0,1,0: 48:[50, 2] Operation: 42/21=2 Moving to Node #0,1,0 Current State: 48:[50, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 84, 38, 99, 35 ]
45
[ "99-84=15", "38-35=3", "15*3=45" ]
Current State: 45:[84, 38, 99, 35], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [38, 35, 15] Generated Node #2: [38, 35, 15] from Operation: 99-84=15 Current State: 45:[38, 35, 15], Operations: ['99-84=15'] Exploring Operation: 38-35=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 38-35=3 Current State: 45:[15, 3], Operations: ['99-84=15', '38-35=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[84, 38, 99, 35], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [38, 99, 49] Generated Node #0,0: 45:[38, 99, 49] Operation: 84-35=49 Exploring Operation: 99-84=15, Resulting Numbers: [38, 35, 15] Generated Node #0,1: 45:[38, 35, 15] Operation: 99-84=15 Exploring Operation: 84-38=46, Resulting Numbers: [99, 35, 46] Generated Node #0,2: 45:[99, 35, 46] Operation: 84-38=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[38, 35, 15], Operations: ['99-84=15'] Exploring Operation: 35+15=50, Resulting Numbers: [38, 50] Generated Node #0,1,0: 45:[38, 50] Operation: 35+15=50 Exploring Operation: 38-35=3, Resulting Numbers: [15, 3] Generated Node #0,1,1: 45:[15, 3] Operation: 38-35=3 Exploring Operation: 35-15=20, Resulting Numbers: [38, 20] Generated Node #0,1,2: 45:[38, 20] Operation: 35-15=20 Moving to Node #0,1,1 Current State: 45:[15, 3], Operations: ['99-84=15', '38-35=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[84, 38, 99, 35], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [38, 35, 15] Generated Node #0,1: 45:[38, 35, 15] Operation: 99-84=15 Moving to Node #0,1 Current State: 45:[38, 35, 15], Operations: ['99-84=15'] Exploring Operation: 38-35=3, Resulting Numbers: [15, 3] Generated Node #0,1,1: 45:[15, 3] Operation: 38-35=3 Moving to Node #0,1,1 Current State: 45:[15, 3], Operations: ['99-84=15', '38-35=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 24, 14, 3, 2 ]
68
[ "24+3=27", "2*27=54", "14+54=68" ]
Current State: 68:[24, 14, 3, 2], Operations: [] Exploring Operation: 24+3=27, Resulting Numbers: [14, 2, 27] Generated Node #2: [14, 2, 27] from Operation: 24+3=27 Current State: 68:[14, 2, 27], Operations: ['24+3=27'] Exploring Operation: 2*27=54, Resulting Numbers: [14, 54] Generated Node #3: [14, 54] from Operation: 2*27=54 Current State: 68:[14, 54], Operations: ['24+3=27', '2*27=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[24, 14, 3, 2], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [14, 2, 8] Generated Node #0,0: 68:[14, 2, 8] Operation: 24/3=8 Exploring Operation: 24-14=10, Resulting Numbers: [3, 2, 10] Generated Node #0,1: 68:[3, 2, 10] Operation: 24-14=10 Exploring Operation: 24-3=21, Resulting Numbers: [14, 2, 21] Generated Node #0,2: 68:[14, 2, 21] Operation: 24-3=21 Exploring Operation: 24*3=72, Resulting Numbers: [14, 2, 72] Generated Node #0,3: 68:[14, 2, 72] Operation: 24*3=72 Exploring Operation: 24+14=38, Resulting Numbers: [3, 2, 38] Generated Node #0,4: 68:[3, 2, 38] Operation: 24+14=38 Moving to Node #0,4 Current State: 68:[3, 2, 38], Operations: ['24+14=38'] Exploring Operation: 38-3=35, Resulting Numbers: [2, 35] Generated Node #0,4,0: 68:[2, 35] Operation: 38-3=35 Exploring Operation: 3+2=5, Resulting Numbers: [38, 5] Generated Node #0,4,1: 68:[38, 5] Operation: 3+2=5 Exploring Operation: 38-2=36, Resulting Numbers: [3, 36] Generated Node #0,4,2: 68:[3, 36] Operation: 38-2=36 Exploring Operation: 38/2=19, Resulting Numbers: [3, 19] Generated Node #0,4,3: 68:[3, 19] Operation: 38/2=19 Exploring Operation: 3-2=1, Resulting Numbers: [38, 1] Generated Node #0,4,4: 68:[38, 1] Operation: 3-2=1 Moving to Node #0,1 Current State: 68:[3, 2, 10], Operations: ['24-14=10'] Exploring Operation: 10/2=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 68:[3, 5] Operation: 10/2=5 Exploring Operation: 3+10=13, Resulting Numbers: [2, 13] Generated Node #0,1,1: 68:[2, 13] Operation: 3+10=13 Exploring Operation: 2*10=20, Resulting Numbers: [3, 20] Generated Node #0,1,2: 68:[3, 20] Operation: 2*10=20 Exploring Operation: 10-3=7, Resulting Numbers: [2, 7] Generated Node #0,1,3: 68:[2, 7] Operation: 10-3=7 Exploring Operation: 3*10=30, Resulting Numbers: [2, 30] Generated Node #0,1,4: 68:[2, 30] Operation: 3*10=30 Moving to Node #0,3 Current State: 68:[14, 2, 72], Operations: ['24*3=72'] Exploring Operation: 14/2=7, Resulting Numbers: [72, 7] Generated Node #0,3,0: 68:[72, 7] Operation: 14/2=7 Exploring Operation: 14+2=16, Resulting Numbers: [72, 16] Generated Node #0,3,1: 68:[72, 16] Operation: 14+2=16 Exploring Operation: 14-2=12, Resulting Numbers: [72, 12] Generated Node #0,3,2: 68:[72, 12] Operation: 14-2=12 Exploring Operation: 72-2=70, Resulting Numbers: [14, 70] Generated Node #0,3,3: 68:[14, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [14, 36] Generated Node #0,3,4: 68:[14, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[72, 16], Operations: ['24*3=72', '14+2=16'] Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,68 unequal: No Solution Exploring Operation: 72*16=1152, Resulting Numbers: [1152] 1152,68 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[14, 70], Operations: ['24*3=72', '72-2=70'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,68 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 68:[14, 36], Operations: ['24*3=72', '72/2=36'] Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,68 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[72, 7], Operations: ['24*3=72', '14/2=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,68 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,68 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[72, 12], Operations: ['24*3=72', '14-2=12'] Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,68 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[14, 2, 8], Operations: ['24/3=8'] Exploring Operation: 14+2=16, Resulting Numbers: [8, 16] Generated Node #0,0,0: 68:[8, 16] Operation: 14+2=16 Exploring Operation: 8/2=4, Resulting Numbers: [14, 4] Generated Node #0,0,1: 68:[14, 4] Operation: 8/2=4 Exploring Operation: 2*8=16, Resulting Numbers: [14, 16] Generated Node #0,0,2: 68:[14, 16] Operation: 2*8=16 Exploring Operation: 14-8=6, Resulting Numbers: [2, 6] Generated Node #0,0,3: 68:[2, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [2, 22] Generated Node #0,0,4: 68:[2, 22] Operation: 14+8=22 Moving to Node #0,2 Current State: 68:[14, 2, 21], Operations: ['24-3=21'] Exploring Operation: 14/2=7, Resulting Numbers: [21, 7] Generated Node #0,2,0: 68:[21, 7] Operation: 14/2=7 Exploring Operation: 21-2=19, Resulting Numbers: [14, 19] Generated Node #0,2,1: 68:[14, 19] Operation: 21-2=19 Exploring Operation: 21-14=7, Resulting Numbers: [2, 7] Generated Node #0,2,2: 68:[2, 7] Operation: 21-14=7 Exploring Operation: 14+2=16, Resulting Numbers: [21, 16] Generated Node #0,2,3: 68:[21, 16] Operation: 14+2=16 Exploring Operation: 14+21=35, Resulting Numbers: [2, 35] Generated Node #0,2,4: 68:[2, 35] Operation: 14+21=35 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 68:[2, 35], Operations: ['24-3=21', '14+21=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[2, 7], Operations: ['24-3=21', '21-14=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[14, 19], Operations: ['24-3=21', '21-2=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,68 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[21, 16], Operations: ['24-3=21', '14+2=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,68 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[21, 7], Operations: ['24-3=21', '14/2=7'] Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,68 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 68:[2, 35], Operations: ['24+14=38', '38-3=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[3, 5], Operations: ['24-14=10', '10/2=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[2, 6], Operations: ['24/3=8', '14-8=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[2, 7], Operations: ['24-14=10', '10-3=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,68 unequal: No Solution Moving to Node #0,4,3 Current State: 68:[3, 19], Operations: ['24+14=38', '38/2=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[14, 4], Operations: ['24/3=8', '8/2=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,68 unequal: No Solution Moving to Node #0,4,2 Current State: 68:[3, 36], Operations: ['24+14=38', '38-2=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[14, 16], Operations: ['24/3=8', '2*8=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,68 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[3, 20], Operations: ['24-14=10', '2*10=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[2, 30], Operations: ['24-14=10', '3*10=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[2, 13], Operations: ['24-14=10', '3+10=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[8, 16], Operations: ['24/3=8', '14+2=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[2, 22], Operations: ['24/3=8', '14+8=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,68 unequal: No Solution Moving to Node #0,4,4 Current State: 68:[38, 1], Operations: ['24+14=38', '3-2=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,68 unequal: No Solution Moving to Node #0,4,1 Current State: 68:[38, 5], Operations: ['24+14=38', '3+2=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,68 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 20, 76, 8, 29 ]
55
[ "20*8=160", "76+29=105", "160-105=55" ]
Current State: 55:[20, 76, 8, 29], Operations: [] Exploring Operation: 20*8=160, Resulting Numbers: [76, 29, 160] Generated Node #2: [76, 29, 160] from Operation: 20*8=160 Current State: 55:[76, 29, 160], Operations: ['20*8=160'] Exploring Operation: 76+29=105, Resulting Numbers: [160, 105] Generated Node #3: [160, 105] from Operation: 76+29=105 Current State: 55:[160, 105], Operations: ['20*8=160', '76+29=105'] Exploring Operation: 160-105=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[20, 76, 8, 29], Operations: [] Exploring Operation: 20+29=49, Resulting Numbers: [76, 8, 49] Generated Node #0,0: 55:[76, 8, 49] Operation: 20+29=49 Exploring Operation: 76-20=56, Resulting Numbers: [8, 29, 56] Generated Node #0,1: 55:[8, 29, 56] Operation: 76-20=56 Exploring Operation: 29-20=9, Resulting Numbers: [76, 8, 9] Generated Node #0,2: 55:[76, 8, 9] Operation: 29-20=9 Exploring Operation: 76-29=47, Resulting Numbers: [20, 8, 47] Generated Node #0,3: 55:[20, 8, 47] Operation: 76-29=47 Moving to Node #0,3 Current State: 55:[20, 8, 47], Operations: ['76-29=47'] Exploring Operation: 20+47=67, Resulting Numbers: [8, 67] Generated Node #0,3,0: 55:[8, 67] Operation: 20+47=67 Exploring Operation: 47-20=27, Resulting Numbers: [8, 27] Generated Node #0,3,1: 55:[8, 27] Operation: 47-20=27 Exploring Operation: 8+47=55, Resulting Numbers: [20, 55] Generated Node #0,3,2: 55:[20, 55] Operation: 8+47=55 Exploring Operation: 20-8=12, Resulting Numbers: [47, 12] Generated Node #0,3,3: 55:[47, 12] Operation: 20-8=12 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 55:[20, 55], Operations: ['76-29=47', '8+47=55'] Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,55 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[47, 12], Operations: ['76-29=47', '20-8=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 55:[8, 67], Operations: ['76-29=47', '20+47=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,55 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,55 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[8, 27], Operations: ['76-29=47', '47-20=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,55 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,55 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: 55:[8, 29, 56], Operations: ['76-20=56'] Exploring Operation: 56-29=27, Resulting Numbers: [8, 27] Generated Node #0,1,0: 55:[8, 27] Operation: 56-29=27 Exploring Operation: 56/8=7, Resulting Numbers: [29, 7] Generated Node #0,1,1: 55:[29, 7] Operation: 56/8=7 Exploring Operation: 29-8=21, Resulting Numbers: [56, 21] Generated Node #0,1,2: 55:[56, 21] Operation: 29-8=21 Exploring Operation: 8+29=37, Resulting Numbers: [56, 37] Generated Node #0,1,3: 55:[56, 37] Operation: 8+29=37 Moving to Node #0,2 Current State: 55:[76, 8, 9], Operations: ['29-20=9'] Exploring Operation: 9-8=1, Resulting Numbers: [76, 1] Generated Node #0,2,0: 55:[76, 1] Operation: 9-8=1 Exploring Operation: 8+9=17, Resulting Numbers: [76, 17] Generated Node #0,2,1: 55:[76, 17] Operation: 8+9=17 Exploring Operation: 76-9=67, Resulting Numbers: [8, 67] Generated Node #0,2,2: 55:[8, 67] Operation: 76-9=67 Exploring Operation: 76-8=68, Resulting Numbers: [9, 68] Generated Node #0,2,3: 55:[9, 68] Operation: 76-8=68 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[8, 67], Operations: ['29-20=9', '76-9=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,55 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 55:[9, 68], Operations: ['29-20=9', '76-8=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,55 unequal: No Solution Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,55 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[76, 1], Operations: ['29-20=9', '9-8=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,55 unequal: No Solution Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[76, 17], Operations: ['29-20=9', '8+9=17'] Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,55 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,55 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: 55:[76, 8, 49], Operations: ['20+29=49'] Exploring Operation: 8+49=57, Resulting Numbers: [76, 57] Generated Node #0,0,0: 55:[76, 57] Operation: 8+49=57 Exploring Operation: 76+8=84, Resulting Numbers: [49, 84] Generated Node #0,0,1: 55:[49, 84] Operation: 76+8=84 Exploring Operation: 76-49=27, Resulting Numbers: [8, 27] Generated Node #0,0,2: 55:[8, 27] Operation: 76-49=27 Exploring Operation: 76-8=68, Resulting Numbers: [49, 68] Generated Node #0,0,3: 55:[49, 68] Operation: 76-8=68 Moving to Node #0,1,2 Current State: 55:[56, 21], Operations: ['76-20=56', '29-8=21'] Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,55 unequal: No Solution Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,55 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[56, 37], Operations: ['76-20=56', '8+29=37'] Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,55 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,55 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[49, 68], Operations: ['20+29=49', '76-8=68'] Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,55 unequal: No Solution Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[8, 27], Operations: ['76-20=56', '56-29=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[8, 27], Operations: ['20+29=49', '76-49=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,55 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[29, 7], Operations: ['76-20=56', '56/8=7'] Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,55 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[76, 57], Operations: ['20+29=49', '8+49=57'] Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 76*57=4332, Resulting Numbers: [4332] 4332,55 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[49, 84], Operations: ['20+29=49', '76+8=84'] Exploring Operation: 49+84=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 49*84=4116, Resulting Numbers: [4116] 4116,55 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 75, 5, 75, 56 ]
51
[ "75+5=80", "75+56=131", "131-80=51" ]
Current State: 51:[75, 5, 75, 56], Operations: [] Exploring Operation: 75+5=80, Resulting Numbers: [56, 80] Generated Node #2: [56, 80] from Operation: 75+5=80 Current State: 51:[56, 80], Operations: ['75+5=80'] Exploring Operation: 75+56=131, Resulting Numbers: [80, 131] Generated Node #3: [80, 131] from Operation: 75+56=131 Current State: 51:[80, 131], Operations: ['75+5=80', '75+56=131'] Exploring Operation: 131-80=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[75, 5, 75, 56], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [5, 56, 0] Generated Node #0,0: 51:[5, 56, 0] Operation: 75-75=0 Exploring Operation: 75-56=19, Resulting Numbers: [5, 75, 19] Generated Node #0,1: 51:[5, 75, 19] Operation: 75-56=19 Exploring Operation: 75/75=1, Resulting Numbers: [5, 56, 1] Generated Node #0,2: 51:[5, 56, 1] Operation: 75/75=1 Exploring Operation: 75-56=19, Resulting Numbers: [75, 5, 19] Generated Node #0,3: 51:[75, 5, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[5, 56, 1], Operations: ['75/75=1'] Exploring Operation: 56-5=51, Resulting Numbers: [1, 51] Generated Node #0,2,0: 51:[1, 51] Operation: 56-5=51 Exploring Operation: 5*1=5, Resulting Numbers: [56, 5] Generated Node #0,2,1: 51:[56, 5] Operation: 5*1=5 Exploring Operation: 56-1=55, Resulting Numbers: [5, 55] Generated Node #0,2,2: 51:[5, 55] Operation: 56-1=55 Exploring Operation: 5-1=4, Resulting Numbers: [56, 4] Generated Node #0,2,3: 51:[56, 4] Operation: 5-1=4 Moving to Node #0,2,0 Current State: 51:[1, 51], Operations: ['75/75=1', '56-5=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[75, 5, 75, 56], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [5, 56, 1] Generated Node #0,2: 51:[5, 56, 1] Operation: 75/75=1 Moving to Node #0,2 Current State: 51:[5, 56, 1], Operations: ['75/75=1'] Exploring Operation: 56-5=51, Resulting Numbers: [1, 51] Generated Node #0,2,0: 51:[1, 51] Operation: 56-5=51 Moving to Node #0,2,0 Current State: 51:[1, 51], Operations: ['75/75=1', '56-5=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 20, 11, 80, 7 ]
39
[ "80/20=4", "7*4=28", "11+28=39" ]
Current State: 39:[20, 11, 80, 7], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [11, 7, 4] Generated Node #2: [11, 7, 4] from Operation: 80/20=4 Current State: 39:[11, 7, 4], Operations: ['80/20=4'] Exploring Operation: 7*4=28, Resulting Numbers: [11, 28] Generated Node #3: [11, 28] from Operation: 7*4=28 Current State: 39:[11, 28], Operations: ['80/20=4', '7*4=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[20, 11, 80, 7], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [11, 80, 13] Generated Node #0,0: 39:[11, 80, 13] Operation: 20-7=13 Exploring Operation: 80-11=69, Resulting Numbers: [20, 7, 69] Generated Node #0,1: 39:[20, 7, 69] Operation: 80-11=69 Exploring Operation: 80-20=60, Resulting Numbers: [11, 7, 60] Generated Node #0,2: 39:[11, 7, 60] Operation: 80-20=60 Exploring Operation: 80/20=4, Resulting Numbers: [11, 7, 4] Generated Node #0,3: 39:[11, 7, 4] Operation: 80/20=4 Moving to Node #0,3 Current State: 39:[11, 7, 4], Operations: ['80/20=4'] Exploring Operation: 11-7=4, Resulting Numbers: [4, 4] Generated Node #0,3,0: 39:[4, 4] Operation: 11-7=4 Exploring Operation: 11+7=18, Resulting Numbers: [4, 18] Generated Node #0,3,1: 39:[4, 18] Operation: 11+7=18 Exploring Operation: 7+4=11, Resulting Numbers: [11, 11] Generated Node #0,3,2: 39:[11, 11] Operation: 7+4=11 Exploring Operation: 7-4=3, Resulting Numbers: [11, 3] Generated Node #0,3,3: 39:[11, 3] Operation: 7-4=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 39:[4, 4], Operations: ['80/20=4', '11-7=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,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,3,3 Current State: 39:[11, 3], Operations: ['80/20=4', '7-4=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,3,2 Current State: 39:[11, 11], Operations: ['80/20=4', '7+4=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,39 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,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,3,1 Current State: 39:[4, 18], Operations: ['80/20=4', '11+7=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,39 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: 39:[11, 7, 60], Operations: ['80-20=60'] Exploring Operation: 11+7=18, Resulting Numbers: [60, 18] Generated Node #0,2,0: 39:[60, 18] Operation: 11+7=18 Exploring Operation: 60-11=49, Resulting Numbers: [7, 49] Generated Node #0,2,1: 39:[7, 49] Operation: 60-11=49 Exploring Operation: 11-7=4, Resulting Numbers: [60, 4] Generated Node #0,2,2: 39:[60, 4] Operation: 11-7=4 Exploring Operation: 60-7=53, Resulting Numbers: [11, 53] Generated Node #0,2,3: 39:[11, 53] Operation: 60-7=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[7, 49], Operations: ['80-20=60', '60-11=49'] Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,39 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,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,2,3 Current State: 39:[11, 53], Operations: ['80-20=60', '60-7=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,39 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,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,2,2 Current State: 39:[60, 4], Operations: ['80-20=60', '11-7=4'] Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,39 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,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,2,0 Current State: 39:[60, 18], Operations: ['80-20=60', '11+7=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,39 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,39 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: 39:[20, 7, 69], Operations: ['80-11=69'] Exploring Operation: 20+7=27, Resulting Numbers: [69, 27] Generated Node #0,1,0: 39:[69, 27] Operation: 20+7=27 Exploring Operation: 69-7=62, Resulting Numbers: [20, 62] Generated Node #0,1,1: 39:[20, 62] Operation: 69-7=62 Exploring Operation: 20-7=13, Resulting Numbers: [69, 13] Generated Node #0,1,2: 39:[69, 13] Operation: 20-7=13 Exploring Operation: 69-20=49, Resulting Numbers: [7, 49] Generated Node #0,1,3: 39:[7, 49] Operation: 69-20=49 Moving to Node #0,0 Current State: 39:[11, 80, 13], Operations: ['20-7=13'] Exploring Operation: 13-11=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 39:[80, 2] Operation: 13-11=2 Exploring Operation: 11+80=91, Resulting Numbers: [13, 91] Generated Node #0,0,1: 39:[13, 91] Operation: 11+80=91 Exploring Operation: 80-13=67, Resulting Numbers: [11, 67] Generated Node #0,0,2: 39:[11, 67] Operation: 80-13=67 Exploring Operation: 80-11=69, Resulting Numbers: [13, 69] Generated Node #0,0,3: 39:[13, 69] Operation: 80-11=69 Moving to Node #0,1,3 Current State: 39:[7, 49], Operations: ['80-11=69', '69-20=49'] Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,39 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[69, 13], Operations: ['80-11=69', '20-7=13'] Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[13, 69], Operations: ['20-7=13', '80-11=69'] Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,39 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[20, 62], Operations: ['80-11=69', '69-7=62'] Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,39 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[11, 67], Operations: ['20-7=13', '80-13=67'] Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,39 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[80, 2], Operations: ['20-7=13', '13-11=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,39 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[69, 27], Operations: ['80-11=69', '20+7=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,39 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[13, 91], Operations: ['20-7=13', '11+80=91'] Exploring Operation: 13*91=1183, Resulting Numbers: [1183] 1183,39 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 13+91=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 99, 33, 2, 18 ]
82
[ "99-33=66", "18-2=16", "66+16=82" ]
Current State: 82:[99, 33, 2, 18], Operations: [] Exploring Operation: 99-33=66, Resulting Numbers: [2, 18, 66] Generated Node #2: [2, 18, 66] from Operation: 99-33=66 Current State: 82:[2, 18, 66], Operations: ['99-33=66'] Exploring Operation: 18-2=16, Resulting Numbers: [66, 16] Generated Node #3: [66, 16] from Operation: 18-2=16 Current State: 82:[66, 16], Operations: ['99-33=66', '18-2=16'] Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[99, 33, 2, 18], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [2, 18, 3] Generated Node #0,0: 82:[2, 18, 3] Operation: 99/33=3 Exploring Operation: 99-18=81, Resulting Numbers: [33, 2, 81] Generated Node #0,1: 82:[33, 2, 81] Operation: 99-18=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[33, 2, 81], Operations: ['99-18=81'] Exploring Operation: 33+2=35, Resulting Numbers: [81, 35] Generated Node #0,1,0: 82:[81, 35] Operation: 33+2=35 Exploring Operation: 81-33=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 82:[2, 48] Operation: 81-33=48 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[81, 35], Operations: ['99-18=81', '33+2=35'] Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,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:[2, 48], Operations: ['99-18=81', '81-33=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,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:[2, 18, 3], Operations: ['99/33=3'] Exploring Operation: 2*18=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 82:[3, 36] Operation: 2*18=36 Exploring Operation: 18/3=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 82:[2, 6] Operation: 18/3=6 Moving to Node #0,0,1 Current State: 82:[2, 6], Operations: ['99/33=3', '18/3=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[3, 36], Operations: ['99/33=3', '2*18=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,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
mult_heuristic
[ 59, 33, 31, 84 ]
39
[ "59+33=92", "84-31=53", "92-53=39" ]
Current State: 39:[59, 33, 31, 84], Operations: [] Exploring Operation: 59+33=92, Resulting Numbers: [31, 84, 92] Generated Node #2: [31, 84, 92] from Operation: 59+33=92 Current State: 39:[31, 84, 92], Operations: ['59+33=92'] Exploring Operation: 84-31=53, Resulting Numbers: [92, 53] Generated Node #3: [92, 53] from Operation: 84-31=53 Current State: 39:[92, 53], Operations: ['59+33=92', '84-31=53'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[59, 33, 31, 84], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [33, 31, 25] Generated Node #0,0: 39:[33, 31, 25] Operation: 84-59=25 Exploring Operation: 84-33=51, Resulting Numbers: [59, 31, 51] Generated Node #0,1: 39:[59, 31, 51] Operation: 84-33=51 Moving to Node #0,0 Current State: 39:[33, 31, 25], Operations: ['84-59=25'] Exploring Operation: 31-25=6, Resulting Numbers: [33, 6] Generated Node #0,0,0: 39:[33, 6] Operation: 31-25=6 Exploring Operation: 33-31=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 39:[25, 2] Operation: 33-31=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[33, 6], Operations: ['84-59=25', '31-25=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[59, 33, 31, 84], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [33, 31, 25] Generated Node #0,0: 39:[33, 31, 25] Operation: 84-59=25 Moving to Node #0,0 Current State: 39:[33, 31, 25], Operations: ['84-59=25'] Exploring Operation: 31-25=6, Resulting Numbers: [33, 6] Generated Node #0,0,0: 39:[33, 6] Operation: 31-25=6 Moving to Node #0,0,0 Current State: 39:[33, 6], Operations: ['84-59=25', '31-25=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 48, 18, 56, 44 ]
70
[ "48-18=30", "56+44=100", "100-30=70" ]
Current State: 70:[48, 18, 56, 44], Operations: [] Exploring Operation: 48-18=30, Resulting Numbers: [56, 44, 30] Generated Node #2: [56, 44, 30] from Operation: 48-18=30 Current State: 70:[56, 44, 30], Operations: ['48-18=30'] Exploring Operation: 56+44=100, Resulting Numbers: [30, 100] Generated Node #3: [30, 100] from Operation: 56+44=100 Current State: 70:[30, 100], Operations: ['48-18=30', '56+44=100'] Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[48, 18, 56, 44], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [18, 44, 8] Generated Node #0,0: 70:[18, 44, 8] Operation: 56-48=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[18, 44, 8], Operations: ['56-48=8'] Exploring Operation: 44-8=36, Resulting Numbers: [18, 36] Generated Node #0,0,0: 70:[18, 36] Operation: 44-8=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[18, 36], Operations: ['56-48=8', '44-8=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,70 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
[ 29, 24, 31, 75 ]
87
[ "31-29=2", "24/2=12", "75+12=87" ]
Current State: 87:[29, 24, 31, 75], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [24, 75, 2] Generated Node #2: [24, 75, 2] from Operation: 31-29=2 Current State: 87:[24, 75, 2], Operations: ['31-29=2'] Exploring Operation: 24/2=12, Resulting Numbers: [75, 12] Generated Node #3: [75, 12] from Operation: 24/2=12 Current State: 87:[75, 12], Operations: ['31-29=2', '24/2=12'] Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[29, 24, 31, 75], Operations: [] Exploring Operation: 24+75=99, Resulting Numbers: [29, 31, 99] Generated Node #0,0: 87:[29, 31, 99] Operation: 24+75=99 Moving to Node #0,0 Current State: 87:[29, 31, 99], Operations: ['24+75=99'] Exploring Operation: 31-29=2, Resulting Numbers: [99, 2] Generated Node #0,0,0: 87:[99, 2] Operation: 31-29=2 Moving to Node #0,0,0 Current State: 87:[99, 2], Operations: ['24+75=99', '31-29=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,87 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 26, 4, 81, 48 ]
28
[ "81-26=55", "55-48=7", "4*7=28" ]
Current State: 28:[26, 4, 81, 48], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [4, 48, 55] Generated Node #2: [4, 48, 55] from Operation: 81-26=55 Current State: 28:[4, 48, 55], Operations: ['81-26=55'] Exploring Operation: 55-48=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 55-48=7 Current State: 28:[4, 7], Operations: ['81-26=55', '55-48=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[26, 4, 81, 48], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [4, 48, 55] Generated Node #0,0: 28:[4, 48, 55] Operation: 81-26=55 Exploring Operation: 81-48=33, Resulting Numbers: [26, 4, 33] Generated Node #0,1: 28:[26, 4, 33] Operation: 81-48=33 Exploring Operation: 48/4=12, Resulting Numbers: [26, 81, 12] Generated Node #0,2: 28:[26, 81, 12] Operation: 48/4=12 Exploring Operation: 81-4=77, Resulting Numbers: [26, 48, 77] Generated Node #0,3: 28:[26, 48, 77] Operation: 81-4=77 Exploring Operation: 48-26=22, Resulting Numbers: [4, 81, 22] Generated Node #0,4: 28:[4, 81, 22] Operation: 48-26=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[26, 4, 33], Operations: ['81-48=33'] Exploring Operation: 33-26=7, Resulting Numbers: [4, 7] Generated Node #0,1,0: 28:[4, 7] Operation: 33-26=7 Exploring Operation: 4+33=37, Resulting Numbers: [26, 37] Generated Node #0,1,1: 28:[26, 37] Operation: 4+33=37 Exploring Operation: 33-4=29, Resulting Numbers: [26, 29] Generated Node #0,1,2: 28:[26, 29] Operation: 33-4=29 Exploring Operation: 26+4=30, Resulting Numbers: [33, 30] Generated Node #0,1,3: 28:[33, 30] Operation: 26+4=30 Exploring Operation: 26-4=22, Resulting Numbers: [33, 22] Generated Node #0,1,4: 28:[33, 22] Operation: 26-4=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[4, 7], Operations: ['81-48=33', '33-26=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[26, 4, 81, 48], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [26, 4, 33] Generated Node #0,1: 28:[26, 4, 33] Operation: 81-48=33 Moving to Node #0,1 Current State: 28:[26, 4, 33], Operations: ['81-48=33'] Exploring Operation: 33-26=7, Resulting Numbers: [4, 7] Generated Node #0,1,0: 28:[4, 7] Operation: 33-26=7 Moving to Node #0,1,0 Current State: 28:[4, 7], Operations: ['81-48=33', '33-26=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 9, 64, 26, 18 ]
88
[ "18/9=2", "64+26=90", "90-2=88" ]
Current State: 88:[9, 64, 26, 18], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [64, 26, 2] Generated Node #2: [64, 26, 2] from Operation: 18/9=2 Current State: 88:[64, 26, 2], Operations: ['18/9=2'] Exploring Operation: 64+26=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 64+26=90 Current State: 88:[2, 90], Operations: ['18/9=2', '64+26=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[9, 64, 26, 18], Operations: [] Exploring Operation: 64+26=90, Resulting Numbers: [9, 18, 90] Generated Node #0,0: 88:[9, 18, 90] Operation: 64+26=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[9, 18, 90], Operations: ['64+26=90'] Exploring Operation: 18/9=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 88:[90, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 88:[90, 2], Operations: ['64+26=90', '18/9=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[9, 64, 26, 18], Operations: [] Exploring Operation: 64+26=90, Resulting Numbers: [9, 18, 90] Generated Node #0,0: 88:[9, 18, 90] Operation: 64+26=90 Moving to Node #0,0 Current State: 88:[9, 18, 90], Operations: ['64+26=90'] Exploring Operation: 18/9=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 88:[90, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 88:[90, 2], Operations: ['64+26=90', '18/9=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 82, 16, 3, 67 ]
71
[ "67-16=51", "3*51=153", "153-82=71" ]
Current State: 71:[82, 16, 3, 67], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [82, 3, 51] Generated Node #2: [82, 3, 51] from Operation: 67-16=51 Current State: 71:[82, 3, 51], Operations: ['67-16=51'] Exploring Operation: 3*51=153, Resulting Numbers: [82, 153] Generated Node #3: [82, 153] from Operation: 3*51=153 Current State: 71:[82, 153], Operations: ['67-16=51', '3*51=153'] Exploring Operation: 153-82=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[82, 16, 3, 67], Operations: [] Exploring Operation: 82-3=79, Resulting Numbers: [16, 67, 79] Generated Node #0,0: 71:[16, 67, 79] Operation: 82-3=79 Exploring Operation: 82+3=85, Resulting Numbers: [16, 67, 85] Generated Node #0,1: 71:[16, 67, 85] Operation: 82+3=85 Exploring Operation: 3+67=70, Resulting Numbers: [82, 16, 70] Generated Node #0,2: 71:[82, 16, 70] Operation: 3+67=70 Exploring Operation: 16+3=19, Resulting Numbers: [82, 67, 19] Generated Node #0,3: 71:[82, 67, 19] Operation: 16+3=19 Exploring Operation: 16*3=48, Resulting Numbers: [82, 67, 48] Generated Node #0,4: 71:[82, 67, 48] Operation: 16*3=48 Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[82, 67, 48], Operations: ['16*3=48'] Exploring Operation: 67-48=19, Resulting Numbers: [82, 19] Generated Node #0,4,0: 71:[82, 19] Operation: 67-48=19 Exploring Operation: 82+48=130, Resulting Numbers: [67, 130] Generated Node #0,4,1: 71:[67, 130] Operation: 82+48=130 Exploring Operation: 67+48=115, Resulting Numbers: [82, 115] Generated Node #0,4,2: 71:[82, 115] Operation: 67+48=115 Exploring Operation: 82-67=15, Resulting Numbers: [48, 15] Generated Node #0,4,3: 71:[48, 15] Operation: 82-67=15 Exploring Operation: 82-48=34, Resulting Numbers: [67, 34] Generated Node #0,4,4: 71:[67, 34] Operation: 82-48=34 Moving to Node #0,4,4 Current State: 71:[67, 34], Operations: ['16*3=48', '82-48=34'] Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,71 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[82, 115], Operations: ['16*3=48', '67+48=115'] Exploring Operation: 82*115=9430, Resulting Numbers: [9430] 9430,71 unequal: No Solution Exploring Operation: 115-82=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 82+115=197, Resulting Numbers: [197] 197,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[82, 19], Operations: ['16*3=48', '67-48=19'] Exploring Operation: 82+19=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 82*19=1558, Resulting Numbers: [1558] 1558,71 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[67, 130], Operations: ['16*3=48', '82+48=130'] Exploring Operation: 67*130=8710, Resulting Numbers: [8710] 8710,71 unequal: No Solution Exploring Operation: 67+130=197, Resulting Numbers: [197] 197,71 unequal: No Solution Exploring Operation: 130-67=63, Resulting Numbers: [63] 63,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[48, 15], Operations: ['16*3=48', '82-67=15'] Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[16, 67, 79], Operations: ['82-3=79'] Exploring Operation: 16+67=83, Resulting Numbers: [79, 83] Generated Node #0,0,0: 71:[79, 83] Operation: 16+67=83 Exploring Operation: 16+79=95, Resulting Numbers: [67, 95] Generated Node #0,0,1: 71:[67, 95] Operation: 16+79=95 Exploring Operation: 79-16=63, Resulting Numbers: [67, 63] Generated Node #0,0,2: 71:[67, 63] Operation: 79-16=63 Exploring Operation: 67-16=51, Resulting Numbers: [79, 51] Generated Node #0,0,3: 71:[79, 51] Operation: 67-16=51 Exploring Operation: 79-67=12, Resulting Numbers: [16, 12] Generated Node #0,0,4: 71:[16, 12] Operation: 79-67=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[67, 63], Operations: ['82-3=79', '79-16=63'] Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,71 unequal: No Solution Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[79, 83], Operations: ['82-3=79', '16+67=83'] Exploring Operation: 79*83=6557, Resulting Numbers: [6557] 6557,71 unequal: No Solution Exploring Operation: 83-79=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 79+83=162, Resulting Numbers: [162] 162,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[67, 95], Operations: ['82-3=79', '16+79=95'] Exploring Operation: 67+95=162, Resulting Numbers: [162] 162,71 unequal: No Solution Exploring Operation: 67*95=6365, Resulting Numbers: [6365] 6365,71 unequal: No Solution Exploring Operation: 95-67=28, Resulting Numbers: [28] 28,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[79, 51], Operations: ['82-3=79', '67-16=51'] Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 79*51=4029, Resulting Numbers: [4029] 4029,71 unequal: No Solution Exploring Operation: 79+51=130, Resulting Numbers: [130] 130,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[16, 12], Operations: ['82-3=79', '79-67=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,71 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[82, 16, 70], Operations: ['3+67=70'] Exploring Operation: 82-70=12, Resulting Numbers: [16, 12] Generated Node #0,2,0: 71:[16, 12] Operation: 82-70=12 Exploring Operation: 82+16=98, Resulting Numbers: [70, 98] Generated Node #0,2,1: 71:[70, 98] Operation: 82+16=98 Exploring Operation: 82-16=66, Resulting Numbers: [70, 66] Generated Node #0,2,2: 71:[70, 66] Operation: 82-16=66 Exploring Operation: 70-16=54, Resulting Numbers: [82, 54] Generated Node #0,2,3: 71:[82, 54] Operation: 70-16=54 Exploring Operation: 16+70=86, Resulting Numbers: [82, 86] Generated Node #0,2,4: 71:[82, 86] Operation: 16+70=86 Moving to Node #0,2,2 Current State: 71:[70, 66], Operations: ['3+67=70', '82-16=66'] Exploring Operation: 70+66=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 70*66=4620, Resulting Numbers: [4620] 4620,71 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[82, 86], Operations: ['3+67=70', '16+70=86'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,71 unequal: No Solution Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[70, 98], Operations: ['3+67=70', '82+16=98'] Exploring Operation: 70*98=6860, Resulting Numbers: [6860] 6860,71 unequal: No Solution Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 70+98=168, Resulting Numbers: [168] 168,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[82, 54], Operations: ['3+67=70', '70-16=54'] Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[16, 12], Operations: ['3+67=70', '82-70=12'] Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,71 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[82, 67, 19], Operations: ['16+3=19'] Exploring Operation: 82-67=15, Resulting Numbers: [19, 15] Generated Node #0,3,0: 71:[19, 15] Operation: 82-67=15 Exploring Operation: 82+19=101, Resulting Numbers: [67, 101] Generated Node #0,3,1: 71:[67, 101] Operation: 82+19=101 Exploring Operation: 67-19=48, Resulting Numbers: [82, 48] Generated Node #0,3,2: 71:[82, 48] Operation: 67-19=48 Exploring Operation: 67+19=86, Resulting Numbers: [82, 86] Generated Node #0,3,3: 71:[82, 86] Operation: 67+19=86 Exploring Operation: 82-19=63, Resulting Numbers: [67, 63] Generated Node #0,3,4: 71:[67, 63] Operation: 82-19=63 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 71:[67, 63], Operations: ['16+3=19', '82-19=63'] Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,71 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[82, 86], Operations: ['16+3=19', '67+19=86'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,71 unequal: No Solution Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[67, 101], Operations: ['16+3=19', '82+19=101'] Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 67+101=168, Resulting Numbers: [168] 168,71 unequal: No Solution Exploring Operation: 67*101=6767, Resulting Numbers: [6767] 6767,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[82, 48], Operations: ['16+3=19', '67-19=48'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[19, 15], Operations: ['16+3=19', '82-67=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,71 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[16, 67, 85], Operations: ['82+3=85'] Exploring Operation: 85-67=18, Resulting Numbers: [16, 18] Generated Node #0,1,0: 71:[16, 18] Operation: 85-67=18 Exploring Operation: 16+67=83, Resulting Numbers: [85, 83] Generated Node #0,1,1: 71:[85, 83] Operation: 16+67=83 Exploring Operation: 85-16=69, Resulting Numbers: [67, 69] Generated Node #0,1,2: 71:[67, 69] Operation: 85-16=69 Exploring Operation: 67-16=51, Resulting Numbers: [85, 51] Generated Node #0,1,3: 71:[85, 51] Operation: 67-16=51 Exploring Operation: 16+85=101, Resulting Numbers: [67, 101] Generated Node #0,1,4: 71:[67, 101] Operation: 16+85=101 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[67, 69], Operations: ['82+3=85', '85-16=69'] Exploring Operation: 67*69=4623, Resulting Numbers: [4623] 4623,71 unequal: No Solution Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 67+69=136, Resulting Numbers: [136] 136,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[85, 83], Operations: ['82+3=85', '16+67=83'] Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,71 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[85, 51], Operations: ['82+3=85', '67-16=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,71 unequal: No Solution Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 71:[67, 101], Operations: ['82+3=85', '16+85=101'] Exploring Operation: 67+101=168, Resulting Numbers: [168] 168,71 unequal: No Solution Exploring Operation: 67*101=6767, Resulting Numbers: [6767] 6767,71 unequal: No Solution Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[16, 18], Operations: ['82+3=85', '85-67=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,71 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 32, 37, 2, 37 ]
69
[ "37-32=5", "2*37=74", "74-5=69" ]
Current State: 69:[32, 37, 2, 37], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [2, 5] Generated Node #2: [2, 5] from Operation: 37-32=5 Current State: 69:[2, 5], Operations: ['37-32=5'] Exploring Operation: 2*37=74, Resulting Numbers: [5, 74] Generated Node #3: [5, 74] from Operation: 2*37=74 Current State: 69:[5, 74], Operations: ['37-32=5', '2*37=74'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[32, 37, 2, 37], Operations: [] Exploring Operation: 37/37=1, Resulting Numbers: [32, 2, 1] Generated Node #0,0: 69:[32, 2, 1] Operation: 37/37=1 Moving to Node #0,0 Current State: 69:[32, 2, 1], Operations: ['37/37=1'] Exploring Operation: 32*2=64, Resulting Numbers: [1, 64] Generated Node #0,0,0: 69:[1, 64] Operation: 32*2=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[1, 64], Operations: ['37/37=1', '32*2=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 18, 64, 14 ]
12
[ "64-18=46", "46/23=2", "14-2=12" ]
Current State: 12:[23, 18, 64, 14], Operations: [] Exploring Operation: 64-18=46, Resulting Numbers: [23, 14, 46] Generated Node #2: [23, 14, 46] from Operation: 64-18=46 Current State: 12:[23, 14, 46], Operations: ['64-18=46'] Exploring Operation: 46/23=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 46/23=2 Current State: 12:[14, 2], Operations: ['64-18=46', '46/23=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[23, 18, 64, 14], Operations: [] Exploring Operation: 23-14=9, Resulting Numbers: [18, 64, 9] Generated Node #0,0: 12:[18, 64, 9] Operation: 23-14=9 Exploring Operation: 23-18=5, Resulting Numbers: [64, 14, 5] Generated Node #0,1: 12:[64, 14, 5] Operation: 23-18=5 Exploring Operation: 64-14=50, Resulting Numbers: [23, 18, 50] Generated Node #0,2: 12:[23, 18, 50] Operation: 64-14=50 Exploring Operation: 64-18=46, Resulting Numbers: [23, 14, 46] Generated Node #0,3: 12:[23, 14, 46] Operation: 64-18=46 Exploring Operation: 64-23=41, Resulting Numbers: [18, 14, 41] Generated Node #0,4: 12:[18, 14, 41] Operation: 64-23=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[18, 14, 41], Operations: ['64-23=41'] Exploring Operation: 18+14=32, Resulting Numbers: [41, 32] Generated Node #0,4,0: 12:[41, 32] Operation: 18+14=32 Exploring Operation: 41-14=27, Resulting Numbers: [18, 27] Generated Node #0,4,1: 12:[18, 27] Operation: 41-14=27 Exploring Operation: 18-14=4, Resulting Numbers: [41, 4] Generated Node #0,4,2: 12:[41, 4] Operation: 18-14=4 Exploring Operation: 18+41=59, Resulting Numbers: [14, 59] Generated Node #0,4,3: 12:[14, 59] Operation: 18+41=59 Exploring Operation: 41-18=23, Resulting Numbers: [14, 23] Generated Node #0,4,4: 12:[14, 23] Operation: 41-18=23 Moving to Node #0,4,4 Current State: 12:[14, 23], Operations: ['64-23=41', '41-18=23'] Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,12 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[18, 27], Operations: ['64-23=41', '41-14=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[41, 4], Operations: ['64-23=41', '18-14=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,12 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[41, 32], Operations: ['64-23=41', '18+14=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[14, 59], Operations: ['64-23=41', '18+41=59'] Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,12 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,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,3 Current State: 12:[23, 14, 46], Operations: ['64-18=46'] Exploring Operation: 46/23=2, Resulting Numbers: [14, 2] Generated Node #0,3,0: 12:[14, 2] Operation: 46/23=2 Exploring Operation: 46-14=32, Resulting Numbers: [23, 32] Generated Node #0,3,1: 12:[23, 32] Operation: 46-14=32 Exploring Operation: 46-23=23, Resulting Numbers: [14, 23] Generated Node #0,3,2: 12:[14, 23] Operation: 46-23=23 Exploring Operation: 23-14=9, Resulting Numbers: [46, 9] Generated Node #0,3,3: 12:[46, 9] Operation: 23-14=9 Exploring Operation: 23+14=37, Resulting Numbers: [46, 37] Generated Node #0,3,4: 12:[46, 37] Operation: 23+14=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[14, 2], Operations: ['64-18=46', '46/23=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[23, 18, 64, 14], Operations: [] Exploring Operation: 64-18=46, Resulting Numbers: [23, 14, 46] Generated Node #0,3: 12:[23, 14, 46] Operation: 64-18=46 Moving to Node #0,3 Current State: 12:[23, 14, 46], Operations: ['64-18=46'] Exploring Operation: 46/23=2, Resulting Numbers: [14, 2] Generated Node #0,3,0: 12:[14, 2] Operation: 46/23=2 Moving to Node #0,3,0 Current State: 12:[14, 2], Operations: ['64-18=46', '46/23=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 42, 56, 24, 14 ]
18
[ "56*24=1344", "1344/42=32", "32-14=18" ]
Current State: 18:[42, 56, 24, 14], Operations: [] Exploring Operation: 56*24=1344, Resulting Numbers: [42, 14, 1344] Generated Node #2: [42, 14, 1344] from Operation: 56*24=1344 Current State: 18:[42, 14, 1344], Operations: ['56*24=1344'] Exploring Operation: 1344/42=32, Resulting Numbers: [14, 32] Generated Node #3: [14, 32] from Operation: 1344/42=32 Current State: 18:[14, 32], Operations: ['56*24=1344', '1344/42=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[42, 56, 24, 14], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [24, 14, 14] Generated Node #0,0: 18:[24, 14, 14] Operation: 56-42=14 Moving to Node #0,0 Current State: 18:[24, 14, 14], Operations: ['56-42=14'] Exploring Operation: 24-14=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 18:[14, 10] Operation: 24-14=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[14, 10], Operations: ['56-42=14', '24-14=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,18 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