Ask Your Question

Revision history [back]

Cryptographic Mathematics

Q: Programme Rowland’s formula and verify his results. Try different starting values and see what happens.

In Sage math cloud, I did this:

i=7 n=2 for n in [1..10]: i=i+gcd(n,i) print i


Could you help, please?