login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028730 Nonsquares mod 17. 4
3, 5, 6, 7, 10, 11, 12, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers n such that x^2 == n mod 17 has no solution.
LINKS
MATHEMATICA
p = 17; Complement[Range[p - 1], Union[Mod[Range[(p - 1)/2]^2, p]]] (* Harvey P. Dale, Apr 26 2011 *)
Select[Range[0, 16], JacobiSymbol[#, 17] == -1 &] (* Alonso del Arte, Dec 17 2019 *)
PROG
(Scala) (0 to 16).diff((1 to 17).map(n => (n * n) % 17)) // Alonso del Arte, Dec 17 2019
CROSSREFS
Sequence in context: A335657 A038550 A204232 * A028747 A136806 A253550
KEYWORD
nonn,fini,full
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)