OFFSET
1,1
COMMENTS
FORMULA
a(n) = -1 + position of the n-th negative integer in the sequence A131389=(0,1,2,-1,3,4,-2,-3,6,-4,5,...)
EXAMPLE
The 5th negative integer to occur in A131391 is -5, which occurs in position 13, so that a(5)=13-1=12.
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jul 06 2007
STATUS
approved