Welcome to Sage 8.4!
Online documentation: View the Sage documentation online.
Help: For help on any object or function, for example
matrix_plot
, entermatrix_plot?
followed by tab or shift+enter. For help on any module (or object or function), for example,sage.matrix
, enterhelp(sage.matrix)
.Tab completion: Type
obj
followed by tab to see all completions of obj. To see all methods you may call onobj
, typeobj.
followed by tab.Source code: Enter
matrix_plot??
followed by tab or shift+enter to look at the source code ofmatrix_plot
.License information: For license information about Sage and its components, enter
license()
.
True
15
2^(2^3) equals 256
There are 25 primes less than 100
5
13
17
29
37
41
53
61
73
89
97
[4, 9, 25, 49, 121, 169, 289, 361, 529, 841, 961, 1369, 1681, 1849, 2209, 2809, 3481, 3721, 4489, 5041, 5329, 6241, 6889, 7921, 9409]
1
3
0 0
1 1
2 4
3 2
4 2
5 4
6 1
(1, 3, -2)
1
71
True
False
100
2
693339872193417233970224178043240443845515419721
'I like number theory'
341
Order in Number Field in I with defining polynomial x^2 + 1
(I) * (-I - 2) * (2*I + 1)
I + 7
[2; 1, 2, 1, 1, 4, 1, 1, 6, 1, 1, 8, 1, 1, 10, 1, 1, 12, 1, 1, ...]
[2, 11/5, 46/21, 149/68, 344/157, 2557/1167]