1,6

The remainder of (the total number of parts in all partitions of n) mod n.

Table of n, a(n) for n=1..82.

a(1)=0=1 mod 1. a(2)=1=3 mod 2. a(3)=0=6 mod 3. a(4)=0=12 mod 4. a(5)=0=20 mod 5. a(6)=5=35 mod 6.

Cf. A000041, A006128, A076276.

Sequence in context: A198585 A224093 A193555 * A346962 A258072 A091284

Adjacent sequences: A161978 A161979 A161980 * A161982 A161983 A161984

nonn

Juri-Stepan Gerasimov, Jun 23 2009

Edited, a 3 inserted, and extended by R. J. Mathar, Aug 02 2009

approved