login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
a(A000108(n)) = 1, a(A092459(n)) = 0. - Reinhard Zumkeller, Mar 29 2011
LINKS
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
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)