luke(@luke_shannon_) 's Twitter Profile Photo

a(0) = 0; for n > 0, a(n) = a(n-1) - n if nonnegative and not already in the sequence, otherwise a(n) = a(n-1) + n.

account_circle