More than 4,000 pages of the pioneering scientist and are mathematician can now be seen online.