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”).

a(n) = n*(n+1)/2 mod 128.
0

%I #5 Oct 16 2013 16:38:21

%S 0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,8,25,43,62,82,103,125,

%T 20,44,69,95,122,22,51,81,112,16,49,83,118,26,63,101,12,52,93,7,50,94,

%U 11,57,104,24,73,123,46,98,23,77,4,60,117,47,106,38,99,33,96,32,97,35,102,42

%N a(n) = n*(n+1)/2 mod 128.

%t Mod[Accumulate[Range[0,70]],128] (* _Harvey P. Dale_, Oct 16 2013 *)

%Y See A105198 for further information.

%K nonn

%O 0,3

%A _Oscar Takeshita_, May 01 2005