OFFSET

1,3

COMMENTS

EXAMPLE

PROG

(PARI) a(n) = {my(t=n*(n+1)/2, k = n+1); while(t >= k, t -= k; k++); t; } \\ Michel Marcus, Aug 16 2019

CROSSREFS

KEYWORD

nonn

AUTHOR

Bob Andriesse, Aug 13 2019

STATUS

approved