OpenMP example that finds the first triangle number with more than 500 divisors