Search for a tool
Even or Odd Numbers

Tool to automatically detect the parity of a list of numbers. The parity of a number is the property that to be (or not to be) a multiple of two. An integer multiple of 2 is an even integer, the others are odd integers.

Results

Even or Odd Numbers -

Tag(s) : Data processing, 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 Even or Odd Numbers tool. Thank you.

Even or Odd Numbers

Sponsored ads

Parity Filter/Detector








Tool to automatically detect the parity of a list of numbers. The parity of a number is the property that to be (or not to be) a multiple of two. An integer multiple of 2 is an even integer, the others are odd integers.

Answers to Questions

How to check if a number is even?

A number is even if it is a multiple of 2. It is therefore sufficient to check if the number has 2 as a divisor, ie the remainder of the division by 2 is equal to 0.

Example: 12 is even

Example: 123 is odd

Note: multiples of 2 end with 0,2,4,6,8.

What is the modulo 2 calculation?

The calculation modulo 2 (denoted % 2) is widespread in computing to check the parity of a number. The calculation returns 1=true if the number is odd and 0=false if the number is even.

Example: 1234%2=0 therefore 1234 is even

Ask a new question

Source code

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

Questions / Comments


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 Even or Odd Numbers tool. Thank you.


Source : https://www.dcode.fr/even-odd
© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode