Skip to content

Commit

Permalink
added coefficients of q-expansion of modular discriminant
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatschke committed May 15, 2021
1 parent ff86ce9 commit a388248
Show file tree
Hide file tree
Showing 3 changed files with 1,086 additions and 0 deletions.
@@ -0,0 +1,24 @@
import yaml
import os
from utils.utils import numbers_to_yaml
from utils.utils import real_interval_to_sage_string
from utils.utils import blur_real_interval

path = 'data/Series_expansions/Q-expansion_of_the_modular_discriminant/'

prec10 = 100 #relative precision in base 10
n_max = 1000
n_range = [0..n_max]

print("n_max:",n_max)

prec2 = prec10 * 3.4 + 20
RIFprec = RealIntervalField(prec2)
RBFprec = RealBallField(prec2)

Delta_q_expansion = delta_qexp(n_max+1)

numbers = {str(n): str(Delta_q_expansion[n]) for n in n_range}

filename = os.path.join(path, 'numbers.yaml')
yaml.dump(numbers, stream = open(filename, 'w'), sort_keys = False)

0 comments on commit a388248

Please sign in to comment.