Analytic Formula for counter inside unique nested for loop for parallelization
Is there an analytic formula for c, such that the outermost loop on i can be parallelized so that c can be computed for any given iteration of i, j, k? N is known. The code is iterating through all unique triplets of some 1 dimensional array.