Trying to define a way to generate the terms of a sequence, and starting with the number 5, I found, surprisingly, that the way I used generated this sequence:
5, 8, 11, 5, 8, 11, 5, 8, 11, ...
And these 3 numbers repeat in this order indefinitely.
Define a simple way to generate this sequence.
(In reply to to the question posed in the official solution (spoiler)
Ty for your work, Charlie. The conjecture is mine, occurred when I decided to make a change in a problem, slightly different from this one.
Posted by pcbouhid
on 2009-03-11 18:11:41