The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A028754 Nonsquares mod 41. 1
 3, 6, 7, 11, 12, 13, 14, 15, 17, 19, 22, 24, 26, 27, 28, 29, 30, 34, 35, 38 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE x^2 = 7 mod 41 has no solutions, so 7 is in the sequence. x^2 = 8 mod 41 has the solutions x = 7 and x = 34. Hence 8 is not in the sequence. MATHEMATICA Complement[Range[40], PowerMod[Range[41], 2, 41]] (* Alonso del Arte, Jan 12 2017 *) PROG (Scala) (0 to 40).diff((1 to 41).map(n => n * n % 41)) // Alonso del Arte, May 01 2020 CROSSREFS Cf. A010402, A028795. Sequence in context: A258354 A164557 A292608 * A028795 A004780 A292046 Adjacent sequences:  A028751 A028752 A028753 * A028755 A028756 A028757 KEYWORD nonn,fini,full,easy AUTHOR STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 17 02:26 EDT 2021. Contains 343059 sequences. (Running on oeis4.)