OFFSET
1,1
COMMENTS
Expression for k(n): k(n) = 4*ceiling(n/2) + (-1)^n, so the parity of n gives us the congruence (mod 4) of k(n). - Daniel Forgues, Mar 01 2009
LINKS
Daniel Forgues, Table of n, a(n) for n = 1..49999
CROSSREFS
KEYWORD
sign
AUTHOR
Daniel Forgues, Feb 13 2009, Feb 14 2009
STATUS
approved