0,5

Table of n, a(n) for n=0..99.

a(7) = 3: A002024(7) = 4 and 7 mod 4 = 3.

Table[Mod[n, Floor[1/2+Sqrt[2n]]], {n, 100}] (* Harvey P. Dale, Feb 09 2013 *)

Cf. A002024.

Sequence in context: A160271 A274912 A065134 * A236138 A035614 A212138

Adjacent sequences: A088670 A088671 A088672 * A088674 A088675 A088676

nonn,easy

Gary W. Adamson, Oct 04 2003

Corrected and extended by Ray Chandler, Oct 04 2003

approved