Neither of these seems to work properly in the cell server.
n=7
L = map(None,[p for p in prime_range(n+1) if p%4==1],[p for p in
prime_range(n+1) if p%4==3])
L = [['',l[1]] if l[0] is None else l for l in L]
T = [['$p\equiv 1\\text{ mod }(4)$','$p\equiv 3\\text{ mod }(4)$']]
html(table(T+L,header_row=True))
n=7
L = map(None,[p for p in prime_range(n+1) if p%4==1],[p for p in
prime_range(n+1) if p%4==3])
L = [['',l[1]] if l[0] is None else l for l in L]
T = [['$p\equiv 1\\text{ mod }(4)$','$p\equiv 3\\text{ mod }(4)$']]
html.table(L,header=T)
This is particularly annoying because in an interact one has to do
show(table(T+L,header_row=True))
but that doesn't work either, instead gives
\newcommand{\Bold}[1]{\mathbf{#1}}\begin{tabular}{ll}
$p\equiv 1\text{ mod }(4)$ & $p\equiv 3\text{ mod }(4)$ \\ \hline
$5$ & $3$ \\
& $7$ \\
\end{tabular}
Any ideas? Thanks!
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.