Decreasing Computational Cost of Dynamic Programmings Based on Symbolic Binary Coding Scheme by Algebraic Computation