Python Create Integer Sequence Encyclopedia