Wilhelm Ahrens (3 March 1872 – 23 May 1927) was a German mathematician and writer on recreational mathematics.