On the new years Eve , every member of a community exchanged cards with every other member. if a total of 420 different cards were exchanged , then how many different members were there in the community ?
but my answwer is wrong
I did it in this way
like there are five member
A B C D F
A=4
B=3
C=2
D=1
total no the cards exchanged =10
If there are $n$ members, each will send $n-1$ cards. So the total cards sent is $$ n(n-1)=420 $$ $$ n^2 - n -420 = 0 $$ $$ (n-21)(n+20) = 0 $$ So $n$ is $21$ (since it obviously needs to be positive).
Note that if A and B "exchange cards," 2 different cards are exchanged, not 1. If the problem said 420 pairs of people exchanged cards, then the answer would have been 41.