

A114092


Number of partitions of n into parts that are distinct mod 4.


0



1, 1, 2, 2, 3, 3, 5, 4, 6, 7, 9, 7, 10, 14, 14, 11, 15, 25, 20, 16, 21, 41, 27, 22, 28, 63, 35, 29, 36, 92, 44, 37, 45, 129, 54, 46, 55, 175, 65, 56, 66, 231, 77, 67, 78, 298, 90, 79, 91, 377
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


LINKS

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


EXAMPLE

a(5)=3 because there are 3 such partition of 5: {5}, {2,3}, {1,4}.


MATHEMATICA

<< DiscreteMath`Combinatorica`; np[n_]:= Length@Select[Mod[ #, 4]& /@ Partitions[n], (Length@# != Length@Union@#)&]; lst = Array[np, 50]


CROSSREFS

Sequence in context: A248519 A326670 A307993 * A082500 A194451 A059292
Adjacent sequences: A114089 A114090 A114091 * A114093 A114094 A114095


KEYWORD

nonn


AUTHOR

Giovanni Resta, Feb 06 2006


STATUS

approved



