€csage.server.notebook.notebook
Notebook
q)q}q(U_Notebook__worksheetsq}q(U _scratch_q(csage.server.notebook.worksheet
Worksheet
qoq}q (U_Worksheet__filenameq
U _scratch_qU_Worksheet__cellsq]q
((csage.server.notebook.cell
Cell
qoq}q(U _Cell__inqU2^3qU_Cell__introspect_htmlqU!
qU_Cell__worksheetqhU_Cell__completionsq‰U_Cell__introspectq‰U_Cell__out_htmlqU U _Cell__idqK U_before_preparseqU^os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/0")
2^3qU
_Cell__dirqU*sage_notebook/worksheets/_scratch_/cells/0qU
_Cell__outqU8Uhas_new_outputq‰U_Cell__is_htmlq ‰U_Cell__sageq!csage.interfaces.sage0
reduce_load_Sage
q")Rq#U_Cell__typeq$Uwrapq%U_Cell__timeq&‰U_Cell__interruptedq'‰ub(hoq(}q)(hUfactor(2007)q*hU!q+hhh‰h‰hU hKhUgos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/1")
factor(2007)q,hU*sage_notebook/worksheets/_scratch_/cells/1q-hU 3^2 * 223q.h‰h ‰h!h#h$h%h&‰h'‰ub(hoq/}q0(hUview(factor(2007))q1hU!q2hhh‰h‰hU hKhUmos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/5")
view(factor(2007))q3hU*sage_notebook/worksheets/_scratch_/cells/5q4hU63^{2} \cdot 223q5h‰h ‰h!h#h$h%h&‰h'‰ub(hoq6}q7(U _Cell__inq8Ug%hide%html
You can embed HTML
It can even include math: \prod(1-q^n)q9U_Cell__introspect_htmlq:U!q;U_Cell__worksheetq‰U_Cell__out_htmlq?U U _Cell__idq@K U_before_preparseqAUÂos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/9")
%hide%html
You can embed HTML
It can even include math: \prod(1-q^n)qBU
_Cell__dirqCU*sage_notebook/worksheets/_scratch_/cells/9qDU
_Cell__outqEUjYou can embed HTML
It can even include math: \prod(1-q^n)qFUhas_new_outputqG‰U_Cell__sageqHh")RqIU_Cell__is_htmlqJˆU_Cell__typeqKUwrapqLU_Cell__timeqM‰U_Cell__interruptedqN‰ub(hoqO}qP(h8UE = EllipticCurve('37a'); EqQh:U!qRh‰h?U h@KhAUvos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/8")
E = EllipticCurve('37a'); EqShCU*sage_notebook/worksheets/_scratch_/cells/8qThEU?Elliptic Curve defined by y^2 + y = x^3 - x over Rational FieldqUhG‰hHhIhJ‰hKhLhM‰hN‰ub(hoqV}qW(h8Uv%latex
Cells can be written in latex, which can refer to SAGE objects.
For example, consider $E$ given by $\sage{E}$. qXh:U!qYh‰h?UE
qZh@KhAUÑos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/11")
%latex
Cells can be written in latex, which can refer to SAGE objects.
For example, consider $E$ given by $\sage{E}$.q[hCU+sage_notebook/worksheets/_scratch_/cells/11q\hEU hG‰hHhIhJ‰hKhLhM‰hN‰ub(hoq]}q^(h8U[L = E.Lseries_dokchitser(20)
show(plot(L,-1,2, thickness=2, hue=0.6), ymin=-0.25, ymax=0.5)q_h:U!q`h‰h?UB
qah@KU_word_being_completedqbUE.Lseries_doqchAU¶os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/7")
L = E.Lseries_dokchitser(20)
show(plot(L,-1,2, thickness=2, hue=0.6), ymin=-0.25, ymax=0.5)qdhCU*sage_notebook/worksheets/_scratch_/cells/7qehEU hG‰hHhIhJ‰hKhLhM‰hN‰ub(hoqf}qg(hU)ModularSymbols(43,sign=1).decomposition()qhhU!qihhh‰h‰hU hKhU„os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/2")
ModularSymbols(43,sign=1).decomposition()qjhU*sage_notebook/worksheets/_scratch_/cells/2qkhT [
Modular Symbols subspace of dimension 1 of Modular Symbols space of dimension 4 for Gamma_0(43) of weight 2 with sign 1 over Rational Field,
Modular Symbols subspace of dimension 1 of Modular Symbols space of dimension 4 for Gamma_0(43) of weight 2 with sign 1 over Rational Field,
Modular Symbols subspace of dimension 2 of Modular Symbols space of dimension 4 for Gamma_0(43) of weight 2 with sign 1 over Rational Field
]qlh‰h ‰h!h#h$h%h&‰h'‰ub(hoqm}qn(hUtime n=factorial(10^6)qohU!qphhh‰h‰hU hKhU—os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/3")
__SAGE_t__=cputime()
__SAGE_w__=walltime()
n=factorial(10^6)qqhU*sage_notebook/worksheets/_scratch_/cells/3qrhU$CPU time: 3.61 s, Wall time: 3.63 sqsh‰h ‰h!h#h$h%h&ˆh'‰ub(hoqt}qu(hU-show(maxima('x*sin(x)*cos(x)^2').integrate())qvhU!qwhhh‰h‰hU hKhUˆos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/_scratch_/cells/4")
show(maxima('x*sin(x)*cos(x)^2').integrate())qxhU*sage_notebook/worksheets/_scratch_/cells/4qyhUu\frac{\sin \left(3 x\right)-3 x \cos \left(3 x\right)+9 \sin x-9 x \cos x}{36}
qzh‰h ‰h!h#h$h%h&‰h'‰ub(hoq{}q|(hU hhh‰hU hKhU*sage_notebook/worksheets/_scratch_/cells/6q}hU h‰h$h%h'‰ubeU_Worksheet__synchroq~K"U_Worksheet__nameqU _scratch_q€U_Worksheet__attachedq}q‚U_Worksheet__dirqƒU"sage_notebook/worksheets/_scratch_q„U_Worksheet__queueq…]q†U_Worksheet__next_idq‡KU_Worksheet__sageqˆhIU_Worksheet__comp_is_runningq‰‰U_Worksheet__variablesqŠ]q‹(UNE-sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_fieldqŒU'L-sage.lfunctions.dokchitser.DokchitserqU
f-functionqŽeU_Worksheet__notebookqhU_Worksheet__idqK U_Worksheet__next_block_idq‘KU_Worksheet__systemq’NubUcnta - using other systemsq“(hoq”}q•(U_Worksheet__filenameq–Ucnta___using_other_systemsq—U_Worksheet__cellsq˜]q™((hoqš}q›(h8U)E = magma.EllipticCurve('[1,2,3,4,5]'); Eqœh:U!qh‰h?U h@M°hAU–os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/cnta___using_other_systems/cells/14")
E = magma.EllipticCurve('[1,2,3,4,5]'); EqžhCUq¦h‰h?U h@M°hAU‹os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/cnta___using_other_systems/cells/15")
E.MordellWeilGroup(Bound = 10)q§hCUqh‰h?U h@M°hAUtos.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/cnta___using_other_systems/cells/16")
type(E)q®hCUq°hG‰hHh¡hJ‰hKhLhM‰hN‰ub(hoq±}q²(h8Umathematica('BernoulliB[100]')q³h:U!q´h‰h?U h@M°hAU‹os.chdir("/home/was/talks/2006-08-14-ccr-sage/sage_notebook/worksheets/cnta___using_other_systems/cells/17")
mathematica('BernoulliB[100]')qµhCUq½U_Cell__worksheetq¾h”U_Cell__completionsq¿‰U_Cell__introspectqÀ‰U_Cell__out_htmlqÁU U _Cell__idqÂM °U_before_preparseqÃU’os.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/0")
n = -2007
print n.factor()
print factor(n)qÄU
_Cell__dirqÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/0qÆU
_Cell__outqÇU-1 * 3^2 * 223
-1 * 3^2 * 223qÈUhas_new_outputqɉU_Cell__is_htmlqʉU_Cell__sageqËh#U_Cell__typeqÌUwrapqÍU_Cell__timeqΉU_Cell__interruptedqωub(hoqÐ}qÑ(hºUn.factor(algorithm="kash")qÒh¼U!qÓh¾h”h¿‰hÀ‰hÁU hÂM°hÃU‚os.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/1")
n.factor(algorithm="kash")qÔhÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/1qÕhÇU-1 * 3^2 * 223qÖhɉhʉhËh#hÌUwrapq×hΉhωub(hoqØ}qÙ(hºUgap(n).FactorsInt()qÚh¼U!qÛh¾h”h¿‰hÀ‰hÁU hÂM°hÃU{os.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/2")
gap(n).FactorsInt()qÜhÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/2qÝhÇU[ -3, 3, 223 ]qÞhɉhʉhËh#hÌhÍhΉhωub(hoqß}qà(hºUpari(n).factor()qáh¼U!qâh¾h”h¿‰hÀ‰hÁU hÂM°hÃUxos.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/3")
pari(n).factor()qãhÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/3qähÇU[-1, 1; 3, 2; 223, 1]qåhɉhʉhËh#hÌhÍhΉhωub(hoqæ}qç(hºUgp(n).factor()qèh¼U!qéh¾h”h¿‰hÀ‰hÁU hÂM
°hÃUwos.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/10")
gp(n).factor()qêhÅUqðh¾h”h¿‰hÀ‰hÁU hÂM°hÃUzos.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/4")
maxima(n).factor()qñhÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/4qòhÇU-3^2*223qóhɉhʉhËh#hÌhÍhΉhωub(hoqô}qõ(hºUkash(n).Factorization()qöh¼U!q÷h¾h”h¿‰hÀ‰hÁU hÂM°hÃUos.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/5")
kash(n).Factorization()qøhÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/5qùhÇUE[ <3, 2>, <223, 1> ], extended by:
ext1 := -1,
ext2 := UnassignqúhɉhʉhËh#hÌhÍhΉhωub(hoqû}qü(hºU!magma(n).Factorization(nvals = 2)qýh¼U!qþh¾h”h¿‰hÀ‰hÁU hÂM°hÃU‰os.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/6")
magma(n).Factorization(nvals = 2)qÿhÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/6r hÇU([ <3, 2>, <223, 1> ], -1)r hɉhʉhËh#hÌhÍhΉhωub(hor }r (hºUmaple(n).ifactor()r h¼U!r h¾h”h¿‰hÀ‰hÁU hÂM°hÃUzos.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/7")
maple(n).ifactor()r hÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/7r hÇU-``(3)^2*``(223)r hɉhʉhËh#hÌhÍhΉhωub(hor }r
(hºUmathematica(n).FactorInteger()r h¼U!r h¾h”h¿‰hÀ‰hÁU hÂM°hÃU†os.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/8")
mathematica(n).FactorInteger()r
hÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/8r hÇU{{-1, 1}, {3, 2}, {223, 1}}r hɉhʉhËh#hÌhÍhΉhωub(hor }r (hºU<%magma
n := -2007;
F, s := Factorization(-2007);
print F, sr h¼U!r h¾h”h¿‰hÀ‰hÁU hÂM °hÃU¤os.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/9")
%magma
n := -2007;
F, s := Factorization(-2007);
print F, sr hÅU;sage_notebook/worksheets/cnta___using_other_systems/cells/9r hÇU[ <3, 2>, <223, 1> ]
-1r hɉhʉhËh#hÌhÍhΉhωub(hor }r (hºU
magma('F')r h¼U!r h¾h”h¿‰hÀ‰hÁU hÂM°hÃUsos.chdir("/home/was/talks/2006-07-09-cnta/sage_notebook/worksheets/cnta___using_other_systems/cells/11")
magma('F')r hÅU