cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A060037 Triangular array T read by rows: T(n,k)=k^2 mod n, for k=1,2,...,[n/2], n=2,3,...

This page as a plain text file.
%I A060037 #11 Nov 21 2013 12:47:27
%S A060037 1,1,1,0,1,4,1,4,3,1,4,2,1,4,1,0,1,4,0,7,1,4,9,6,5,1,4,9,5,3,1,4,9,4,
%T A060037 1,0,1,4,9,3,12,10,1,4,9,2,11,8,7,1,4,9,1,10,6,4,1,4,9,0,9,4,1,0,1,4,
%U A060037 9,16,8,2,15,13,1,4,9,16,7,0,13,10,9,1,4,9,16,6,17,11,7,5,1,4,9,16,5,16
%N A060037 Triangular array T read by rows: T(n,k)=k^2 mod n, for k=1,2,...,[n/2], n=2,3,...
%H A060037 T. D. Noe, <a href="/A060037/b060037.txt">Rows n=2..100 of triangle, flattened</a>
%e A060037 1; 1; 1,0; 1,4; 1,4,3; 1,4,2; ...
%t A060037 Flatten[Table[PowerMod[k,2,n],{n,2,20},{k,Floor[n/2]}]] (* _Harvey P. Dale_, Mar 05 2012 *)
%Y A060037 Cf. A048152, A060036.
%K A060037 nonn,tabf,easy,nice
%O A060037 2,6
%A A060037 _N. J. A. Sloane_, Mar 17 2001
%E A060037 More terms from Larry Reeves (larryr(AT)acm.org), Mar 20 2001