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

%I #5 Oct 23 2012 00:58:59

%S 0,1,3,6,10,15,5,12,4,13,7,2,14,11,9,8,8,9,11,14,2,7,13,4,12,5,15,10,

%T 6,3,1,0,0,1,3,6,10,15,5,12,4,13,7,2,14,11,9,8,8,9,11,14,2,7,13,4,12,

%U 5,15,10,6,3,1,0,0,1,3,6,10,15,5,12,4,13,7,2,14,11,9,8,8,9,11,14,2,7,13,4,12

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

%C Triangular numbers mod 16. - _Harvey P. Dale_, Oct 12 2012

%t Mod[#,16]&/@Accumulate[Range[0,90]] (* _Harvey P. Dale_, Oct 12 2012 *)

%Y See A105198 for further information.

%K nonn

%O 0,3

%A _Oscar Takeshita_, May 01 2005