A105336 a(n) = n*(n+1)/2 mod 128.
0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120, 8, 25, 43, 62, 82, 103, 125, 20, 44, 69, 95, 122, 22, 51, 81, 112, 16, 49, 83, 118, 26, 63, 101, 12, 52, 93, 7, 50, 94, 11, 57, 104, 24, 73, 123, 46, 98, 23, 77, 4, 60, 117, 47, 106, 38, 99, 33, 96, 32, 97, 35, 102, 42
Offset: 0
Keywords
Links
Crossrefs
See A105198 for further information.
Programs
-
Mathematica
Mod[Accumulate[Range[0,70]],128] (* Harvey P. Dale, Oct 16 2013 *)
Comments