→Linear Congruential random number generator (LCRNG)
==In the Pokémon games==
===Linear Congruential random number generator (LCRNG)===
In [[Generation III]] and [[Generation IV]], the games use a 32 bit LCRNG.
Let ''Seed'' be a number between 0 and 0xFFFFFFFF or the ''Result'' of a previous call to the equation.
''Result = [(0x41C64E6D * Seed) +
* Encrypting Pokémon data in the [[Save|save file]].
* Generate the [[personality value]] of a [[Wild Pokémon|wild encountered Pokémon]].