login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A105334
a(n) = n*(n+1)/2 mod 32.
0
0, 1, 3, 6, 10, 15, 21, 28, 4, 13, 23, 2, 14, 27, 9, 24, 8, 25, 11, 30, 18, 7, 29, 20, 12, 5, 31, 26, 22, 19, 17, 16, 16, 17, 19, 22, 26, 31, 5, 12, 20, 29, 7, 18, 30, 11, 25, 8, 24, 9, 27, 14, 2, 23, 13, 4, 28, 21, 15, 10, 6, 3, 1, 0, 0, 1, 3, 6, 10, 15, 21, 28, 4, 13, 23, 2, 14, 27, 9, 24
OFFSET
0,3
MATHEMATICA
Mod[Accumulate[Range[0, 80]], 32] (* Harvey P. Dale, Sep 01 2017 *)
CROSSREFS
See A105198 for further information.
Sequence in context: A061786 A171971 A184009 * A249736 A371473 A130486
KEYWORD
nonn
AUTHOR
Oscar Takeshita, May 01 2005
STATUS
approved