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.

A024502 a(n) = floor(C(2n,n)/2^n).

This page as a plain text file.
%I A024502 #26 May 14 2021 05:29:30
%S A024502 1,1,1,2,4,7,14,26,50,94,180,344,660,1269,2448,4733,9171,17804,34618,
%T A024502 67415,131460,256661,501656,981501,1922106,3767329,7389761,14505829,
%U A024502 28493592,56004648,110142474,216731966,426691058,840452084,1656184990
%N A024502 a(n) = floor(C(2n,n)/2^n).
%F A024502 For n>0, a(n) = floor(A006882(2*n-1) / n!). - _Alex Ratushnyak_, Nov 28 2013
%e A024502 a(4) = floor(1*3*5*7 / (1*2*3*4)) = floor(35/8) = 4.
%t A024502 Table[Floor[Binomial[2n,n]/2^n],{n,0,40}] (* _Harvey P. Dale_, Mar 07 2016 *)
%o A024502 (Python)
%o A024502 import math
%o A024502 for n in range(55):  print(str(math.factorial(2*n)//(math.factorial(n)**2 * 2**n)), end=',')
%o A024502 # _Alex Ratushnyak_, Nov 28 2013
%o A024502 (PARI) a(n)=binomial(2*n,n)>>n \\ _Charles R Greathouse IV_, Jul 19 2016
%Y A024502 Cf. A006882.
%K A024502 nonn
%O A024502 0,4
%A A024502 _Clark Kimberling_
%E A024502 More terms from _Benoit Cloitre_, Jan 26 2002