The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A231167 a(1) = a(2) = 0, for n>=3: (sum of non-divisors of n) modulo (number of non-divisors of n). 4
0, 0, 0, 0, 0, 1, 0, 1, 2, 1, 0, 2, 0, 1, 8, 6, 0, 0, 0, 0, 12, 1, 0, 0, 8, 1, 16, 20, 0, 19, 0, 23, 20, 1, 24, 8, 0, 1, 24, 26, 0, 25, 0, 32, 21, 1, 0, 26, 18, 38, 32, 38, 0, 31, 40, 36, 36, 1, 0, 30, 0, 1, 31, 15, 48, 37, 0, 50, 44, 47, 0, 33, 0, 1, 35, 56 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
a(n) = 0 for n = 1, 2 and numbers from A140826.
a(n) = 1 for numbers of form 2*p (p=prime) from A100484 and other numbers, e.g. 8 and 13456 are only numbers n < 10^5 which are not of form 2*p with a(n) = 1.
LINKS
FORMULA
a(n) = A024816(n) mod A049820(n).
EXAMPLE
For n=6, a(6) = A024816(6) mod A049820(6) = 9 mod 2 = 1.
MATHEMATICA
ndn[n_]:=Module[{nd=Complement[Range[n], Divisors[n]]}, Mod[Total[ nd], Length[ nd]]]; Join[{0, 0}, Array[ndn, 80, 3]] (* Harvey P. Dale, Apr 11 2022 *)
CROSSREFS
Cf. A054025 (sigma(n) mod tau(n)), A024816, A049820, A024816, A049820, A065091, A230605, A161344.
Sequence in context: A348128 A328777 A244553 * A194313 A127476 A140397
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Nov 07 2013
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 June 9 08:35 EDT 2024. Contains 373231 sequences. (Running on oeis4.)