Skip to main content

Questions tagged [number-theory]

Questions on the number-theoretic functionality of Mathematica.

1 vote
1 answer
143 views

$LLL$ is implemented in Wolfram Mathematica as $\mathsf{LatticeReduce}$ command. If we want to reduce a rank $k\leq n$ lattice in $\mathbb Z^n$ where the generator matrix of the lattice has integral ...
Turbo's user avatar
  • 157
0 votes
1 answer
92 views

I want to compute a Dirichlet convolution with a function that has a conditional. For simplicity, let's say: idifeven[n_]:=If[EvenQ[n],n,0] Let's convolve this ...
Mathieu's user avatar
  • 21
6 votes
1 answer
672 views

There is a need to increase the number of correct decimal digits from this integral: ...
Mats Granvik's user avatar
  • 1,221
7 votes
1 answer
476 views

A001422 gives the whole set of 31 numbers which are not the sum of distinct squares (see also MathWorld). That article also provides code for it: ...
Vitaliy Kaurov's user avatar
10 votes
2 answers
400 views

Sorry if the question is quite basic, I started learning Mathematica today to help me with group computations. I'm trying to get the generators of the group of units modulo p, with p a prime. However, ...
Mati's user avatar
  • 103
11 votes
5 answers
660 views

Is there a standard approach in Mathematica for recognizing Euler products? For example, I have the following product $$\prod_{p} \frac{1-p^{s}+p^{2s}}{\left(p^s-1\right)^2}.$$ There is a nice closed ...
test1's user avatar
  • 213
9 votes
3 answers
1k views

According to taxicab geometry, there are 1226 possible paths from A(2,5) to B(7,9), all with a distance of 9 units, |2-7|+|9-5|=9. I wanted to write a code where I could be obtaining the plots of some ...
Rubens Vilhena Fonseca's user avatar
1 vote
1 answer
232 views

I am reading an interesting paper One of the numbers ζ(5), ζ(7), ζ(9), ζ(11) is irrational by Zudilin. We fix odd numbers $q$ and $r$, $q\geq r+4$ and a tuple $\eta_0,\eta_1,...,\eta_q$ of positive ...
Max's user avatar
  • 373

15 30 50 per page
1
2 3 4 5
31