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!)
A028727 Nonsquares mod 14. 1
3, 5, 6, 10, 12, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Since 6 is not a perfect square and there are no solutions to x^2 = 6 mod 14 in integers, 6 is in the sequence.
Although 7 is not a perfect square either, there are solutions to x^2 = 7 mod 14, namely odd multiples of 7. Thus 7 is not in the sequence.
MATHEMATICA
Complement[Range[0, 13], PowerMod[Range[14], 2, 14]] (* Alonso del Arte, Dec 14 2019 *)
PROG
(Scala) (0 to 13).diff((1 to 14).map(n => (n * n) % 14)) // Alonso del Arte, Dec 14 2019
CROSSREFS
Cf. A010377.
Sequence in context: A187126 A065873 A072282 * A257346 A047327 A028927
KEYWORD
nonn,fini,full
AUTHOR
EXTENSIONS
Incorrect term 7 removed by Alonso del Arte, Dec 14 2019
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 May 11 14:30 EDT 2024. Contains 372409 sequences. (Running on oeis4.)