The Wikipedia list of presidents is accurate. There are several trustworthy online resources available to fact-check the Wikipedia list, including pages on WhiteHouse.gov and History.com.
Due to the nature of Wikipedia as an open content website, it is always a good idea to fact-check items against a more credible source. This is particularly true for information that is readily available elsewhere.
Wikipedia also lists the political party that the presidents belonged to, the date that they took and left office, their previous office held, and their vice presidents. All of this information is correct and verified on WhiteHouse.gov and History.com.