olymmath

FI-MO 2019 Problem 4

    Define a sequence an=nn+(n−1)n+1a_n = n^n + (n - 1)^{n+1} when nn is a positive integer. Define all those positive integer mm , for which this sequence of numbers is eventually periodic modulo mm , e.g. there are such positive integers KK and ss such that ak≡ak+sa_k \equiv a_{k+s} ( modmmod m ), where kk is an integer with k≥Kk \ge K .

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator fi-mo/2019/p4 · Tag EEHTMPM1GF · Edit this page on GitHub · Keys: j next, k previous