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

Share
Share
dCode and more

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!


Please, check our community Discord for help requests!


Thanks to your feedback and relevant comments, dCode has developped the best 'Even or Odd Numbers' tool, so feel free to write! Thank you !

Even or Odd Numbers

Parity Filter/Calculator


Loading...
(if this message do not disappear, try to refresh this page)






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 $ (two). A number is multiple of $ 2 $ if it has $ 2 $ as divisor. A number has $ 2 $ as a divisor if the remainder of the division by $ 2 $ is $ 0 $ (ie the result is an integer and not a floating point number).

Example: $ 12 $ is even because $ 12 / 2 = 6 $ (integer)

Example: $ 123 $ is odd because $ 123 / 2 = 61.5 $ (not integer)

The multiples of $ 2 $ end with 0, 2, 4, 6 or 8. Check if a number is multiple of $ 2 $ can thus be realized quickly by looking at the last digit of the number.

What is the modulo 2 calculation?

The calculation modulo 2 (noted %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

How to check a number parity in Excel?

Excel has a function ISODD(), else there is a formula =IF(MOD(A1,2),"odd","even")

Source code

dCode retains ownership of the online 'Even or Odd Numbers' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Even or Odd Numbers download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developped the best 'Even or Odd Numbers' tool, so feel free to write! Thank you !


Source : https://www.dcode.fr/even-odd
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback