Difference between revisions of "Vehicle Checksum Formula"

From SgWiki
Jump to navigation Jump to search
m (Reverted edits by Sbslover (Talk); changed back to last version by SupremeLeader)
m (Protected "Vehicle Checksum Formula" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(110 intermediate revisions by 36 users not shown)
Line 1: Line 1:
This is the page for future bus registration numbers. <br>
A vehicle checksum is the last alphabet of a vehicle license plate. It is derived from the following formula.


The Suffix of the bus registration number is based on the following formula. <br>
{| class="wikitable"
|-
!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.)
|}


Demonstrators Bus Registration Numbers are predicted. <br>
===Suffix Table===
{| 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
|}


* '''Note:''' Letters F, I, N, O, Q, V & W are omitted.


=Formula=
===Example===
For example, the registration plate of '''SG5999'''.


'''For SBS Transit Buses [SBS Registration Numbers]'''
Using the above formula for '''SG'''-prefixed plates, you should get a statement like this: ''11–(5×'''5''')–(4×'''9''')–(3×'''9''')–(2×'''9''')''. [https://www.google.com/search?q=11%E2%80%93%285%C3%975%29%E2%80%93%284%C3%979%29%E2%80%93%283%C3%979%29%E2%80%93%282%C3%979%29 A quick input of the statement on Google] should give a result of '''-95'''.


2 - (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. You can mod the number by 19 using Google. For the above example where the result is '''-95''', [https://www.google.com.sg/search?q=--95+mod+19 type ''-95 mod 19'' into the Google search bar] and it would calculate the answer, '''0'''.


Compare the answer against the table above for the suffix.


'''For SMRT Buses [TIB Registration Numbers]'''
Hence the checksum for '''SG5999''' is '''Z'''.


7 - (5 X 1st Number) - (4 X 2nd Number) - (3 X 3rd Number) - (2 X 4th Number)
''Alternatively, you may use [https://jayl.io/ this checksum calculator tool] to find the suffix.''


===How "Mod 19" works===
Mod 19 works in a way that the number <code><nowiki>19</nowiki></code> is deducted from a number until the remainder reaches 18 or less.


'''For SMRT Buses [SMB Registration Numbers]'''
For example, if you get a result of <code><nowiki>-95</nowiki></code> from the given formula.
# Remove the minus sign (modulus)
# Deduct <code><nowiki>19</nowiki></code> from <code><nowiki>95</nowiki></code> as many times as you can before remainder reaches 18 or less<br><code><nowiki>95 - 19 - 19 - 19 - 19 - 19 = 0</nowiki></code>
# Substitute remainder <code><nowiki>0</nowiki></code> with the letter Z and it will be the suffix of the license plate


9 - (5 X 1st Number) - (4 X 2nd Number) - (3 X 3rd Number) - (2 X 4th Number)
[[Category:Buses]]
 
'''For SMRT Buses [CSS Registration Numbers]'''
 
12 - (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.
 
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
 
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.
 
----
 
 
=SBS Transit Buses=
==Volvo B9TL Batch 2==
'''SBS7500D - SBS7686B'''<br>
 
=SMRT Buses=
==King Long XMQ6121G Hybrid Bus==
'''SMB137A'''
 
==Mercedes-Benz Citaro O530==
'''SMB138Y'''<br>
'''SMB139U'''<br>
'''SMB140P'''<br>
'''SMB141L'''<br>
'''SMB142J'''<br>
'''SMB143G'''<br>
'''SMB144D'''<br>
'''SMB145B'''<br>
'''SMB146Z'''<br>
'''SMB147X'''<br>
'''SMB148T'''<br>
'''SMB149R'''<br>
'''SMB150K'''<br>
'''SMB151H'''<br>
'''SMB152E'''<br>
'''SMB153C'''<br>
'''SMB154A'''<br>
'''SMB155Y'''<br>
'''SMB156U'''<br>
'''SMB157S'''<br>
'''SMB158P'''<br>
'''SMB159L'''<br>
'''SMB160G'''<br>
'''SMB161D'''<br>
'''SMB162B'''<br>
'''SMB163Z'''<br>
'''SMB164X'''<br>
'''SMB165T'''<br>
'''SMB166R'''<br>
'''SMB167M'''<br>
'''SMB168K'''<br>
'''SMB169H'''<br>
'''SMB170C'''<br>
'''SMB171A'''<br>
'''SMB172Y'''<br>
'''SMB173U'''<br>
'''SMB174S'''<br>
'''SMB175P'''<br>
'''SMB176L'''<br>
'''SMB177J'''<br>
'''SMB178G'''<br>
'''SMB179D'''<br>
'''SMB180Z'''<br>
'''SMB181X'''<br>
'''SMB182T'''<br>
'''SMB183R'''<br>
'''SMB184M'''<br>
'''SMB185K'''<br>
'''SMB186H'''<br>
'''SMB187E'''<br>
'''SMB188C'''<br>
'''SMB189A'''<br>
'''SMB190U'''<br>
'''SMB191S'''<br>
'''SMB192P'''<br>
'''SMB193L'''<br>
'''SMB194J'''<br>
'''SMB195G'''<br>
'''SMB196D'''<br>
'''SMB197B'''<br>
'''SMB198Z'''<br>
'''SMB199X'''<br>
'''SMB200A'''<br>
'''SMB201Y'''<br>
'''SMB202U'''<br>
'''SMB203S'''<br>
 
[[Category:Future Buses]]

Latest revision as of 00:28, 25 July 2022

A vehicle checksum is the last alphabet of a vehicle license plate. It is derived from the following 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.)

Suffix Table

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
  • Note: Letters F, I, N, O, Q, V & W are omitted.

Example

For example, the registration plate of SG5999.

Using the above formula for SG-prefixed plates, you should get a statement like this: 11–(5×5)–(4×9)–(3×9)–(2×9). A quick input of the statement on Google should give a result of -95.

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 -95, type -95 mod 19 into the Google search bar and it would calculate the answer, 0.

Compare the answer against the table above for the suffix.

Hence the checksum for SG5999 is Z.

Alternatively, you may use this checksum calculator tool to find the suffix.

How "Mod 19" works

Mod 19 works in a way that the number 19 is deducted from a number until the remainder reaches 18 or less.

For example, if you get a result of -95 from the given formula.

  1. Remove the minus sign (modulus)
  2. Deduct 19 from 95 as many times as you can before remainder reaches 18 or less
    95 - 19 - 19 - 19 - 19 - 19 = 0
  3. Substitute remainder 0 with the letter Z and it will be the suffix of the license plate