Hi, this thread is incorrect. It's going under the assumption that a random number is ×5+1 of one random number ago. Link battle random numbers are ×5+1 of nine random numbers ago, with the first nine being individually random.
(from Pokemon Speedrunning discord + pre)