Search code examples
Number of occurrences of 2 as a digit in numbers from 0 to n , Not getting the O(n) solution?...

algorithmmathnumber-theory

Read More
Why the function is failing in case of numbers greater than 48 digits?...

c++algorithmbigintegernumber-theory

Read More
How do I get the counter clockwise value using the modulo operator?...

algorithmnumber-theory

Read More
Can I calculate modulus of large number by taking modulus of each digit and taking sum?...

c++algorithmnumbersmodulonumber-theory

Read More
Struggling to convert a number to base 64 in Python without strings...

pythonpython-3.xencodenumber-theory

Read More
Converting from a string to a number in base-64...

pythonstringradixnumber-theory

Read More
How to generate distinct combinations from a given array such that every digit in sequence is also d...

algorithmlogicpermutationcombinatoricsnumber-theory

Read More
For a given value of n and m, find fib(n) mod m where n is very huge. (Pisano Period)...

algorithmfibonaccinumber-theorylargenumbermodulo

Read More
Project Euler #23 Optimization...

pythonnumber-theory

Read More
Euler Project problem #12 Python code gives weird results...

pythonnumber-theory

Read More
How do I calculate a number if its number of factors (N) and number of prime factors (K) are given?...

mathnumbersprimesprime-factoringnumber-theory

Read More
How to find the product of all the possible subarrays in an array in linear time?...

arraysdynamic-programmingnumber-theory

Read More
Find four factors of a number such that their product is maximum and their sum is the original numbe...

algorithmrecursiondepth-first-searchnumber-theory

Read More
Efficiently finding the number of divisors in Haskell...

haskellcountfactorsnumber-theoryfactorization

Read More
Time and Space Complexity for PCP and Halting Problem...

complexity-theorytheorynumber-theory

Read More
Trying to find cause of possible overflow in my approach when trying to solve...

algorithmnumber-theory

Read More
Asking ideas of a codeforces problem (Problem-483A Counterexample)...

mathfunctional-programmingbrute-forcenumber-theory

Read More
Finding Bezout coefficients via Extended Euclidean Algorithm on Array of Arbitrary Length...

arraysalgorithmwolfram-mathematicanumber-theory

Read More
minimum greater number with different adjacent digits...

algorithmdata-structuresnumber-theory

Read More
Printing Carmichael numbers in a given limit...

pythonnumber-theory

Read More
miller-rabin test don't work for 252097800623...

c++algorithmnumber-theory

Read More
How to determine if a number is polygonal for a polygon with s sides...

algorithmlanguage-agnosticnumber-theory

Read More
Picking A, C and M for Linear congruential generator...

javascriptalgorithmmathprngnumber-theory

Read More
Error in C program to find integer triplets (x,y,z) such that n^x + n^y = n^z for given range of n...

calgorithmnumbersnumber-theory

Read More
What is the fastest way to determine n^m = m^n if m != n?...

cc++14number-theory

Read More
why 1 is subtracted from mod where mod =1000000007 in calculation...

mathnumbersprimesnumber-theorymodulo

Read More
Why is this failing for just a corner case? Question link-https://www.hackerearth.com/problem/algori...

c++algorithminteger-divisionnumber-theory

Read More
Counting distinct digits...

algorithmmathnumber-theory

Read More
Finding all even factorizations of a given number n - javascript python...

javascriptpythonpython-3.xnumber-theoryfactorization

Read More
Different implementations for Extended Euclidean algorithm yield different results?...

pythonencryptionrsamodulusnumber-theory

Read More
BackNext