Tool to make an euclidean division automatically. Euclidean division is an arithmetical operation which associates to two numbers: the dividend and the divisor, two others numbers resulting from the division operation : the quotient and the remainder.

Euclidean Division - dCode

Tag(s) : Arithmetics

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

Tool to make an euclidean division automatically. Euclidean division is an arithmetical operation which associates to two numbers: the dividend and the divisor, two others numbers resulting from the division operation : the quotient and the remainder.

The remainder $ r $ is the result of $$ r = a - q \times b $$

__Example:__ In the division $ 43/21 $, the quotient equals $ 2 $ and the remainder equals $ 43 - 21 \times 2 = 1 $, indeed $ 43 = 2 \times 21 + 1 $.

To get a positive remainder, take for quotient $ q-1 $, the remainder is then augmented by $ b $.

__Example:__ If $ a = 15, b = 4 $, then is is possible to use $ q = 4, r = -1 $ (negative) because $ b \times q + r = 4 \times 4 - 1 = 15 = a $ but to get a positive remainder, take $ q = ( 4 - 1 ) = 3 $ and then have $ r = 3 $ (positive) and $ b \times q + r = 4 \times 3 + 3 = 15 = a $

An Euclidean division is an entire division, it is not supposed to have decimal places.

However, if the divisor or the dividend has decimal places, it is possible to multiply by 10 the dividend and the divisor as many times as necessary to make it disappear.

__Example:__ 1.2/3 is equivalent to having 12/30

The name comes from Euclid, a mathematician.

This software is not limited, it can calculated with any number, including big numbers with arbitrary precision

dCode retains ownership of the source code of the script Euclidean Division online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Euclidean Division script for offline use on PC, iPhone or Android, ask for price quote on contact page !

- Long Division A/B
- How to calculate the quotient of the euclidean division?
- How to calculate the remainder of the euclidean division?
- How to make the remainder a positive value?
- How to calculate a division with a decimal number?
- What is the difference between decimal division and Euclidean division?
- Why the name Euclidean Division?
- What are the limits of this software?

division,long,euclidean,quotient,remainder,integer,euclide,dividend,divisor,modulo,algorithm,slice,calculator

Source : https://www.dcode.fr/euclidean-division

© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲