OFFSET
1,3
EXAMPLE
48 is in the sequence since x^2 = 48 mod 88 has the solutions x = 20, 24, 64, 68.
49 = 7^2 and is thus obviously in the sequence.
There are no solutions to x^2 = 50 mod 88, so 50 is not in the sequence.
MATHEMATICA
Union[PowerMod[Range[88], 2, 88]] (* Alonso del Arte, Apr 05 2017 *)
PROG
(Sage) [quadratic_residues(88)] # Zerinvary Lajos, May 28 2009
(Scala) (1 to 88).map(n => (n * n) % 88).toSet.toSeq.sorted // Alonso del Arte, Dec 22 2019
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved