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?
| 1 | initial version |
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?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.