login
A245656
Characteristic function of arithmetic numbers, cf. A003601.
12
1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1
OFFSET
1
LINKS
Paul T. Bateman, Paul Erdős, Carl Pomerance, and E. G. Straus, The arithmetic mean of the divisors of an integer, in: Marvin I. Knopp (ed.), Analytic number theory, Proceedings of a Conference Held at Temple University, Philadelphia, May 12-15, 1980, Lecture Notes in Mathematics, Vol. 899, Springer-Verlag, 1981, pp. 197-220; alternative link.
Wikipedia, Arithmetic number.
FORMULA
a(n) = A000007(A054025(n)).
a(A003601(n)) = 1; a(A049642(n)) = 0.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 1 (Bateman et al., 1981) . - Amiram Eldar, Dec 28 2024
MATHEMATICA
a[n_] := Boole[IntegerQ[Mean[Divisors[n]]]];
Array[a, 105] (* Jean-François Alcover, Dec 02 2021 *)
PROG
(Haskell)
a245656 = (0 ^) . a054025 :: (Integral a, Integral t) => a -> t
(PARI) A245656(n) = !(sigma(n)%numdiv(n)); \\ Antti Karttunen, Dec 24 2018
CROSSREFS
Cf. A003601, A049642, A054025, A000007, A069928 (partial sums).
Cf. also A176801.
Sequence in context: A004593 A094934 A245837 * A354032 A285625 A283966
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 28 2014
EXTENSIONS
More terms from Antti Karttunen, Dec 24 2018
STATUS
approved