Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11639 > unrolled thread
| Started by | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| First post | 2012-09-07 08:55 +0000 |
| Last post | 2012-09-08 07:10 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Series expansion of Lambert series "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-09-07 08:55 +0000
Re: Series expansion of Lambert series "danl@wolfram.com" <daniel.lichtblau0@gmail.com> - 2012-09-08 07:10 +0000
| From | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| Date | 2012-09-07 08:55 +0000 |
| Subject | Series expansion of Lambert series |
| Message-ID | <k2ccpn$f0g$1@smc.vnet.net> |
Define for 0<=x<1 the Lambert series
f[x_] := Sum[ x^n/(1-x^n), {x,1,oo}]
How do I get Mathematica to calculate the first few terms of a series
expansion like
Series[f[x],{x,0,4}] ?
Also a series like
e1[x_] := Sum[x^n/(1+n!), {n,0,oo}]
does not seem to be expandable with Series.
BTW same thing in 8.0 and 5.2
Regards,
Wolfgang
[toc] | [next] | [standalone]
| From | "danl@wolfram.com" <daniel.lichtblau0@gmail.com> |
|---|---|
| Date | 2012-09-08 07:10 +0000 |
| Message-ID | <k2er1s$kaj$1@smc.vnet.net> |
| In reply to | #11639 |
On Friday, September 7, 2012 3:56:27 AM UTC-5, Dr. Wolfgang Hintze wrote:
> Define for 0<=x<1 the Lambert series
>
>
>
> f[x_] := Sum[ x^n/(1-x^n), {x,1,oo}]
>
>
>
> How do I get Mathematica to calculate the first few terms of a series
>
> expansion like
>
>
>
> Series[f[x],{x,0,4}] ?
>
>
>
> Also a series like
>
>
>
> e1[x_] := Sum[x^n/(1+n!), {n,0,oo}]
>
>
>
> does not seem to be expandable with Series.
>
>
>
> BTW same thing in 8.0 and 5.2
>
>
>
> Regards,
>
> Wolfgang
Use the fact that you only need n terms of the sum (in these specific examples) in order to obtain n terms of the series expansion.
In[17]:= seriesLambert[x_,n_] := Series[Sum[x^k/(1-x^k),{k,n}], {x,0,n}]
In[18]:= seriesLambert[x,4]
2 3 4 5
Out[18]= x + 2 x + 2 x + 3 x + O[x]
Daniel Lichtblau
Wolfram Research
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web