Why can't this limit be calculated?

44 views
Skip to first unread message

Mjx121418

unread,
Mar 28, 2017, 10:15:19 AM3/28/17
to sage-support
limit(harmonic_number(n)/n,n=+oo)


I think it is obvious that this limit should be 0, but why can't sage solve it?

kcrisman

unread,
Mar 28, 2017, 1:45:54 PM3/28/17
to sage-support
Harmonic number is probably not implemented in Maxima?  However, Sympy can do at least some limits with it - see http://docs.sympy.org/dev/modules/functions/combinatorial.html#harmonic 

kcrisman

unread,
Mar 28, 2017, 1:49:39 PM3/28/17
to sage-support
And it apparently can do this one, so  indeed


var('n')
limit(harmonic_number(n)/n,n=+oo,algorithm='sympy')

returns zero.  See https://trac.sagemath.org/ticket/22700 for a related ticket.

Mjx121418

unread,
Mar 29, 2017, 10:26:14 AM3/29/17
to sage-support
Thanks a lot 🤗

在 2017年3月29日星期三 UTC+8上午1:49:39,kcrisman写道:
Reply all
Reply to author
Forward
0 new messages