Points A1,A2,…,A49 are given
2 distinct points chosen at random (unordered)
p=P(the two chosen points are friends)
To find: 7p
Ai,Aj are friends⟺i+j≡0(mod7)
Total outcomes=(249)=249×48=1176
Residues of 1,…,49(mod7): each of 0,1,…,6 appears 7 times
Both≡0(mod7):(27)=21
Opposite residues {a,7−a}:3×(7×7)=147
Friendly pairs=21+147=168
p=1176168=71
7p=7×71=1