PUZZLE IBM-277
Fibonacci-like sequence with no primes
IBM Research · Ponder This · 2021-05
IBM Ponder This #277 · May 2021
The Fibonacci sequence is defined by
We call any sequence
The Fibonacci sequence contains many prime numbers. For instance,
The main step in the generation is finding a set [(p_1, m_1, a_1), (p_2, m_2, a_2),..., (p_t, m_t, a_t)] of triplets of the form (p_k, m_k, a_k) such that:1.
Given this set, one can generate
and one can prove that this sequence does not contain any primes by using the following easy-to-prove identity, which holds for any Fibonacci-like sequence:
Your goal is to find the set [(p_1, m_1, a_1),..., (p_t, m_t, a_t)] of triplets satisfying conditions 1-4 described above. (Hint: A set of 18 elements exists where the only primes dividing its
A bonus "*" will be given for computing
Solution
Best opened after a real attemptTo be added.