A105337 a(n) = n*(n+1)/2 mod 256.
0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120, 136, 153, 171, 190, 210, 231, 253, 20, 44, 69, 95, 122, 150, 179, 209, 240, 16, 49, 83, 118, 154, 191, 229, 12, 52, 93, 135, 178, 222, 11, 57, 104, 152, 201, 251, 46, 98, 151, 205, 4, 60, 117, 175, 234, 38, 99
Offset: 0
Keywords
Links
Crossrefs
See A105198 for further information.
Programs
-
Mathematica
Mod[Accumulate[Range[0,70]],256] (* Harvey P. Dale, Nov 20 2020 *)
Comments