login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A054017
Chowla's function of n modulo n is a square (excluding 0's).
3
14, 20, 39, 40, 46, 55, 80, 94, 100, 104, 117, 130, 155, 158, 183, 190, 200, 203, 291, 292, 295, 299, 320, 323, 334, 416, 430, 446, 464, 475, 488, 530, 539, 549, 567, 579, 583, 638, 650, 695, 718, 799, 873, 878, 890, 943, 955, 959, 964, 979, 1030, 1118
OFFSET
1,1
COMMENTS
Chowla's function (A048050) = sum of divisors of n except 1 and n.
LINKS
MATHEMATICA
aQ[n_] := (c = DivisorSigma[1, n] - n - 1) > 0 && IntegerQ @ Sqrt @ Mod[c, n]; Select[Range[1000], aQ] (* Amiram Eldar, Aug 28 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Asher Auel, Jan 19 2000
STATUS
approved