| 1 | initial version |
You could use a list.
Assuming you have defined a point p on your elliptic curve,
form a list containing p, then iterate appending twice the
last element of the list to the list.
sage: a = [p]
sage: for n in range(10):
....: a.append(2*a[-1])
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.