(Translated by https://www.hiragana.jp/)
A105338 - OEIS
login
A105338
a(n) = n*(n+1)/2 mod 512.
0
0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120, 136, 153, 171, 190, 210, 231, 253, 276, 300, 325, 351, 378, 406, 435, 465, 496, 16, 49, 83, 118, 154, 191, 229, 268, 308, 349, 391, 434, 478, 11, 57, 104, 152, 201, 251, 302, 354, 407, 461, 4, 60, 117, 175, 234
OFFSET
0,3
MATHEMATICA
Mod[#, 512]&/@Accumulate[Range[0, 60]] (* Harvey P. Dale, Dec 01 2018 *)
CROSSREFS
See A105198 for further information.
Sequence in context: A105336 A130910 A105337 * A105339 A089594 A253145
KEYWORD
nonn
AUTHOR
Oscar Takeshita, May 01 2005
STATUS
approved