Recamán Sequence
- Author:
- Elliot Malkin
- Topic:
- Geometry, Sequences and Series
The sequence is defined as follows:
- The first term is 0
- The jumps to each subsequent term are 1, 2, 3, 4, ...
- These jumps might be forwards or backwards
- If a jump backwards gives a positive term that hasn't yet been in the sequence, jump backwards
- If a backwards jump would give a negative term or a repeated term, jump forwards