First-Principles Studies on the Component Dependences of High-Entropy Alloys