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

## Parity Filter/Detector

 Action Filter even numbers Filter odd numbers Binarize each Digit (Even = 0, Odd = 1) Binarize each Digit (Even = 1, Odd = 0) Binarize each Number (Even = 0, Odd = 1) Binarize each Number (Even = 1, Odd = 0)

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.

### 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