Search for a tool
2 Factors Decomposition

Tool to decompose a number in 2 factors. The factorization in 2 factors of an integer N consists in finding 2 divisors which can be multiplied to give N.

Results

2 Factors Decomposition -

Tag(s) : Arithmetics, Mathematics

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best 2 Factors Decomposition tool. Thank you.

# 2 Factors Decomposition

## Two Integers Factorization

Tool to decompose a number in 2 factors. The factorization in 2 factors of an integer N consists in finding 2 divisors which can be multiplied to give N.

### How to find two factors of a numbers?

dCode begins with a search of all the divisors of the number N, via decomposition into prime factors. Then making combinations of factors, it is possible to find all combinations of 2 factors having as product's result the number N (see the divisors tool on dCode).

Example: 12 can be decomposed into prime factors as 2*2*3. The list of divisors of 12 is therefore composed of 2, 3 but also 2*2=4 and 2*3=6. So we can deduce couples of two factors: 2*6 and 3*4 (There are also 12*1 but it is obvious).

Note that N is a multiple of all divisor numbers found.

The list obtained is exhaustive, but if there are many factors, the program could be limited to the first results.

## Source code

dCode retains ownership of the source code of the script 2 Factors Decomposition. 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, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the 2 Factors Decomposition script for offline use, for you, your company or association, see you on contact page !

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best 2 Factors Decomposition tool. Thank you.

Source : http://www.dcode.fr/2-factors-decomposition
© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode