1. Home
  2. Explore
  3. Mathematics
  4. Prime Generating Recurrence

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Prime Generating Recurrence

  • 23Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Sequence Definition
The recurrence that generates primes is defined as R(n)=R(n−1)+gcd⁡(n,R(n−1))R(n) = R(n-1) + \gcd(n, R(n-1))R(n)=R(n−1)+gcd(n,R(n−1)), with the initial term $R(1) =
$.

23 questions

  1. 1
    The recurrence that generates primes is defined as R(n)=R(n−1)+gcd⁡(n,R(n−1))R(n) = R(n-1) + \gcd(n, R(n-1))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

  2. 2
    Unlike the Fibonacci recurrence, the recurrence for R(n)R(n)R(n) depends on only one previous term, not
    _____
    .
    Hint

    Consider how many initial terms are needed for each sequence.

    Answer

    two

  3. 3
    In the sequence R(n)R(n)R(n), when gcd⁡(n,R(n−1))=1\gcd(n, R(n-1)) = 1gcd(n,R(n−1))=1, the sequence increases by
    _____
    .
    Hint

    This is the 'boring' behavior that occurs most of the time.

    Answer

    1

  4. 4
    All nontrivial gcds (those not equal to 1) in the sequence R(n)R(n)R(n) are
    _____
    .
    Hint

    This was the surprising discovery about the sequence.

    Answer

    prime

  5. 5
    On a logarithmic plot of the indices where primes appear, the primes form
    _____
    .
    Hint

    They are not evenly spaced but group together.

    Answer

    clusters

  6. 6
    The ratio of consecutive cluster averages on the log plot is approximately
    _____
    .
    Hint

    This constant factor determines the spacing between clusters.

    Answer

    2

  7. 7
    The first prime in a cluster is given by 2n−12n - 12n−1, where nnn is the index of the
    _____
    .
    Hint

    Think about the relationship between the index of the previous prime and the next prime.

    Answer

    previous prime

  8. 8
    Within a cluster, the prime gcd at index nnn is the smallest
    _____
    of 2n−12n-12n−1.
    Hint

    Consider the prime factorization of 2n−12n-12n−1.

    Answer

    prime divisor

  9. 9
    If the smallest prime divisor of 2n−12n-12n−1 is ppp, then the next nontrivial gcd appears after iii steps, where $i =
    _____
    $.
    Hint

    This formula relates the step count to the prime itself.

    Answer

    (p−1)/2(p-1)/2(p−1)/2

  10. 10
    The key invariant that allows the recurrence to generate primes is that whenever a prime appears, the value R(n)R(n)R(n) equals
    _____
    times nnn.
    Hint

    This multiple is constant and plays a crucial role in the proof.

    Answer

    3

  11. 11
    The conjecture about the recurrence generating primes is now a proven
    _____
    .
    Hint

    It has been mathematically established.

    Answer

    theorem

  12. 12
    The recurrence is not an efficient method for discovering large primes because the shortcut requires testing whether 2n−12n-12n−1 is
    _____
    .
    Hint

    The shortcut relies on knowing the primality of a number.

    Answer

    prime

  13. 13
    Clusters occur because when 2n−12n-12n−1 is prime, the run of 1s before the next prime has length
    _____
    .
    Hint

    This is much longer than for composite 2n−12n-12n−1.

    Answer

    n−1n-1n−1

  14. 14
    The prime 2 never appears as a gcd in the sequence because 2n−12n-12n−1 is always
    _____
    .
    Hint

    Parity determines whether 2 could be a divisor.

    Answer

    odd

  15. 15
    In 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

  16. 16
    In every cluster of primes, the second prime is always
    _____
    .
    Hint

    This prime appears right after the first prime in each cluster.

    Answer

    3

  17. 17
    If the initial term is 1, the sequence R(n)R(n)R(n) becomes R(n)=nR(n) = nR(n)=n, and all gcds are
    _____
    .
    Hint

    This makes the sequence trivial.

    Answer

    1

  18. 18
    Starting with initial term 4, the sequence eventually matches the sequence starting with
    _____
    .
    Hint

    After a few steps, the two sequences become identical.

    Answer

    7

  19. 19
    For 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

  20. 20
    It is an open question whether every initial term ≥4\geq 4≥4 eventually reaches the state R(n)=3nR(n) = 3nR(n)=3n; this has not been
    _____
    .
    Hint

    The answer is about the status of this statement.

    Answer

    proved

  21. 21
    In Cloitre's variant, the sequence is defined by C(n)=C(n−1)+lcm⁡(n,C(n−1))C(n) = C(n-1) + \operatorname{lcm}(n, C(n-1))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

  22. 22
    For the lcm variant, the quantity C(n)C(n−1)−1\frac{C(n)}{C(n-1)} - 1C(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

  23. 23
    The 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

1 of 23
Question 1 of 23

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent