The senior from Scarsdale, New York, was analyzing variations in the brightness of stars when he discovered the planet about 1,300 light-years away.