€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__comp_is_runningqˆ‰U_Worksheet__notebookq‰hU_Worksheet__idqŠK U_Worksheet__next_block_idq‹KU_Worksheet__systemqŒNubUcnta - using other systemsq(hoqŽ}q(U_Worksheet__filenameqUcnta___using_other_systemsq‘U_Worksheet__cellsq’]q“((hoq”}q•(h8U)E = magma.EllipticCurve('[1,2,3,4,5]'); Eq–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/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¡hCUq§h‰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]')qh: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/6qúhÁU([ <3, 2>, <223, 1> ], -1)qûhÉhĉhÅh#hÆhÇhȉhɉub(hoqü}qý(h´Umaple(n).ifactor()qþh¶U!qÿ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