login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063514 a(n) = sigma(n) mod phi(n). 6
0, 0, 0, 1, 2, 0, 2, 3, 1, 2, 2, 0, 2, 0, 0, 7, 2, 3, 2, 2, 8, 6, 2, 4, 11, 6, 4, 8, 2, 0, 2, 15, 8, 6, 0, 7, 2, 6, 8, 10, 2, 0, 2, 4, 6, 6, 2, 12, 15, 13, 8, 2, 2, 12, 32, 0, 8, 6, 2, 8, 2, 6, 32, 31, 36, 4, 2, 30, 8, 0, 2, 3, 2, 6, 4, 32, 36, 0, 2, 26, 13, 6, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,5

COMMENTS

If a(n)=0, then n is a balanced number (A020492).

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..2000

FORMULA

a(p^2) = 2*p+1, for prime p>=5. - Michel Marcus, Apr 07 2020

MAPLE

with(numtheory);

A063514:=proc(q)

local n; for n from 1 to q do print(sigma(n) mod phi(n)); od; end:

A063514(1000000); # Paolo P. Lava, Jan 31 2013

PROG

(PARI) { for (n=1, 2000, write("b063514.txt", n, " ", sigma(n)%eulerphi(n)) ) } \\ Harry J. Smith, Aug 24 2009

(MAGMA) [SumOfDivisors(n) mod EulerPhi(n): n in [1..85]]; // Bruno Berselli, Jan 31 2013

CROSSREFS

Cf. A000010, A000203, A020492, A023897.

Sequence in context: A073450 A284592 A071447 * A082490 A328591 A210635

Adjacent sequences:  A063511 A063512 A063513 * A063515 A063516 A063517

KEYWORD

nonn

AUTHOR

Labos Elemer, Jul 31 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 25 11:27 EDT 2020. Contains 334592 sequences. (Running on oeis4.)