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!)
A028736 Nonsquares mod 23. 3
5, 7, 10, 11, 14, 15, 17, 19, 20, 21, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
REFERENCES
Srinivasa Ramanujan, Collected Papers, Ed. G. H. Hardy et al., Cambridge 1927; Chelsea, NY, 1962. See "Congruence properties of partitions", p. 230. - N. J. A. Sloane, Jun 01 2014
LINKS
George E. Andrews, James A. Sellers, Congruences for the Fishburn Numbers, arXiv preprint arXiv:1401.5345 [math.NT], 2014.
EXAMPLE
Since 11 is not a perfect square and there are no solutions to x^2 = 11 mod 23, 11 is in the sequence.
Although 12 is not a perfect square either, there are solutions to x^2 = 12 mod 23, such as x = 9, x = 14. Thus 12 is not in the sequence.
MATHEMATICA
Select[Range[22], JacobiSymbol[#, 23] != 1 &] (* Jean-François Alcover, Oct 07 2018 *)
PROG
(Scala) val squaresMod23 = (0 to 22).map(n => n * n).map(_ % 23)
(0 to 22).diff(squaresMod23) // Alonso del Arte, Nov 23 2019
CROSSREFS
Sequence in context: A063547 A064479 A056818 * A028759 A278579 A088707
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 August 11 10:58 EDT 2024. Contains 375068 sequences. (Running on oeis4.)