Hello, I've been trying to solve this problem for a while, and I found a technical solution which is too computationally intensive for large numbers, I am trying to solve the problem using Combinatorics instead.
Given a set of integers 1, 2, 3, ..., 50 for example, where R=50 is the maximum...