Prime Generating Recurrence
- 23Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
23 questions
- 1The recurrence that generates primes is defined as R(n)=R(n−1)+gcd(n,R(n−1)), with the initial term $R(1) =_____$.
Hint
This initial value was chosen arbitrarily to start the sequence.
Answer
7
- 2Unlike the Fibonacci recurrence, the recurrence for R(n) depends on only one previous term, not_____.
Hint
Consider how many initial terms are needed for each sequence.
Answer
two
- 3In the sequence R(n), when gcd(n,R(n−1))=1, the sequence increases by_____.
Hint
This is the 'boring' behavior that occurs most of the time.
Answer
1
- 4All nontrivial gcds (those not equal to 1) in the sequence R(n) are_____.
Hint
This was the surprising discovery about the sequence.
Answer
prime
- 5On a logarithmic plot of the indices where primes appear, the primes form_____.
Hint
They are not evenly spaced but group together.
Answer
clusters
- 6The ratio of consecutive cluster averages on the log plot is approximately_____.
Hint
This constant factor determines the spacing between clusters.
Answer
2
- 7The first prime in a cluster is given by 2n−1, where n is the index of the_____.
Hint
Think about the relationship between the index of the previous prime and the next prime.
Answer
previous prime
- 8Within a cluster, the prime gcd at index n is the smallest_____of 2n−1.
Hint
Consider the prime factorization of 2n−1.
Answer
prime divisor
- 9If the smallest prime divisor of 2n−1 is p, then the next nontrivial gcd appears after i steps, where $i =_____$.
Hint
This formula relates the step count to the prime itself.
Answer
(p−1)/2
- 10The key invariant that allows the recurrence to generate primes is that whenever a prime appears, the value R(n) equals_____times n.
Hint
This multiple is constant and plays a crucial role in the proof.
Answer
3
- 11The conjecture about the recurrence generating primes is now a proven_____.
Hint
It has been mathematically established.
Answer
theorem
- 12The recurrence is not an efficient method for discovering large primes because the shortcut requires testing whether 2n−1 is_____.
Hint
The shortcut relies on knowing the primality of a number.
Answer
prime
- 13Clusters occur because when 2n−1 is prime, the run of 1s before the next prime has length_____.
Hint
This is much longer than for composite 2n−1.
Answer
n−1
- 14The prime 2 never appears as a gcd in the sequence because 2n−1 is always_____.
Hint
Parity determines whether 2 could be a divisor.
Answer
odd
- 15In 2011, Chamizo, Raboso, and Ruiz-Cabello proved that the recurrence produces_____many distinct primes.
Hint
The result is about the quantity of distinct primes generated.
Answer
infinitely
- 16In every cluster of primes, the second prime is always_____.
Hint
This prime appears right after the first prime in each cluster.
Answer
3
- 17If the initial term is 1, the sequence R(n) becomes R(n)=n, and all gcds are_____.
Hint
This makes the sequence trivial.
Answer
1
- 18Starting with initial term 4, the sequence eventually matches the sequence starting with_____.
Hint
After a few steps, the two sequences become identical.
Answer
7
- 19For some initial terms (e.g., 532), non-prime gcds appear before the sequence reaches the state where $R(n) =_____n$.
Hint
This is the invariant state that guarantees primes.
Answer
3
- 20It is an open question whether every initial term ≥4 eventually reaches the state R(n)=3n; this has not been_____.
Hint
The answer is about the status of this statement.
Answer
proved
- 21In Cloitre's variant, the sequence is defined by C(n)=C(n−1)+lcm(n,C(n−1)), with initial term_____.
Hint
This is the starting value for the lcm-based recurrence.
Answer
1
- 22For the lcm variant, the quantity C(n−1)C(n)−1 is always either 1 or a_____.
Hint
This pattern is analogous to the gcd recurrence but with a different operation.
Answer
prime
- 23The conjecture about the lcm variant is considered harder to prove and is related to a difficult open problem about primes in_____progressions.
Hint
This is a well-known type of progression in number theory.
Answer
arithmetic

Ask anything
We've read this whole study set, so questions about it get the best answers.