sum k choose r for k from r to n