[sage-support] Re: find smallest integer to meet certain inequalities...

2008-01-21 Thread Georg
Oh yeah, that's a usefull hint, thank you very much Paul, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://gro

[sage-support] Re: find smallest integer to meet certain inequalities...

2008-01-21 Thread Paul Zimmermann
Georg, > is there an efficient way in sage to find the smallest integer k for > which the inequality > > b^(k+1) / (factorial(k) * factorial(k+1)) <= 1 > > is true (b > 0) Stirling's expansion gives (when b goes to infinity) k ~ sqrt(b)*exp(1). Thus it suffices to evaluates f(k) = b^(k+

[sage-support] Re: find smallest integer to meet certain inequalities...

2008-01-21 Thread Georg
Excuse me, i'm not a native english speaker (and i thought i read this mode of speaking somewhere before): is there an efficient way in sage to find the smallest integer k for which the inequality b^(k+1) / (factorial(k) * factorial(k+1)) <= 1 is true (b > 0) similarly for b^k / factorial(k)

[sage-support] Re: find smallest integer to meet certain inequalities...

2008-01-21 Thread William Stein
On Jan 21, 2008 6:39 AM, Georg <[EMAIL PROTECTED]> wrote: > > Hi, > > is there an efficient way in sage to find the smallest integer k to > meet (b constant) > > b^(k+1) / (factorial(k) * factorial(k+1)) <= 1 This sentence doesn't make sense to me. What does it mean for an integer to meet an ine