Question: a man has 10 friends in how many ways?
Answer: Therefore, the man can invite his 10 friends in (1024 – 1) or 1023 ways.