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!)
A054015 a(n) is Chowla function of n read modulo (number of proper divisors of n), a(1) = 0 by convention. 5
0, 0, 0, 0, 0, 2, 0, 0, 1, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 2, 0, 6, 0, 0, 2, 1, 0, 6, 0, 0, 1, 0, 0, 4, 0, 4, 2, 1, 0, 3, 1, 2, 2, 0, 0, 2, 1, 0, 1, 1, 0, 8, 0, 0, 0, 2, 0, 0, 0, 2, 2, 3, 0, 1, 0, 0, 3, 3, 0, 5, 0, 6, 3, 1, 0, 7, 1, 0, 2, 0, 0, 0, 2, 0, 1, 1, 0, 1, 0, 2, 1, 4, 0, 1, 0, 0, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Chowla's function (A048050) = sum of divisors of n except 1 and n.
LINKS
FORMULA
a(1) = 0; for n > 1, a(n) = A048050(n) mod A032741(n).
MAPLE
with(numtheory): [seq((sigma(i)-i-1) mod (tau(i)-1), i=2..120); #i>1
PROG
(PARI) A054015(n) = if(1==n, 0, ((sigma(n)-n-1) % (numdiv(n)-1))); \\ Antti Karttunen, Oct 20 2017
CROSSREFS
Sequence in context: A226350 A112609 A134363 * A369164 A370815 A056137
KEYWORD
nonn
AUTHOR
Asher Auel, Jan 17 2000
EXTENSIONS
Description clarified by Antti Karttunen, Oct 20 2017
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 April 24 08:59 EDT 2024. Contains 371935 sequences. (Running on oeis4.)