login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A010058
1 if n is a Catalan number else 0.
3
0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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
OFFSET
0,1
COMMENTS
a(A000108(n)) = 1, a(A092459(n)) = 0. - Reinhard Zumkeller, Mar 29 2011
FORMULA
a(n) = abs(sgn(n - sup((2*k)!/(k!*(k + 1)!))) - 1), for n - (2*k)!/(k!*(k + 1)!) >= 0. - Ilya Gutkovskiy, Sep 27 2015
MAPLE
V:= Array(0..1000):
for n from 1 do
c:= binomial(2*n, n)/(n+1);
if c > 1000 then break fi;
V[c]:= 1;
od:
convert(V, list); # Robert Israel, Oct 13 2015
MATHEMATICA
t = CatalanNumber@ Range@ 12; Table[Boole@ MemberQ[t, n], {n, 0, 96}] (* Michael De Vlieger, Sep 29 2015 *)
CROSSREFS
Sequence in context: A023959 A341334 A076182 * A140591 A189476 A288752
KEYWORD
nonn
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy