For questions concerning Sage. Consider whether your question would be a better fit at [ask Sage](http://ask.sagemath.org/).

learn more… | top users | synonyms

6
votes
2answers
287 views

Definition of Modular Forms over finite Fields

I'm still severely lacking in background at the moment, but I'm interested in doing something with congruence properties of modular forms (relations between coefficients of the q-expansions that hold ...
5
votes
2answers
296 views

Find the rational points on $1 + 18 x + 81 x^2 + 44 x^3 = y^2$ with Sage

I'm trying to use Sage on-line,but I meet some trouble with the code of it. I want to find the rational points on an ellipse curve,such as $$1 + 18 x + 81 x^2 + 44 x^3 = y^2,\tag1$$ I know that ...
2
votes
1answer
156 views

Some questions about SAGE

I search a programmable calculator like PARI/GP. In the net, I came across SAGE. I have some questions about the download of SAGE Is it really absolutely free ? Is it faster than PARI/PG ? Has it ...
1
vote
1answer
41 views

Convolving two functions doesn't work as expected in sage

I'm trying to convolve two functions as follows: ...
1
vote
0answers
42 views

How to append integers in sage

Does anyone know how to append integers using sage or python? Example: v = 11; x = 45; After appending: 1145 Please help
0
votes
1answer
44 views

Number of four-term GPs consisting of positive integers under 100: how to write a program

Note: This is a past question from Brilliant.org I was recently thinking about how to write a program which fetches you the number of 4-term geometric progressions consisting of positive integers ...
5
votes
1answer
193 views

Finding irreducible representations of the following group using GAP

Given the following group of order 24, $$ G = \langle a,b \mid a^2=b^3=(abab^2)^2=1\rangle$$ how can one find (all) the irreducible representations using GAP? Since I have not installed GAP yet, I ...
1
vote
0answers
149 views

Necessary and sufficient conditions for Hensel lifting in the multidimensional case

in Multidimensional Hensel lifting, @Hurkyl gave a neat sufficient condition for the existence of $p$-adic liftings in the multidimensional case. I have finally gotten around (but please also see ...
3
votes
0answers
99 views

p-adic liftings on SAGE

I asked a question the other day: Multidimensional Hensel lifting which @Hurkyl kindly and very elegantly answered. A follow-on from this is that I have tried to implement exactly the "algorithm" ...
1
vote
2answers
66 views

What does the $[(0 : 3 : 1)]$ means in Sage.

I tried to solve the integer points of $y(y+2)=x^3+(x+3)(x+5)$ by using Sage's command E.integral_points(). Its output was $[(0 : 3 : 1)]$. I tried that ...
1
vote
0answers
35 views

Running gp in sage how do I access. e.g.. e.j

I am new to sage and I am trying to run the gp interface. In gp I can define an elliptic curve e and then access j by e.j ...
1
vote
2answers
363 views

Fitting normal distribution to the data

I have been given a set of data points. How can I find the best fit of the form $$\frac{1}{\sqrt{2\pi}\sigma}e^{-\frac{(x-\mu)^2}{\sigma^2}}?$$ Even better if Sage can do it. And how can I approximate ...
5
votes
1answer
246 views

Create Graph In Sage

I want define new graph in sage. Let $V$ be vector space over finite field $GF(q)$. The graph's vertices are 1-dimensional subspace from $V$ and $n-1$ -dimensional subspace from $V$ and two vertices ...
3
votes
2answers
288 views

Converting GAP groups into SAGE permutation groups.

I have been working with SAGE online, and have made some programs to test some hypothesis about finite groups. However, the pre-defined "named" groups in SAGE are quite limited (basically, the ...
1
vote
1answer
845 views

In Sage, how to extract coefficient of a polynomial in a ring

For instance, $f=x^2y^2+1$ is an element of $\mathbb{C}[x,y]$, I want to extract the coefficient of $x^2$, which is $y^2$. However "f.coefficient(x,2)" only works for symbolic expressions, are there ...
0
votes
1answer
192 views

How to define a polynomial with abstract coefficients in Sage

Let $f=ax^2+b$ be a polynomial in $Q[x]$, how to define $f$ in sage?
4
votes
0answers
74 views

Using sage to test for squares in residue fields

Let $K$ be a number field, $x \in \mathcal{O}_K$, and $\mathfrak{p} $ a prime of $K$. I want to find out using sage whether or not the reduction of $x$ modulo $\mathfrak{p}$ is a square in the ...
2
votes
1answer
358 views

How to draw a Frenet Trihedron in Sage?

How would I draw this in sage? It's a Frenet Trihedron along a given curve: Tools other then Sage are welcome too. Im just interested in which equations I need to input, besides the curve to ...
-1
votes
1answer
169 views

How to draw a cone in Sage?

Given a cone with equation z^2 = x^2 + y^2, how would I draw it in Sage? I tried turning it into a function and passing arguments but it didn't work out for me.
3
votes
1answer
1k views

Prove that curve lies on a cone?

I have a curve given by this equation: $$c(t) = (t\cos t,t \sin t,t)$$ I need to prove that this curve lies on a cone, and draw that cone and curve in Sage. I've read somewhere that I could prove it ...
1
vote
1answer
173 views

Sage returning 0 for curve arc length (integrals)

I'm using Sage to calculate a curve arc length. Basically, the curve is given by this equation: In sage, I'm calculating it's arc length by using this formula: ...
1
vote
0answers
93 views

How to calculate $L'(1,\chi)/L(1,\chi)$ in SAGE?

Question as in title, where $L(s,\chi)$ is the Dirichlet $L$-function associated with the nontrivial character modulo $3$. Please provide complete SAGE code. Thank you in advance.
3
votes
1answer
228 views

A question about modular forms in SAGE

I was trying to solve Exercise 1.4.5 in Alvaro Lozano-Robledo's book Elliptic Curves, Modular Forms and Their L-functions, which is about representations of integers as sums of 6 squares and its ...
3
votes
1answer
11k views

Is there a symbolic math package for octave?

I am using Octave (3.6) on Ubuntu 10.0.4 LTS. I want to do some research involving symbolic math. I was thinking of downloading sage (I just found about it today) - but thought I'd better ask in here ...
2
votes
3answers
670 views

How to load and use a PARI/GP script in Sage notebook?

I don't know whether this is the correct place to ask such a question, but I am dealing with this problem for a couple of days. Take for example the script ...
25
votes
1answer
9k views

Is Sage on the same level as Mathematica or Matlab for graph theory and graph visualization?

The context: I'm going to start working on a project that involves running predefined algorithms (and defining my own) for very big graphs (thousands of nodes). Visualization would also be welcome if ...
1
vote
2answers
209 views

Help need in Mathematica or Sage

I want to find the common positive solutions of two polynomials $f_{a,b}(x,y)$, $g_{a,b}(x,y)$ where $a,b$ runs from 0 to 1 with an interval 0.01. Let $(x_0,y_0)$ be a common positive solution. Then ...