%I #19 Dec 22 2019 03:35:41
%S 0,1,3,4,5,9,11,12,14,15,16,20
%N Squares mod 22.
%t Union[PowerMod[Range[22], 2, 22]] (* _Alonso del Arte_, Dec 22 2019 *)
%o (Sage) [quadratic_residues(22)] # _Zerinvary Lajos_, May 24 2009
%o (Scala) (1 to 22).map(n => (n * n) % 22).toSet.toSeq.sorted // _Alonso del Arte_, Dec 22 2019
%Y Row 22 of A096008.
%Y Cf. A028735.
%K nonn,fini,full,easy
%O 1,3
%A _N. J. A. Sloane_
|