OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..8192
EXAMPLE
The first four terms are 1, 2, 4, 3. Hence the next four terms are (1+3, 2+3, 4+3, 3+3) taken in reverse order, that is: 6, 7, 5, 4.
MATHEMATICA
Nest[Join[#, Reverse[#] + #[[-1]]] &, {1, 2}, 6]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ivan Neretin, Dec 07 2024
STATUS
approved
