OFFSET
1,1
MAPLE
a := proc(n) option remember; `if`(n < 4, 1,
abs(a(n - 1) - a(Bits:-Iff(n - 2$2) + 3 - n)))
end:
seq(a(n), n = 1..90); # Petros Hadjicostas, Nov 08 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Name edited by Petros Hadjicostas, Nov 08 2019
STATUS
approved