Newsgroups: sci.math
From: David W. Cantrell <DWCantr...@sigmaxi.net>
Date: 06 Jul 2008 14:38:15 GMT
Local: Sun, Jul 6 2008 7:38 pm
Subject: Re: A set of approximations the central binomial coefficient
"sa...@kt-algorithms.com" <sa...@kt-algorithms.com> wrote: Hello, Knud! > An interesting type of approximation to the central binomial > coefficient is of the form: > C(2n, n) ~= 4^n / sqrt( Rm(n) ) > Rm being a rational function of max. degree m+1 (m>0): > Rm(n) = (pi n^(m+1) + sum(i=0,m) Pi n^i) / (n^m + sum(i=0,m-1) Qi n^i) > and where the 2m+1 coefficients are defined by simply requiring exact Yes, your form of approximation is nice. FWIW, here are simple upper and lower bounds for C(2n, n). Upper bound: 4^n / sqrt(pi(n + 1/4)) (Ub) Lower bound: Ub * (1 - 1/(8(n + 1/4))^2) (Lb) Your approximations are precise for small n, while the relative errors of Best regards, > Example: m=1
> ------------ > C(2n, n) ~= 4^n / sqrt( (pi n^2 + P1 n + P0)/ (n + Q0) ) > P1 = 53 pi - 164 > with a |rel. error| < 5.0*10^-5 for n>=0. > Error profile: > n rel. error n rel. error > Example: m=2 > C(2n, n) ~= 4^n / sqrt( (pi n^3 + P2 n^2 + P1 n + P0)/ (n^2 + Q1 > P2 = 36928 - 11753 pi > with a |rel. error| < 2.5*10^-7 for n>=0. > Error profile: > n rel. error n rel. error > Best regards, > Knud Thomsen You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||