Despite a White House spokesman claiming otherwise, the published formula matched what social media users calculated.