Prime Generating Recurrence
- 26Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the recurrence defining the sequence R(n)?
What is the recurrence defining the sequence R(n)?
26 questions
- 1
What is the recurrence defining the sequence R(n)?
- A
R(n)=R(n−1)+gcd(n,R(n−1))
- B
R(n)=R(n−1)+R(n−2)
- C
R(n)=R(n−1)+gcd(n,n−1)
- D
R(n)=R(n−1)+n
Correct answer
AR(n)=R(n−1)+gcd(n,R(n−1))
Explanation
The sequence is defined by R(n)=R(n−1)+gcd(n,R(n−1)). Unlike the Fibonacci recurrence, it depends on only one previous term and adds a gcd.
- A
- 2
How many initial terms are needed to define the sequence R(n)?
- A
Two
- B
Three
- C
None, it is self-starting
- D
One
Correct answer
DOne
Explanation
The recurrence R(n)=R(n−1)+gcd(n,R(n−1)) requires only one initial term, R(1), because each term depends on only the previous term and the index.
- A
- 3
With initial term R(1)=7, what is the first nontrivial gcd (greater than 1) that appears?
- A
gcd(4,9)=1
- B
gcd(2,7)=1
- C
gcd(5,10)=5
- D
gcd(6,15)=3
Correct answer
Cgcd(5,10)=5
Explanation
The first nontrivial gcd occurs at n=5, where gcd(5,R(4))=gcd(5,10)=5. The previous gcds were all 1.
- A
- 4
What is the value of R(3) when R(1)=7?
- A
8
- B
9
- C
15
- D
10
Correct answer
B9
Explanation
Using the recurrence: R(2)=7+gcd(2,7)=8, R(3)=8+gcd(3,8)=8+1=9.
- A
- 5
What distinguishes the recurrence R(n) from the Fibonacci recurrence?
- A
It has no closed form
- B
It always generates primes
- C
It requires two initial terms
- D
It depends on only one previous term and adds a gcd, not the previous term
Correct answer
DIt depends on only one previous term and adds a gcd, not the previous term
Explanation
The Fibonacci recurrence F(n)=F(n−1)+F(n−2) depends on two previous terms, while R(n)=R(n−1)+gcd(n,R(n−1)) depends on only one and adds a gcd instead of the previous term.
- A
- 6
What do all nontrivial gcds (those greater than 1) in the sequence R(n) turn out to be?
- A
Composite numbers
- B
Primes
- C
Odd numbers
- D
Powers of 2
Correct answer
BPrimes
Explanation
Empirically and later proven, every gcd greater than 1 in the sequence is prime.
- A
- 7
Why was it surprising that the nontrivial gcds are all prime?
- A
Because primes are rare in such sequences
- B
Because the recurrence involves arbitrary numbers
- C
Because gcds are usually composite
- D
Because there is no obvious reason from the definition
Correct answer
DBecause there is no obvious reason from the definition
Explanation
The recurrence simply adds a gcd, so it is not obvious why the nontrivial gcds should always be prime; this was a surprising discovery.
- A
- 8
What pattern was observed when the indices where nontrivial gcds occur were plotted on a logarithmic scale?
- A
They form a straight line
- B
They are uniformly distributed
- C
They form clusters with roughly equal spacing on the log scale
- D
They are random
Correct answer
CThey form clusters with roughly equal spacing on the log scale
Explanation
On a log plot, the indices cluster, and the vertical distances between cluster averages appear constant, indicating multiplicative spacing (roughly doubling).
- A
- 9
A logarithmic scale is one where the distance between successive what?
- A
Indices is constant
- B
Integers is constant
- C
Primes is constant
- D
Powers of a fixed base is equal
Correct answer
DPowers of a fixed base is equal
Explanation
On a log scale, the physical distance between numbers like 10 and 100 is the same as between 100 and 1000, i.e., equal spacing of logarithms.
- A
- 10
What doubling relation was observed among the primes in the sequence?
- A
Some primes satisfy 2p+1 equals the next prime in the sequence
- B
All primes satisfy 2p−1 equals the next prime
- C
Each prime is double the previous prime plus 1
- D
Primes appear in pairs that differ by 2
Correct answer
ASome primes satisfy 2p+1 equals the next prime in the sequence
Explanation
Examples like 2⋅5+1=11, 2⋅11+1=23, 2⋅23+1=47 show that some primes are related by 2p+1, but this pattern does not hold universally.
- A
- 11
According to the conjecture, if gcd(n,R(n−1))=1, what is the next nontrivial gcd?
- A
The smallest prime divisor of R(n−1)
- B
The largest prime divisor of 2n−1
- C
The smallest prime divisor of 2n−1
- D
The smallest prime divisor of n
Correct answer
CThe smallest prime divisor of 2n−1
Explanation
The conjecture states that the next nontrivial gcd equals the smallest prime divisor of 2n−1.
- A
- 12
If the next nontrivial gcd is predicted to be p, at what index does it appear?
- A
n+2p
- B
n+2p−1
- C
n+2p+1
- D
n+p
Correct answer
Bn+2p−1
Explanation
The conjecture says that the next nontrivial gcd p appears at index n+2p−1.
- A
- 13
What is the 'shortcut' enabled by the conjecture?
- A
It allows computing R(n) directly
- B
It predicts all primes in order
- C
It allows direct computation of each prime gcd without computing intermediate 1s
- D
It eliminates the need for the initial term
Correct answer
CIt allows direct computation of each prime gcd without computing intermediate 1s
Explanation
The shortcut uses the conjecture to jump from one prime gcd to the next, skipping over all the indices where the gcd is 1.
- A
- 14
What is the 'nice situation' that makes the shortcut work repeatedly?
- A
R(n)=n
- B
R(n)=n+1
- C
R(n)=2n
- D
R(n)=3n
Correct answer
DR(n)=3n
Explanation
When R(n)=3n, applying the shortcut leads to another index where the same relation holds, allowing iterative jumps.
- A
- 15
When R(n)=3n, what happens after applying the shortcut?
- A
The gcds become all 1
- B
We end up in another state where R(m)=3m for some m
- C
The sequence becomes constant
- D
The sequence terminates
Correct answer
BWe end up in another state where R(m)=3m for some m
Explanation
The shortcut preserves the relation R=3×index, so after each jump, we again have R(m)=3m for the new index m.
- A
- 16
What did the theorem prove about the sequence R(n)?
- A
It generates all odd numbers
- B
It grows quadratically
- C
It generates primes
- D
It eventually becomes periodic
Correct answer
CIt generates primes
Explanation
The theorem confirmed the conjecture: all nontrivial gcds are primes, so the recurrence generates primes.
- A
- 17
Is the recurrence R(n) a practical method for discovering large primes?
- A
No, because to use the shortcut one must already know the prime
- B
No, because the recurrence fails for large numbers
- C
Yes, but only for Mersenne primes
- D
Yes, it is faster than other methods
Correct answer
ANo, because to use the shortcut one must already know the prime
Explanation
The shortcut requires finding the smallest prime divisor of 2n−1; to find a large prime, one must first know it is prime, which defeats the purpose.
- A
- 18
Why do the primes appear in clusters?
- A
Because the initial term is 7
- B
Because composite 2n−1 gives short runs of 1s, while prime 2n−1 gives long runs, creating gaps
- C
Because primes naturally occur in clusters
- D
Because the recurrence skips primes
Correct answer
BBecause composite 2n−1 gives short runs of 1s, while prime 2n−1 gives long runs, creating gaps
Explanation
When 2n−1 is composite, its smallest prime divisor is small, so the number of 1s before the next gcd is short; when prime, the run is long, separating clusters.
- A
- 19
Which prime is conspicuously absent from the sequence of nontrivial gcds?
- A
2
- B
7
- C
3
- D
5
Correct answer
A2
Explanation
The smallest prime divisor of 2n−1 is always odd, so 2 never appears as a gcd.
- A
- 20
What is known about the set of primes generated by R(n)?
- A
All primes appear
- B
Only primes of the form 4k+1 appear
- C
Only primes less than 1000 appear
- D
Infinitely many distinct primes appear
Correct answer
DInfinitely many distinct primes appear
Explanation
Chamizo, Raboso, and Ruiz-Cabello proved that infinitely many distinct primes appear, though not all primes are known to appear.
- A
- 21
What happens if the initial term of R(n) is set to 1?
- A
The sequence becomes constant
- B
The sequence generates primes immediately
- C
The sequence is identical to starting with 7
- D
The sequence becomes 1,2,3,4,… and all gcds are 1
Correct answer
DThe sequence becomes 1,2,3,4,… and all gcds are 1
Explanation
With R(1)=1, R(2)=1+gcd(2,1)=2, R(3)=2+gcd(3,2)=3, etc., so R(n)=n and gcd(n,n−1)=1 always.
- A
- 22
If the initial term is 4, what eventually happens to the sequence R(n)?
- A
It becomes constant
- B
It generates only even numbers
- C
It matches the sequence starting with 7 from n=3 onward
- D
It remains different forever
Correct answer
CIt matches the sequence starting with 7 from n=3 onward
Explanation
Starting with 4 gives R(2)=6, R(3)=9, and from that point it coincides with the sequence starting with 7.
- A
- 23
What is the lcm variant C(n) defined as?
- A
C(n)=C(n−1)+n
- B
C(n)=C(n−1)+lcm(n,n−1)
- C
C(n)=C(n−1)+lcm(n,C(n−1))
- D
C(n)=C(n−1)+gcd(n,C(n−1))
Correct answer
CC(n)=C(n−1)+lcm(n,C(n−1))
Explanation
The variant replaces gcd with lcm: C(n)=C(n−1)+lcm(n,C(n−1)), typically with C(1)=1.
- A
- 24
In the lcm variant C(n), what is observed about (C(n)/C(n−1))−1?
- A
It is always prime or 1
- B
It is always prime
- C
It is always even
- D
It is always composite
Correct answer
AIt is always prime or 1
Explanation
Empirically, the value (C(n)/C(n−1))−1 appears to be either 1 or prime, but this has not been proven.
- A
- 25
What is the status of the conjecture about the lcm variant?
- A
It has been proven true
- B
It is known to be true for all n up to 106
- C
It has been proven false
- D
It is an open problem; no proof or counterexample known
Correct answer
DIt is an open problem; no proof or counterexample known
Explanation
No one has proved or disproved the pattern; Ruiz-Cabello linked it to a difficult open question about primes in arithmetic progressions.
- A
- 26
What did Ruiz-Cabello show about the lcm variant in 2015?
- A
It is related to an open question about primes in arithmetic progressions
- B
He proved the pattern holds for all n
- C
He found a counterexample
- D
He proved it generates only primes
Correct answer
AIt is related to an open question about primes in arithmetic progressions
Explanation
Ruiz-Cabello showed that proving the pattern would imply a result about primes in arithmetic progressions, a known difficult problem.
- A

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