Elwyn Ralph Berlekamp (September 6, 1940 – April 9, 2019) was an American mathematician. He was known for his work in computer science, coding theory and combinatorial game theory. He was a professor emeritus of mathematics and EECS at the University of California, Berkeley. He was the inventor of an algorithm to factor polynomials. He was one of the inventors of the Berlekamp–Welch and the Berlekamp–Massey algorithms. These are used for Reed–Solomon error correction.