Bayer graduated from
Swarthmore College with a
Bachelor of Arts with highest honors in 1977. As a Swarthmore undergraduate, he attended a course on combinatorial algorithms given by
Herbert Wilf. During that semester, Bayer related several original ideas to Wilf on the subject. These contributions were later incorporated into the second edition of Wilf and
Albert Nijenhuis' influential book
Combinatorial Algorithms, with a detailed acknowledgement by its authors. Bayer subsequently earned his
Ph.D. at
Harvard University in 1982 under the direction of
Heisuke Hironaka with a dissertation entitled
The Division Algorithm and the Hilbert Scheme. He joined
Columbia University thereafter. Bayer is the son of Joan and
Bryce Bayer, the inventor of the
Bayer filter. ==Contributions==