Skip to content

matefernandezcc/congruence-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exactly! modular arithmetic.

Its a part of number theory, basically just an equation with the form Ax ≡ B (mod M) where '≡' mean congruent, for example 4 is congruent to 2 because 2|4 thus 4 is divisible by 2.

A clock has numbers from 1 to 12, when you get past 12 you start again from 1, so its modular.

Example of Congruence

How to use

  • For windows use it on WSL <3\
  • The executable is in the ./bin folder
  • For easy usage there is a makefile, so just type "make" on the CLI and the bin folder should appear
    • Type "make clean" to remove ./bin and ./obj folders

About

Linear Congruence Equation solver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published