This page is going to be dedicated to finding out all there is to know about the IMEI system.
You can obtain your IMEI number by pressing *#06# on your mobile phone, or some phones have it etched into the back of the phone or under the battery.
Interactive example of how we did the validation above using Luhn formula.
As an example since you have not tried to validate an IMEI yet we will use 35780502 398494 2 as the test number to demonstrate how to use Luhn's formula.
The check digit (x) is obtained by computing the sum of digits then computing 9 times that value modulo 10 (so that is: (68 * 9 mod 10)).
In summary:
The IMEI is composed of the following elements (each element shall consist of decimal digits only):