OFFSET
0,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..10001
FORMULA
If n = 3k-1 then a(n) = a(k), otherwise a(n) = n.
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 31 2017
STATUS
approved