A068908 Number of partitions of n modulo 5.
1, 1, 2, 3, 0, 2, 1, 0, 2, 0, 2, 1, 2, 1, 0, 1, 1, 2, 0, 0, 2, 2, 2, 0, 0, 3, 1, 0, 3, 0, 4, 2, 4, 3, 0, 3, 2, 2, 0, 0, 3, 3, 4, 1, 0, 4, 3, 4, 3, 0, 1, 3, 4, 1, 0, 1, 3, 4, 0, 0, 2, 0, 1, 4, 0, 3, 0, 4, 0, 0, 3, 0, 3, 4, 0, 4, 1, 3, 4, 0, 1, 2, 0, 4, 0, 2, 2, 3, 4, 0, 3, 4, 2, 2, 0, 4, 4, 0, 1, 0, 2, 1, 4, 0, 0
Offset: 0
Keywords
Links
Programs
-
Mathematica
Mod[PartitionsP[Range[0,110]],5] (* Harvey P. Dale, Dec 20 2023 *)
-
PARI
a(n) = numbpart(n) % 5; \\ Michel Marcus, Jul 14 2022
Comments