0,3

Period 4096. - Charles R Greathouse IV, Oct 16 2012

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

Mod[Accumulate[Range[0, 70]], 2048] (* Harvey P. Dale, Sep 18 2019 *)

(PARI) a(n)=n*(n+1)/2%2048 \\ Charles R Greathouse IV, Oct 16 2012

See A105198 for further information.

Sequence in context: A253145 A161680 A000217 * A176659 A109811 A025747

Adjacent sequences: A105337 A105338 A105339 * A105341 A105342 A105343

nonn,easy

Oscar Takeshita, May 01 2005

Removed formulas that were wrong at indices >= 65 because the "mod 2048" part of the definition had been ignored R. J. Mathar, Jan 26 2010

approved