The Brezis-Nirenberg problem for the fractional p-Laplacian