Difference between revisions of "Vehicle Checksum Formula"

From SgWiki
Jump to navigation Jump to search
Line 1: Line 1:
This is the page for future bus registration numbers.
This is the page for future bus registration numbers.


The suffix of the bus registration numbers is derived from the following formula.
The checksum, also known as the last alphabet of a vehicle license plate, of a bus registration number is derived from the following formula.


==Checksum Formula==
==Checksum Formula==
'''SG Registration Numbers (E.g. SG1111U)'''<br>
{| class="wikitable"
11 - (5 X 1st Number) - (4 X 2nd Number) - (3 X 3rd Number) - (2 X 4th Number)
|-
!Prefix
!
|-
!SG
|11 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)
|-
!SBS
|2 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)
|-
!SMB
|9 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)
|-
!TIB
|7 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) (2 × 4th No.)
|}


'''SBS Registration Numbers (E.g. SBS6180A)'''<br>
For example, a bus registration plate of '''SMB179'''. Using the above formula for '''SMB'''-prefixed plates, we should get a statement like this: ''9–(5×'''0''')(4×'''1''')(3×'''7''')(2×'''9''')''. [https://www.google.com.sg/search?q=9–%285×0%29–%284×1%29–%283×7%29–%282×9%29&oq=9–%285×0%29–%284×1%29–%283×7%29–%282×9%29 A quick input of the statement on Google] should give a result of '''-34'''.
2 - (5 X 1st Number) - (4 X 2nd Number) - (3 X 3rd Number) - (2 X 4th Number)


'''SMB Registration Numbers (E.g. SMB179D)'''<br>
Using the result, mod the number with '''19''', you will get a number from 0 to 18. You can mod the number by 19 using Google. For the above example where the result is '''-34''', [https://www.google.com.sg/search?q=-34+mod+19 type ''-34 mod 19'' into the Google search bar] and it would calculate the answer, '''4'''.
9 - (5 X 1st Number) - (4 X 2nd Number) - (3 X 3rd Number) - (2 X 4th Number)


'''TIB Registration Numbers (E.g. TIB1234T)'''<br>
Compare the answer against the table below for the suffix.
7 - (5 X 1st Number) - (4 X 2nd Number) - (3 X 3rd Number) - (2 X 4th Number)


Using the result, mod the number with 19, you will get a number from 0 to 18. Refer to the list below for the suffix.
<nowiki>*</nowiki>Letters F, I, N, O, Q, V & W have been omitted.
{| class="wikitable" style="text-align:center;"
|-
!1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 !! 13 !! 14 !! 15 !! 16 !! 17 !! 18 !! 0
|-
|A || B || C || D || E || G || H || J || K || L || M || P || R || S || T || U || X || Y || Z
|}


1 = A, 2 = B, 3 = C, 4 = D, 5 = E, 6 = G, 7 = H, 8 = J, 9 = K, 10 = L, 11 = M, 12 = P, 13 = R, 14 = S, 15 = T, 16 = U, 17 = X, 18 = Y, 0 = Z
Hence, the checksum for '''SMB179''' is '''D'''.
 
You can mod the number by 19 using Google. For example, if the result is -156, type ' -156 mod 19 ' into the Google search bar and it would calculate the answer.


Alternatively, you may use [https://docs.google.com/spreadsheets/d/1cMU-X_Ph4N7G87p010JaZyJ7QZfuXF2JAwuTgqNPRzA/edit?usp=sharing this checksum calculator created using Google Spreadsheet to get the letters] or [http://xeroy.net/tooxsg/#carplate this checksum calculator tool] instead.
Alternatively, you may use [https://docs.google.com/spreadsheets/d/1cMU-X_Ph4N7G87p010JaZyJ7QZfuXF2JAwuTgqNPRzA/edit?usp=sharing this checksum calculator created using Google Spreadsheet to get the letters] or [http://xeroy.net/tooxsg/#carplate this checksum calculator tool] instead.

Revision as of 22:00, 28 January 2017

This is the page for future bus registration numbers.

The checksum, also known as the last alphabet of a vehicle license plate, of a bus registration number is derived from the following formula.

Checksum Formula

Prefix
SG 11 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)
SBS 2 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)
SMB 9 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)
TIB 7 – (5 × 1st No.) – (4 × 2nd No.) – (3 × 3rd No.) – (2 × 4th No.)

For example, a bus registration plate of SMB179. Using the above formula for SMB-prefixed plates, we should get a statement like this: 9–(5×0)–(4×1)–(3×7)–(2×9). A quick input of the statement on Google should give a result of -34.

Using the result, mod the number with 19, you will get a number from 0 to 18. You can mod the number by 19 using Google. For the above example where the result is -34, type -34 mod 19 into the Google search bar and it would calculate the answer, 4.

Compare the answer against the table below for the suffix.

*Letters F, I, N, O, Q, V & W have been omitted.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 0
A B C D E G H J K L M P R S T U X Y Z

Hence, the checksum for SMB179 is D.

Alternatively, you may use this checksum calculator created using Google Spreadsheet to get the letters or this checksum calculator tool instead.

For the Google Spreadsheet calculator, go to File then click Make a Copy. The checksum calculator is then for your own use.

Predicted bus registration numbers