cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A176137 Number of partitions of n into distinct Catalan numbers, cf. A000108.

Original entry on oeis.org

1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Reinhard Zumkeller, Apr 09 2010

Keywords

Comments

a(n) <= 1;
a(A000108(n)) = 1; a(A141351(n)) = 1; a(A014138(n)) = 1.
A197433 gives all such numbers k that a(k) = 1, in other words, this is the characteristic function of A197433, and all three sequences mentioned above are its subsequences. - Antti Karttunen, Jun 25 2014

Examples

			56 = 42+14 = A000108(5)+A000108(4), all other sums of distinct Catalan numbers are not equal 56, therefore a(56)=1.
		

Crossrefs

When right-shifted (prepended with 1) this sequence is the first differences of A244230.

Programs

Formula

a(n) = f(n,1,1) with f(m,k,c) = if c>m then 0^m else f(m-c,k+1,c') + f(m,k+1,c') where c'=2*c*(2*k+1)/(k+2).