The correct answer is
N = 149 + 323 + 374 - GCD(150,324) - GCD(150,375) - GCD(324,375) + 2*GCD(150,324,375) = 768
blackjack
flooble's webmaster puzzle