1
Part of 2024 Brazil National Olympiad
Problems(2)
Find all a_1 that make the sequence eventually periodic, and all periods
Source: Brazilian Mathematical Olympiad 2024, Level 3, Problem 1
10/12/2024
Let be an integer greater than or equal to 2. Consider the sequence such that its first term is , and for , the -th term of the sequence, we have
where is the prime factorization of , with , and positive integers.For example, if , the next two terms of the sequence are
Determine for which values of the sequence is eventually periodic and what all the possible periods are.Note: Let be a positive integer. A sequence is eventually periodic with period if is the smallest positive integer such that there exists an satisfying for all .
SequencePeriodic sequenceprime factorizationnumber theory
sequence with prime factors
Source: Brazilian Mathematical Olympiad 2024, Level 2, Problem 1
10/12/2024
Consider a sequence whose first term is a given positive integer . Consider the prime factorization of . If is a power of 2, the sequence consists of a single term: . Otherwise, the second term of the sequence is obtained by replacing the largest prime factor of with in the prime factorization. If the new number is not a power of 2, we repeat the same procedure with it, remembering to factor it again into primes. If it is a power of 2, the numerical sequence ends. And so on.For example, if the first term of the sequence is , since its largest prime factor is , the second term is . Repeating the procedure, the largest prime factor of the second term is , so the third term is . Since we obtained a power of 2, the sequence has 3 terms: , , and . a) How many terms does the sequence have if the first term is ?
b) Show that if a prime factor leaves a remainder of 1 when divided by 3, then is an integer that also leaves a remainder of 1 when divided by 3.
c) Present an initial term less than 1,000,000 (one million) such that the sequence starting from has exactly 11 terms.
number theoryprime factorizationSequence