Unlocking Secrets: Math and History Behind Spartacus and Data Science