OFFSET
1,1
FORMULA
EXAMPLE
a(6)=3 since -2 + (-1 mod 1) + (-1 mod 2) + (-2 mod 3) + (-6 mod 4) + (-24 mod 5) + (-120 mod 6) = -2 + 0 + 1 + 1 + 2 + 1 + 0 = 3.
CROSSREFS
KEYWORD
sign
AUTHOR
Henry Bottomley, Apr 12 2001
STATUS
approved