Ask Your Question

805801's profile - activity

2021-03-19 02:49:26 +0100 received badge  Popular Question (source)
2020-07-22 08:58:05 +0100 received badge  Popular Question (source)
2019-02-24 20:44:41 +0100 received badge  Student (source)
2017-12-14 20:43:31 +0100 received badge  Popular Question (source)
2014-06-29 23:53:24 +0100 received badge  Famous Question (source)
2014-06-29 23:53:24 +0100 received badge  Notable Question (source)
2014-04-14 12:52:23 +0100 received badge  Popular Question (source)
2013-02-04 08:33:54 +0100 asked a question Submitting Sage worksheets on the arXiv

Is there a way to upload .sws files onto the arXiv as ancillary files? arXiv seems to just skip over the sage files when I upload them with my other code.

2011-06-30 19:29:15 +0100 asked a question Modular Functions

Is there a way in SAGE to find modular functions associated to a given congruence subgroup?

2011-06-30 12:36:16 +0100 marked best answer Running PARI/GP and Sage


for i in range(n):

won't work since 'a[i]' is a string. Try something like this instead:

for i in range(n):
    pari('a[%d]' %(i))

This will actually substitute the values i takes on into the string expressions you want to evaluate.

2011-06-30 12:36:16 +0100 received badge  Scholar (source)
2011-06-30 04:35:14 +0100 asked a question Running PARI/GP and Sage

Suppose I have a function a(i) in PARI/GP code. To evaluate something like a(5) in sage code I write pari('a[5]'). However, running the for loop on pari('a[i]') doesn't seem to work. Is there a work around for this?

2011-06-30 02:10:45 +0100 asked a question Finding Hauptmoduls

Given a modular curve with genus zero (for example $X_{1}(7)$) is there a way in SAGE to find its Hauptmodul?