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 | asked 2016-10-01 21:00:06 +0100 Anonymous |
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?
2 | retagged |
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?