We’re rewarding the question askers & reputations are being recalculated! Read more.

# Questions tagged [number-theory]

Questions on the number-theoretic functionality of Mathematica.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
850 views

102 views

### Not comprehending PowerMod

Bug introduced in 10.3 or earlier and persisting through 11.3.0 or later The bug is not present in 10.0. By definition, PowerMod[a, 1/r, m] finds a modular rth root of a mod m. Here's a pair of ...
250 views

### Undocumented function SumOfSquaresReps

There is an interesting (and documented) number-theoretic function in MMA called PowersRepresentations[$n$, $k$, $p$]. It gives the distinct representations of the integer $n$ as a sum of $k$ non-...
1k views

### Elliptic curve cryptography in Mathematica

I can find no resources for doing elliptic curve cryptography. I have used the finite field package, but I find it cumbersome and it does not seem to have any builtin methods for ECC. How can I get ...
119 views

### Simplifying expressions involving Divisible

FullSimplify[ Divisible[p^2 - 1, 24] , Element[p, Primes] && p > 3] Should evaluate to True, but I get ...
104 views

### How to find, load and use a legacy Mathematica package

Question: How to find, load and use a legacy Mathematica package from a previous Mathematica version? What is the preferred approach and process? Context: I am working through a set of examples in ...
98 views

### Wrong divergence message for the continued fraction

Bug introduced in 8.0.4 or earlier and fixed in 11.2 Why there is an error message for ContinuedFractionK[k, 1, {k, Infinity}]? It is well known that, this ...
137 views

### Rationalize error

The docs state that "Rationalize[x,dx] yields the rational number with smallest denominator that lies within dx of x." However, testing this out it appears to be false. ...
118 views

...
78 views

### Are there any Mathematica programs on or about the LMFDB Archive?

I would like to explore the LMFDB Archive with L-functions using Mathematica. Is there any Mathematica sample code available to get me started?
204 views

### FrobeniusSolve: how does it work?

Can someone suggest any reference to read? I would like to understand how the algorithm works.
36 views

### FindEquationalProof to prove divisor theorem

I'm trying to implement proofs of concepts for Equational Proofs on some basic number theory theorems. One such example is: "let a and b be positive integers and let d = gcd (a, b). If t divides ...