| New Reply |
Help with nth partial sum? |
Share Thread | Thread Tools |
| Dec22-11, 03:29 PM | #1 |
|
|
Help with nth partial sum?
Given some natural number n find the nth partial sum for:
[tex]\displaystyle\sum_{k=0}^{\lfloor log(n) \rfloor} \lfloor \frac{n}{10^k} \rfloor[/tex] I find this question really difficult! If anyone could help, it would be greatly appreciated. Thanks in advance! |
| PhysOrg.com |
science news on PhysOrg.com >> Hong Kong launches first electric taxis >> Morocco to harness the wind in energy hunt >> Galaxy's Ring of Fire |
| Dec22-11, 03:40 PM | #2 |
|
|
Perhaps try a few examples of n to see what it actually is that you're doing??
|
| Dec22-11, 03:51 PM | #3 |
|
|
I take that 'log' here means the base-10 logarithm. Is that so?
|
| Dec22-11, 04:39 PM | #4 |
|
|
Help with nth partial sum?
It is indeed the base 10 logarithm.
For n = 1: [tex]\displaystyle\sum_{k=0}^{0} \lfloor \frac{1}{10^k} \rfloor = \lfloor 1/1 \rfloor = 1[/tex] For n = 21: [tex]\displaystyle\sum_{k=0}^{1} \lfloor \frac{21}{10^k} \rfloor = \lfloor 21/1 \rfloor + \lfloor 21/10 \rfloor= 21 + 2 = 23[/tex] |
| Dec22-11, 09:31 PM | #5 |
|
|
What about a general number
[tex]n=a_1a_2...a_k[/tex] ?? Can you find it for that?? |
| Dec23-11, 02:08 AM | #6 |
|
|
[tex]n=a_1a_2...a_k[/tex]
I think it would be: [tex]a_1a_2...a_k + a_1a_2...a_{k-1} + ... + a_1a_2 + a_1[/tex] |
| Dec23-11, 03:38 AM | #7 |
|
|
Something else that could possibly be used is:
[tex]\displaystyle\sum_{k=0}^{\lfloor log(n) \rfloor} \lfloor \frac{n}{10^k} \rfloor = \displaystyle\sum_{k=0}^{\lfloor log(n) \rfloor} \frac{n}{10^k} - \displaystyle\sum_{k=0}^{\lfloor log(n) \rfloor} \frac{n}{10^k} mod 1 [/tex] Where mod represents the remainder operator. Here the first sum is quite easy to figure out, however the summation involving mod is equally as difficult as the original, to me. |
| New Reply |
| Thread Tools | |
Similar Threads for: Help with nth partial sum?
|
||||
| Thread | Forum | Replies | ||
| Partial F/ Partial T... F= (x,y) x and y = functs of s and t...Only step 1 needed | Calculus & Beyond Homework | 6 | ||
| measuring effect size in regressio: std coefficients, partial r2, partial correlation | Set Theory, Logic, Probability, Statistics | 0 | ||
| Mixed Partial and non-partial derivative definition | General Physics | 1 | ||
| Angle of Incidence with partial reflection and partial refraction | Introductory Physics Homework | 5 | ||
| partial differential: partial scalar partial vector | Differential Equations | 3 | ||