A105338 a(n) = n*(n+1)/2 mod 512.
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
Keywords
Links
Crossrefs
See A105198 for further information.
Programs
-
Mathematica
Mod[#,512]&/@Accumulate[Range[0,60]] (* Harvey P. Dale, Dec 01 2018 *)
Comments