Formal:
* 您好,您最近怎么样? (Nín hǎo, nín zuìjìn zěnme yàng?) - This is the most polite and formal way to greet someone and ask how they are. It is appropriate for elders, superiors, or people you don't know well.
* 你好,最近好吗? (Nǐ hǎo, zuìjìn hǎo ma?) - This is a slightly less formal version of the previous phrase. It is appropriate for colleagues, friends, or acquaintances.
Informal:
* 你好,最近怎么样? (Nǐ hǎo, zuìjìn zěnme yàng?) - This is the most common way to greet someone and ask how they are in an informal setting.
* 你好,怎么样? (Nǐ hǎo, zěnme yàng?) - This is a very casual way to say "hello, how are you." It is appropriate for close friends or family.
Other options:
* 你最近还好吗? (Nǐ zuìjìn hái hǎo ma?) - This literally translates to "are you still okay lately?" It is a casual and friendly way to ask how someone is doing.
* 最近怎么样啊? (Zuìjìn zěnme yàng a?) - This is a very informal and friendly way to ask how someone is doing. It is only appropriate for close friends or family.
Remember that the best way to say "hello, how are you" in Chinese depends on the specific situation. Choose the phrase that best suits the formality and context of the conversation.