Lucinda Number Assignment

Lucinda Number Assignment (LNA) is a type of LDI created by Lucinda, a girl character (a witch) from Sofia the First. It complements the use of initials (three letters), order number, a five-digit block, gender indicator, a three digit block and a two digit block, in the format of LCN ABC 999 12345 X 678 90. The first digit of the five digit block is either 1 to 4 for cartoon, book or game characters, 5 for anime characters or 6 to 8 for manga characters, while the last four in the five digit block indicate date and month of birth for anime/manga and year of first appearance for cartoon/game. The three digit block is given by a random number generator. Until 2016, the two digit block was always between 00 and 99 and is derived from modulus-100 calculation (the last two digits in LNA are called 'check key', but sometimes they are called check digits). New registrations from 2016 used ISO 7064 MOD 97-10 as used in IBAN or LEI. For order numbers, first digit is 9 for registrations before 2016, new registrations began with 1.

Initials
The initials are the first three letters of LNA. If there are less than three initials, blank spaces are replaced with an X. For example, Daffy Duck becomes XDD, Stuffy becomes XXS and Wilma Flintstone becomes XWF.

Check key
A check key is used in LNA to capture many human transcription errors. They are two digits long. The range is 00 to 99 for registrations assigned before 2016 (using modulus-100 calculation) and 01 to 97 for registrations assigned in or after 2016 (using ISO 7064 MOD 97-10 calculation).

For a modulus 100 calculation: For example, take LCN XGP 985 11992 M 563: Thus, the completed number is LCN XGP 985 11992 M 563 87.
 * Divide the long string into three groups of six alphanumeric characters and place '000' at the end of the third group of digits.
 * Convert letters to numbers on each of those groups.
 * Apply all three a modulus 65536, then multiply by 3 and add it up to a sum.
 * Divide the number by 100.
 * Subtract the remainder from 100 – this gives the check key (aka 'check digit').
 * Divide the long string into three groups of six alphanumeric characters and place '000' at the end of the third group of digits – XGP985 11992M 563000
 * Convert letters to numbers on each of those groups – 331625985 1199222 563000
 * Apply all three a modulus 65536, then multiply by 3 and add it up to a sum – (13825×3)+(19574×3)+(38712×3) = 214713
 * Divide the number by 100 – 214713 ÷ 100 = 2147 remainder 13
 * Subtract the remainder from 100 – 100 - 13 = 87

For a modulus 97-10 calculation:
 * Add '00' to the right-hand end of the LNA.
 * Convert letters to numbers.
 * Apply the check character system MOD 97-10 (see ISO/IEC 7064).