KonkurStudy
همه کارت‌ها

Periodicity of a Recurrence Modulo m (Pisano-Type)

A linear recurrence reduced mod mm depends only on a finite state of past residues, so its residue sequence is eventually periodic — find the period, then answer any far-out term with n mod pn \bmod p.

کارت مفهوم کنکور ارشد علوم کامپیوتر