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

n^2 modulo 17.
2

%I #18 Apr 06 2016 18:04:25

%S 0,1,4,9,16,8,2,15,13,13,15,2,8,16,9,4,1,0,1,4,9,16,8,2,15,13,13,15,2,

%T 8,16,9,4,1,0,1,4,9,16,8,2,15,13,13,15,2,8,16,9,4,1,0,1,4,9,16,8,2,15,

%U 13,13,15,2,8,16,9,4,1,0,1,4,9,16,8,2,15,13,13,15,2,8,16,9,4,1,0,1,4,9

%N n^2 modulo 17.

%t Table[Mod[n^2,17],{n,0,200}] (* _Vladimir Joseph Stephan Orlovsky_, Apr 23 2011 *)

%t PowerMod[Range[0,90],2,17] (* _Harvey P. Dale_, Aug 16 2012 *)

%o (PARI) a(n)=n^2%17 \\ _Charles R Greathouse IV_, Apr 06 2016

%Y Cf. A070439, A070440, A070441.

%K nonn,easy

%O 0,3

%A Stuart M. Ellerstein (ellerstein(AT)aol.com), Apr 11 2000

%E More terms from _James A. Sellers_, Apr 12 2000