OFFSET
0,1
FORMULA
a(n) = [(n + 1)/(1 - 1/r) - [n - n/r]] with r and [] as in the name.
MAPLE
a := n -> floor((n + 1)/(1 - 1/r)) - floor(n - n/r): seq(a(n), n = 0..58);
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Aug 31 2022
STATUS
approved