Johann Wolfgang Döbereiner arranged elements in groups of three where the atomic mass of the middle element was the average of the other two.