Skip to main content

Questions tagged [computational-number-theory]

Computational Number Theory is for explicit calculations or algorithms involving anything of interest to number theorists.

Filter by
Sorted by
Tagged with
1 vote
1 answer
216 views

Counting modular squares in an interval

For an integer $m$, let $S^m_{x_0,x_1} = \{ t | x_0 ≤ t ≤ x_1 $ and $t$ is a square modulo $m \}$. Let $S^m_x$ = $S^m_{0,x}$. Determining whether the sets $S^m_x$ are empty is easy (1 is always a ...
Stephan Wehner's user avatar
3 votes
2 answers
2k views

Integer partition and sum of squares

Hello, The question below might be well known, and using different words (I made these up, I'm not a number theorist or specialist in combinatorics) For all integers $n\geq 2$ denote by $\mathcal{P}...
Portland's user avatar
  • 2,829
4 votes
1 answer
390 views

Most orthogonal lattice basis

Let $n \in \mathbf{N}$ be a natural number and $v_1,\cdots,v_n$ a set of basis vectors in $\mathbb{R}^n$. How does one find the matrix $g \in \mathbf{GL}_n(\mathbb{Z})$ orthogonalizing these best ...
Tiffy's user avatar
  • 107
0 votes
1 answer
180 views

Efficiency in deriving differences of divisor pairs

I have a computational problem where I need to derive the differences in divisor pairs in as few cpu cycles as possible. In particular I am interested in divisors of numbers of the form $x^3+3*x^2*y+...
Kevin Acres's user avatar
5 votes
2 answers
852 views

12 descent scripts for pari/gp

I'm looking around for scripts to facilitate 12 descent on Mordell curves, preferably in Pari/gp. I understand that Magma implements this feature, but unfortunately this software isn't available to ...
Kevin Acres's user avatar
18 votes
2 answers
6k views

Efficient computation of integer representation as a sum of three squares

Recently I've been studying the problem of integer representation as sum of three squares. Most of the articles that I've found study the function $r_m(n)$ which counts the number of representations ...
Anton's user avatar
  • 1,625
11 votes
1 answer
360 views

Does this notion of pseudoprime relative to a matrix appear in the literature?

Let $M$ be a square matrix with integer entries. Then Fermat's little theorem for matrices holds: $$\text{tr}(M^p) \equiv \text{tr}(M) \bmod p.$$ This follows by an examination of the action of the ...
Qiaochu Yuan's user avatar
15 votes
2 answers
1k views

Saying things rapidly about integer factorisations

Let $N$ be a positive integer. Thanks to the Miller-Rabin test and the work of Agrawal, Kayal and Saxena, these days people have much much faster algorithms for testing whether $N$ is prime or ...
James Cranch's user avatar
  • 3,064
8 votes
1 answer
1k views

Recent Fast Multiplication Algorithms for Large Integers

The STOC 2008 paper "Fast Integer Multiplication using Modular Arithmetic" by De et al http://arxiv.org/abs/0801.1416 shows how to use $p$-adic numbers instead of $\mathbb C$ used in Furer's ...
Igor Markov's user avatar
2 votes
1 answer
204 views

Is there a security analysis of the GQ digital signature scheme?

I'm doing summer cryptography research and I am have been looking for a security analysis of the Guillou-Quisquater (GQ) digital signature scheme, but I have been unable to find one. Since this is not ...
Samuel Reid's user avatar
  • 1,441
8 votes
5 answers
4k views

Computational number theory

I am interested in learning computational number theory and doing some computer experiments. Which sort of number theory problems can be solved by using computers? For example, is it possible to ...
0 votes
2 answers
3k views

Fibonacci Numbers Modulo m [closed]

In the paper "Fibonacci Series Modulo m" by D.D. Wall (found here), there is a table in the Appendix listing values for the function $k(p)$. This function is defined as the period of the Fibonacci ...
Vincent Russo's user avatar
1 vote
0 answers
123 views

What is the largest computed summatory liouville interval ?

I am interested to know the largest computed summatory liouville interval, an implementation of which is detailed in Section 4.1 of [1]. The wikipedia page [2] for the function charts summatory ...
Rob's user avatar
  • 11
2 votes
0 answers
257 views

Efficient counting of Egyptian fractions with bounded denominators

I was amazed to discover that sequence http://oeis.org/A020473 in the OEIS has almost four hundred terms computed. I wonder how one can get that far? E.g., how one can compute A020473(100)? P.S. ...
Max Alekseyev's user avatar
11 votes
3 answers
2k views

Mertens' function in time $O(\sqrt x)$

This MathOverflow question seems to indicate that the state of the art in computing $$ M(x)=\sum_{n\le x}\mu(n) $$ takes time $\Theta(n^{2/3}(\log\log n)^{1/3}),$ which matches my understanding. ...
Charles's user avatar
  • 9,114
15 votes
2 answers
1k views

Sum of $\sum_{k=1}^nd(k^2)$

There is a literature dealing with $$ \sum_{k\le x}d(f(k)) $$ where $f$ is an irreducible polynomial and $d(n)$ is the number of divisors of $n$. Erdos 1952 shows that the sum $\asymp x\log x,$ which ...
Charles's user avatar
  • 9,114
11 votes
2 answers
754 views

Interesting result on the Euler-Maschroni constant - what is the background?

Today I entered the following expression in maple: $$a_i = H_{10^i} - ln(10^i) - \gamma$$ Here $H_j$ equals $\sum_{k=1}^{j} 1/k$ and $\gamma$ is the Euler-Mascheroni constant. When I computed $a_n$ ...
tobias's user avatar
  • 397
6 votes
2 answers
2k views

Computing the fixed field of an automorphism of a function field

Let say we have a function field $k(x,y)$ defined by $f(x,y)$ over $k$, with $\sigma \in Aut(k(x,y)/k)$ and. Suppose, I'm not that out of luck, so that either of $\prod \sigma^i(x)$ or $\sum \sigma^i(...
Syed's user avatar
  • 601
2 votes
0 answers
362 views

Rational integer solutions of a linear Diophantine equation of cyclotomic integers

I am working with lattices in $\mathbb{C}$, and I want to know whether a certain vector is an element of the lattice. In particular, suppose my lattice vectors are $a$ and $b$ and I want to know ...
M.J. Loquias's user avatar
9 votes
2 answers
808 views

Complexity of Membership-Testing for finite abelian groups

Consider the following abelian-subgroup membership-testing problem. Inputs: A finite abelian group $G=\mathbb{Z}_{d_1}\times\mathbb{Z}_{d_1}\ldots\times\mathbb{Z}_{d_m}$ with arbitrary-...
45 votes
1 answer
6k views

How to calculate [10^10^10^10^10^-10^10]?

How to find an integer part of $10^{10^{10^{10^{10^{-10^{10}}}}}}$? It looks like it is slightly above $10^{10^{10}}$.
Vladimir Reshetnikov's user avatar
1 vote
0 answers
429 views

Witt rings and prime number generator?

Let $p$ be a fixed prime number. We define the ring of Witt vectors $W(R)$ for any commutative ring $R$ as follows: For every ring morphism $R \rightarrow R'$ the induced morphism $W(R) \rightarrow ...
tobias's user avatar
  • 397
3 votes
1 answer
386 views

Hermit H-machines

I call an H-machine a machine that can be connected to turing machines and that takes as input a natural integer n and instantly returns the n'th digit of the mathematical constant H. Is there a ...
Hermite's user avatar
  • 77
1 vote
0 answers
204 views

Which rational subfields are corresponding to the two dimensional subspaces of holomorphic differentials

I implemented the algorithm that Felipe Voloch's suggested in his reply to the question: Subfields of a function field the algorithm is here: Subfields of a function field I considered the ...
Syed's user avatar
  • 601
8 votes
3 answers
1k views

Effective detection of CM modular forms

Say $f$ is a newform of weight $k$ and level $\Gamma_1(N)$. $f$ is called CM if, for example, there is an imaginary quadratic field $K$ such that for all $p\nmid N$ which are inert in $K$, the $p$th ...
Rob Harron's user avatar
  • 4,807
4 votes
0 answers
246 views

Algorithm/denominators of elements of a rational affine space

I hope it's not a trivial question... Suppose I have a finite dimensional vector space $V$ over $\mathbb{Q}$ with a distinguished basis (in my case it's the $k$th graded piece of the free associative ...
Adrien's user avatar
  • 8,524
4 votes
0 answers
159 views

Range of the least witness function

Let W(n) be a function from the positive odd composite numbers to the least positive b such that n is not a b-strong pseudoprime. W(n) exists for all numbers in its domain and its range is unbounded. ...
Charles's user avatar
  • 9,114
5 votes
0 answers
292 views

Lower bound for p-adic distance between roots

Let $f$ be a formal power series with coefficients in the ring of integers of a finite extension of ${\mathbb Q}_p$. Is there a simple algorithm to compute a positive lower bound for $|\alpha - \beta|...
Jesse Elliott's user avatar
1 vote
0 answers
108 views

Why do subspaces of the space of Global holomorphic differentials of a function field correspond to its subfields

I'm asking this question as a follow up to the Felipe Voloch's answer to this question: Subfields of a function field which you can read it here: Subfields of a function field (I just didn't have ...
Syed's user avatar
  • 601
1 vote
1 answer
323 views

Number of biquadrates mod n

Is there an explicit formula for the number of fourth powers mod n? Finch & Sebah [1] give theorems, partially folklore, for squares and cubes mod n, but I don't know of a similar formula for ...
Charles's user avatar
  • 9,114
8 votes
1 answer
716 views

Finding colinear points in F_q^n

Forgive me if this is well known, it's not really my field, but it's a problem I've run across and thought about a bit. Let $\mathbb{F}_q$ be a finite field with $q$ elements, let $n\ge2$, and let $A,...
Joe Silverman's user avatar
4 votes
0 answers
369 views

Reducing factoring prime products to factoring integer products (in average-case)

My question is about the equivalence of the security of various candidate one-way functions that can be constructed based on the hardness of factoring. (This question has been asked also in the CS ...
Omid Etesami's user avatar
-1 votes
1 answer
1k views

Transition Graph per alphabet? [closed]

How do you determine how many different Transition Graphs are over a particular alphabet? For example How many TG's are over the alphabet {x, y}. I am taking a class with a similar question from ...
trentonknight's user avatar
2 votes
1 answer
2k views

How many cpus needed to check a 100 million digit prime number efficiently? [closed]

If I had access to potentially unlimited CPUs and wanted to quickly check 100 million digit numbers for primality using a map-reduce architecture, how many CPUs would be necessary? Each of the mapped ...
Adam F's user avatar
  • 123
0 votes
0 answers
263 views

Computing the function field of a curve given as a subvariety of the Jacobian of its cover or merely the degree of the covering

I read following paragraph from: G. Tamme, Teilkörper höheren Geschlechts eines algebraischen Funktionenkörpers, Arch. Math. 23 (1972), 257--259 Here $C$ is a curve of genus $\ge 2$ and $J$ is the ...
Syed's user avatar
  • 601
1 vote
0 answers
238 views

How to ask Magma to compute the induced morphisim on divisor group

Suppose Magma has computed homomorphism $h$ between function fields $F1 \to F2$. Then we have an induced homomorphism $h$ on the divisor group. Now my question is that if there's a better way to ...
Syed's user avatar
  • 601
3 votes
1 answer
427 views

Optimize / simple Set Covering Problem

Let $k,m\in\mathbb{N}$ be given. Let $M:=\{0,... , m-1\}$. How to find a subset $T\subset M$, $|T|=k$ such that $|T+T|$ is maximal, where $T+T=\{ (a+b)\mathbin\%m \mid a\in T,b\in T \}$ (“%” means ...
greedyplot's user avatar
11 votes
0 answers
855 views

Points of bounded height in a number field

Let $K$ be a number field of absolute degree $d$, let $B$ be a positive real number, and write $S(K, B) = \{x \in K : H(x) \leq B\}$. Here $H$ is the absolute multiplicative height of an algebraic ...
Xander Faber's user avatar
  • 1,199
5 votes
1 answer
750 views

Effective bounds on Euler's totient

Quick question: It's known that $$\limsup\frac{n}{\varphi(n)\log\log n}=e^\gamma$$ but are there known C and N such that $$\varphi(n)>\frac{Cn}{e^\gamma\log\log n}$$ for all $n>N$? Failing that,...
Charles's user avatar
  • 9,114
8 votes
2 answers
487 views

Efficient computation of the least fraction with square denominator greater than the square root of 2.

The least rational number greater than $\sqrt{2}$ that can be written as a ratio of integers $x/y$ with $y\le10^{100}$ can be found in a moment using a little Python program. Can anyone write a ...
Sidney Raffer's user avatar
1 vote
1 answer
1k views

Computation for composition of polynomials

Let $R$ be a ring, $f(X)$ be a polynomial with coefficients in $R$ of degree $n$. It's known that for any $\alpha \in R$, one can evaluate $f$ at $\alpha$, i.e compute $f( \alpha) $ in $O(n)$ ...
user565739's user avatar
  • 1,109
20 votes
3 answers
2k views

Computing (on a computer) the first few (non-trivial) zeros of the zeta function of a number field.

Let $M$ be the splitting field of x^8 + 3*x^7 + 13*x^6 + 17*x^5 + 45*x^4 + 37*x^3 + 11*x^2 + 112*x + 108 over the rationals. If I've understood some tables ...
Kevin Buzzard's user avatar
4 votes
2 answers
718 views

Computing index of a subgroup of SL_2 in sage

Suppose I have a subgroup of $\textrm{SL}_2(\mathbb Z)$ given by 3 generators, and it happens to be of finite index in $\textrm{SL}_2$. Is there a way (on Sage, since that is what I have access to) ...
Elena's user avatar
  • 315
4 votes
1 answer
14k views

What is the longest known sequence of consecutive zeros in Pi? [closed]

Inspired by this question, I would like to know what is the longest known sequence of consecutive zeros in Pi (in base 10). So far the longest I have found is the sequence of 8 zero's occurring in ...
Halfdan Faber's user avatar
0 votes
1 answer
342 views

Necessary/Sufficient condition/Algorithm that tells me a function field is a kummer extension

I start my question with an example. Suppose $F/K$ be the function field generated by $x^n - yx^{n-1} - 1 = 0$. It is not a cyclic over K(y), but if I set $t = yx^{n-1}$ then we have $K(x,t) \subset K(...
Syed's user avatar
  • 601
4 votes
1 answer
708 views

Calculating the constant in the Bateman-Horn-Stemmler conjecture

Bateman & Horn [1], building on Bateman & Stemmler [2], give a conjectured formula for the density of numbers that produce simultaneous primes in a number of fixed polynomials. The constant ...
Charles's user avatar
  • 9,114
9 votes
3 answers
2k views

Most efficient checking algorithm for Pell's Equation

What is the most computationally efficient way to check, given $x,y,D$ that they satisfy Pell's equation (positive or negative) ($x^2-Dy^2=1$)? (Obviously the question is concerned with very large ...
Chuck's user avatar
  • 497
11 votes
1 answer
3k views

Best way to find a closest vector in a lattice

Let $v_1,\dotsc,v_n$ be linearly independent vectors in $\mathbb{R}^n$, and let $\Lambda=\bigoplus_{i=1}^n \mathbb{Z}v_i$. The question is, given a vector $w$ in $\mathbb R^n$, find the element $v$ ...
David Cardon's user avatar
54 votes
2 answers
8k views

Walsh Fourier transform of the Möbius function

This question is related to this previous question where I asked about ordinary Fourier coefficients. Special case: is Möbius nearly orthogonal to Morse August Ferdinand Möbius (November 17, 1790 – ...
12 votes
1 answer
1k views

How many LLL reduced bases are there?

For a given $n$-dimensional lattice embedded inside $\mathbb R^n$ along with a given inner product, how many distinct LLL-reduced bases are there? In this question, a lattice is the set of all $\...
David Cardon's user avatar

1
6 7 8
9
10