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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
a(A003601(n)) = 1; a(A049642(n)) = 0.
LINKS
FORMULA
a(n) = A000007(A054025(n)).
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

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 9 07:04 EDT 2024. Contains 372346 sequences. (Running on oeis4.)