login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035535 Number of partitions of n with equal number of parts congruent to each of 0 and 2 (mod 3) 0
1, 1, 1, 1, 2, 3, 3, 4, 7, 8, 10, 14, 18, 22, 29, 37, 47, 58, 73, 91, 113, 140, 174, 211, 260, 319, 386, 468, 572, 687, 828, 998, 1197, 1431, 1714, 2041, 2430, 2887, 3424, 4051, 4792, 5651, 6659, 7829, 9199, 10786, 12631, 14770, 17258, 20120, 23444, 27278 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Table of n, a(n) for n=0..51.

MATHEMATICA

equalQ[partit_] := Total[Switch[Mod[#, 3], 0, -1, 1, 0, 2, 1]& /@ partit] == 0; a[n_] := Select[IntegerPartitions[n] , equalQ] // Length; Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 0, 51}] (* Jean-François Alcover, Dec 07 2016 *)

CROSSREFS

Sequence in context: A114863 A152980 A170891 * A154309 A249579 A140514

Adjacent sequences:  A035532 A035533 A035534 * A035536 A035537 A035538

KEYWORD

nonn

AUTHOR

Olivier Gérard

EXTENSIONS

More terms from David W. Wilson

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 November 18 09:46 EST 2019. Contains 329261 sequences. (Running on oeis4.)