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!)
A323152 a(n) = 1 if sigma(n) is divisible by all proper divisors of n, 0 otherwise. 2
1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
Characteristic function of A166070.
Differs from A323153 at positions n = 1, 120, 672, 30240, 32760, ...
LINKS
MATHEMATICA
Table[If[AllTrue[DivisorSigma[1, n]/Most[Divisors[n]], IntegerQ], 1, 0], {n, 150}] (* Harvey P. Dale, Mar 06 2023 *)
PROG
(PARI) A323152(n) = { my(s=sigma(n)); fordiv(n, d, if((d<n)&&(s%d), return(0))); (1); };
CROSSREFS
Sequence in context: A188318 A361897 A189206 * A192280 A342005 A354355
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 09 2019
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 8 08:13 EDT 2024. Contains 372319 sequences. (Running on oeis4.)