‘Mathletes’ compete in Brooklyn