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
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved