The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A028785 Nonsquares mod 72. 1
2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
x^2 = 27 mod 72 has no solutions, so 27 is in the sequence.
x^2 = 28 mod 72 has the following solutions: x = 10, x = 26, x = 46, x = 62. So 28 is not in the sequence.
MATHEMATICA
Complement[Range[71], PowerMod[Range[71], 2, 72]] (* Alonso del Arte, Jan 14 2017 *)
PROG
(Scala) (0 to 71).diff((1 to 72).map(n => (n * n) % 72)) // Alonso del Arte, Dec 24 2019
CROSSREFS
Cf. A010433.
Sequence in context: A028761 A028809 A337533 * A166546 A167759 A028812
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 04:28 EDT 2024. Contains 372666 sequences. (Running on oeis4.)