Ask Your Question

Revision history [back]

Given a Python/Sage objects, you can get available methods, with tab-completion, so if you do:

sage: p = 13
sage: a = p-1
sage: a.<TAB>

you will see all the methods that can be applied to a, in particular:

sage: a.divisors()
[1, 2, 3, 4, 6, 12]