Search code examples
Confusion in logic of leetcode problem 918...


algorithmmathnumber-theory

Read More
How to compute a^^b mod m?...


algorithmmathnumber-theory

Read More
Calculate discrete logarithm...


pythonalgorithmmathnumber-theoryfinite-group-theory

Read More
Python: speed up pow(base,exp,mod) for fixed exp and mod, or with vectorization...


pythonmodulonumber-theoryexponentiationmodular-arithmetic

Read More
Restore a number from several its remainders (chinese remainder theorem)...


mathgmpnumber-theoryarbitrary-precisionchinese-remainder-theorem

Read More
Getting a list of square-free numbers...


algorithmnumber-theory

Read More
Finding perfect numbers (optimization)...


c#optimizationnumber-theoryperfect-numbers

Read More
How many distinct digit permutations exist for a specific N-digit number?...


algorithmmathlanguage-agnosticpermutationnumber-theory

Read More
Oakley group 2 prime number contains pi, an irrational number...


cryptographyprimespublic-key-encryptionnumber-theorydiffie-hellman

Read More
Is there a way to find a Carmichael number having N prime factors in a given range?...


pythonnumber-theory

Read More
Sieve of Eratosthenes: speeding up the "cross off multiples" step...


algorithmgoprimesnumber-theorysieve-of-eratosthenes

Read More
Remove duplicate during count in PARI GP...


algorithmnumber-theoryparipari-gp

Read More
How would I solve a linear Diophantine congruence in Python?...


pythonsympynumber-theorymodular-arithmeticdiophantine

Read More
Is it possible to test whether a number is prime or not in O(logn)?...


algorithmdata-structuresnumber-theoryprimality-test

Read More
How to determine reachable states in 3 water jug problem?...


algorithmsearchartificial-intelligencenumber-theorydiophantine

Read More
How to solve the error ' [not a vector ]'...


number-theorypari-gp

Read More
How to solve a delay differential equation numerically...


pythonmathdifferential-equationsnumber-theory

Read More
Euler function of C(n, k)...


mathcombinationsnumber-theorygreatest-common-divisorcombinators

Read More
A Program to Find Absolute Euler Pseudoprimes...


c++mathoptimizationimplementationnumber-theory

Read More
Integral basis nf.zk versus nfbasis in Pari GP...


mathnumber-theorypari-gp

Read More
How to approach and understand a math related DSA question...


algorithmmathdata-structuresmodulonumber-theory

Read More
Circular convolution of binary vectors (mod 2) using NTT...


convolutionnumber-theoryntt

Read More
How to find a sequence like this?...


c++algorithmdata-structuresgraph-theorynumber-theory

Read More
Function to determine if a range of consecutive (positive) integers can be written as the sum of two...


javascriptalgorithmfunctionnumber-theory

Read More
Count possible combinations of factors of number N, excluding 1 and itself, which on multiplication ...


algorithmrecursionmathnumber-theory

Read More
Find b that (a+b) divisible to K...


pythonalgorithmnumber-theory

Read More
Modular multiplicative inverse...


cnumber-theory

Read More
Visualizing gaussian primes and gaussian prime factors in Python...


pythonseaborndata-visualizationnumber-theory

Read More
How to come up with a normal solution to the problem of brute force?...


algorithmnumbersnumber-theory

Read More
C program to find positive integers with beautiful property...


cnumbersdoublenumber-theory

Read More
BackNext