Number Theory Algorithms

3.5
126 reviews
10K+
Downloads
Content rating
Everyone
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this app

Calculator:
Add two big integer numbers
Subtract two big integer numbers
Multiply two big integer numbers
Divide two big integer numbers
Power of a big integer number
Root of a big integer number
Greatest Common Divisor (GCD) of two big integer numbers
Lowest Common Multiple (LCM) of two big integer numbers
Module of two big integer numbers
Module Inverse of two big integer numbers
Module Power
Check if a big integer is prime
Euler's phi-function
Factorial
Next prime to a big integer number
Next twin prime pair to a big integer number

Algorithms:
Simple Quadratic Form. Solve for x,y such that bxy+dx+ey=f where b,d,e,f,x,y in Z.
Euclidean Algorithm. Compute the Greatest Common Divisor (GCD) of two numbers a and b.
Extended Euclidean Algorithm. Solve for x, y such that ax + by = gcd(a, b).
Linear Diophantine Equation In Two Variables. Solve for x,y such that ax+by=c.
Linear Congruence In One Variable. Solve for x a congruence of the form ax ≡ b (mod m).
Linear Congruence In Two Variables. Solve for x,y, a congruence of the form ax+by ≡ c (mod m).
Tonelli-Shanks Algorithm. Calculate the Quadratic Residue Modulo. Solve for x, a congruence of the form x² ≡ a (mod p) where p is prime.
Mod Factors. Calculate modular possible factors for a given number and a modulus. Find n ≡ bc (mod a) where (ax + c)(ay + b) = a(axy + bx + cy) + bc = n.
Primes List. List of primes ordered in columns.

Note: Performance is based on the device.
Updated on
Aug 14, 2025

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection

Ratings and reviews

3.5
118 reviews
A Google user
February 24, 2019
Overall, a good app for primality and mod calculations. Would be nice to have an option to disable the tactile vibration, which is a bit annoying as it's there on pressing any button.
8 people found this review helpful
Did you find this helpful?
ERVIN GEGPRIFTI
March 9, 2023
Thank you for your kind feedback. As of (3.0.4.5) the vibration on clipboard buttons is disabled by default. Please use the app Settings to see more options fitting your preferences.
SOURASHIS MONDAL
June 13, 2020
Very good app for college students to solve number theoretical problems.... With having a look at the method to solve that
7 people found this review helpful
Did you find this helpful?
ERVIN GEGPRIFTI
March 9, 2023
Thank you for your kind feedback. Please check the (3.0.4.5) version, for more new algorithms and UI improvements.
Tanmay Tyagi
January 28, 2021
Just what I was looking for. And the copy paste clear commands are so practical and useful. Big thumbs up for the developer!!
5 people found this review helpful
Did you find this helpful?
ERVIN GEGPRIFTI
March 9, 2023
Thank you for your kind feedback. Please check the (3.0.4.5) version, for more new algorithms and UI improvements.

What’s new

- Added compact input view mode.
- Added a temporary field in the calculator for intermediate result storage.
- Added input decrease (-) increase (+) buttons.
- Added a double-tap event on the result to expand it, despite the expand button.
- Added results history in the calculator.
- Added modular power in the calculator.
- Unified vibration on button tap.
- Removed the notify on button tap since buttons them-self indicate that.
- Refactored part of the code.

App support

About the developer
Ervin Gegprifti
gegprifti.ervin@gmail.com
Albania
undefined