OFFSET
0,4
EXAMPLE
a(7) = 5 because we have [7], [6, 1], [5, 2], [2, 5] and [1, 6].
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 29 2020
STATUS
approved