<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Eine kleine Nachtmusik</title>
    <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 18 Jun 2026 18:09:15 GMT</lastBuildDate>
    <pubDate>Thu, 18 Jun 2026 18:09:15 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Eine kleine Nachtmusik</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Eine kleine Nachtmusik</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik</link>
    </image>
    <item>
      <title>27/26</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik?ref=Feed:MaplePrimes:Eine kleine Nachtmusik:Comments#answer140437</link>
      <itunes:summary>&lt;p&gt;It seems that the answer is 27/26 based on&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;Digits:=100:&lt;br&gt;evalf(Sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity));&lt;br&gt;identify(%);&lt;/p&gt;
&lt;p&gt;Proof:&lt;/p&gt;
&lt;p&gt;Based on the familiar formula for (x^n-1)/(x-1) with x=8.&lt;/p&gt;
&lt;p&gt;We have&lt;br&gt;S1:=floor(2^(3*k)/7)=(2^(3*k)-1)/7;&lt;br&gt;S2:=floor(2^(3*k+1)/7)=2*(2^(3*k)-1)/7;&lt;br&gt;S3:=floor(2^(3*k+2)/7)=4*(2^(3*k)-1)/7;&lt;br&gt;Sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)=add(Sum(3^(-3*k+2-p)*floor((1/7)*2^(3*k+p)), k = 1 .. infinity),p=0..2);&lt;br&gt;subs(S1,S2,S3,%);&lt;br&gt;value(rhs(%));&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;It seems that the answer is 27/26 based on&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;Digits:=100:&lt;br&gt;evalf(Sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity));&lt;br&gt;identify(%);&lt;/p&gt;
&lt;p&gt;Proof:&lt;/p&gt;
&lt;p&gt;Based on the familiar formula for (x^n-1)/(x-1) with x=8.&lt;/p&gt;
&lt;p&gt;We have&lt;br&gt;S1:=floor(2^(3*k)/7)=(2^(3*k)-1)/7;&lt;br&gt;S2:=floor(2^(3*k+1)/7)=2*(2^(3*k)-1)/7;&lt;br&gt;S3:=floor(2^(3*k+2)/7)=4*(2^(3*k)-1)/7;&lt;br&gt;Sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)=add(Sum(3^(-3*k+2-p)*floor((1/7)*2^(3*k+p)), k = 1 .. infinity),p=0..2);&lt;br&gt;subs(S1,S2,S3,%);&lt;br&gt;value(rhs(%));&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>140437</guid>
      <pubDate>Fri, 16 Nov 2012 20:08:05 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>Another proof</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik?ref=Feed:MaplePrimes:Eine kleine Nachtmusik:Comments#answer140450</link>
      <itunes:summary>&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -16;" src="/view.aspx?sf=140450/448040/a458a962953b4f442bddd129169a8ae2.gif" alt="sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)" width="257" height="46"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=140450/448040/8f294682a2ef06ef250c87c593b27b0e.gif" alt="sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)" width="156" height="55"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -16;" src="/view.aspx?sf=140450/448040/1689bae31556f52e19556cd680c2fcb4.gif" alt="l := [seq(floor((1/7)*2^(n+2)), n = 1 .. 40)]" width="241" height="46"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -74;" src="/view.aspx?sf=140450/448040/ae5bcd44145e4d8b9e3edbde5ea212ef.gif" alt="[1, 2, 4, 9, 18, 36, 73, 146, 292, 585, 1170, 2340, 4681, 9362, 18724, 37449, 74898, 149796, 299593, 599186, 1198372, 2396745, 4793490, 9586980, 19173961, 38347922, 76695844, 153391689, 306783378, 613566756, 1227133513, 2454267026, 4908534052, 9817068105, 19634136210, 39268272420, 78536544841, 157073089682, 314146179364, 628292358729]" width="546" height="91" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/c101078f5d12de42c55ad40602cb0edf.gif" alt="with(gfun):" width="83" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/cd1970add1d69d04a2eed2ac05c7678a.gif" alt="rec := listtorec(l, u(n))" width="153" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -23;" src="/view.aspx?sf=140450/448040/3e369b90a33089201887464a423cdde2.gif" alt="[{-u(n+4)+2*u(n+3)+u(n+1)-2*u(n), u(0) = 1, u(1) = 2, u(2) = 4, u(3) = 9}, ogf]" width="546" height="40" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -24;" src="/view.aspx?sf=140450/448040/890e62e7b18ed7ada0b6d18d74411ad6.gif" alt="Start from 1, not from 0:  a:=eval(rsolve(rec[1],u),n=n-1)" width="576" height="41" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -56;" src="/view.aspx?sf=140450/448040/d10a92d31cc42ab7a13fb0bbbfc479f4.gif" alt="(8/7)*2^(n-1)-((1/63)*I)*(3*3^(1/2)+6*I)*(-1/2+((1/2)*I)*3^(1/2))^(n-1)-((1/63)*I)*(-3*3^(1/2)+6*I)*(-1/2-((1/2)*I)*3^(1/2))^(n-1)-1/3" width="546" height="86" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/ab8020dd8f1a52735dc670b5053e889a.gif" alt="sum(3^(-n)*a, n = 1 .. infinity)" width="169" height="27"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -16;" src="/view.aspx?sf=140450/448040/8e5621a14d2138cd20b6b7f38a543649.gif" alt="27/26" width="31" height="42"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(5)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/cde728ab0a0c3ffcaeb458d0d0e68fc5.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/3e80479889e201c109ce3b21a75240b9.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=140450/448040/another_proof.mw"&gt;Download another_proof.mw&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -16;" src="/view.aspx?sf=140450/448040/a458a962953b4f442bddd129169a8ae2.gif" alt="sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)" width="257" height="46"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=140450/448040/8f294682a2ef06ef250c87c593b27b0e.gif" alt="sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)" width="156" height="55"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -16;" src="/view.aspx?sf=140450/448040/1689bae31556f52e19556cd680c2fcb4.gif" alt="l := [seq(floor((1/7)*2^(n+2)), n = 1 .. 40)]" width="241" height="46"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -74;" src="/view.aspx?sf=140450/448040/ae5bcd44145e4d8b9e3edbde5ea212ef.gif" alt="[1, 2, 4, 9, 18, 36, 73, 146, 292, 585, 1170, 2340, 4681, 9362, 18724, 37449, 74898, 149796, 299593, 599186, 1198372, 2396745, 4793490, 9586980, 19173961, 38347922, 76695844, 153391689, 306783378, 613566756, 1227133513, 2454267026, 4908534052, 9817068105, 19634136210, 39268272420, 78536544841, 157073089682, 314146179364, 628292358729]" width="546" height="91" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/c101078f5d12de42c55ad40602cb0edf.gif" alt="with(gfun):" width="83" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/cd1970add1d69d04a2eed2ac05c7678a.gif" alt="rec := listtorec(l, u(n))" width="153" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -23;" src="/view.aspx?sf=140450/448040/3e369b90a33089201887464a423cdde2.gif" alt="[{-u(n+4)+2*u(n+3)+u(n+1)-2*u(n), u(0) = 1, u(1) = 2, u(2) = 4, u(3) = 9}, ogf]" width="546" height="40" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -24;" src="/view.aspx?sf=140450/448040/890e62e7b18ed7ada0b6d18d74411ad6.gif" alt="Start from 1, not from 0:  a:=eval(rsolve(rec[1],u),n=n-1)" width="576" height="41" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -56;" src="/view.aspx?sf=140450/448040/d10a92d31cc42ab7a13fb0bbbfc479f4.gif" alt="(8/7)*2^(n-1)-((1/63)*I)*(3*3^(1/2)+6*I)*(-1/2+((1/2)*I)*3^(1/2))^(n-1)-((1/63)*I)*(-3*3^(1/2)+6*I)*(-1/2-((1/2)*I)*3^(1/2))^(n-1)-1/3" width="546" height="86" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/ab8020dd8f1a52735dc670b5053e889a.gif" alt="sum(3^(-n)*a, n = 1 .. infinity)" width="169" height="27"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -16;" src="/view.aspx?sf=140450/448040/8e5621a14d2138cd20b6b7f38a543649.gif" alt="27/26" width="31" height="42"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(5)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/cde728ab0a0c3ffcaeb458d0d0e68fc5.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=140450/448040/3e80479889e201c109ce3b21a75240b9.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=140450/448040/another_proof.mw"&gt;Download another_proof.mw&lt;/a&gt;&lt;/p&gt;</description>
      <guid>140450</guid>
      <pubDate>Fri, 16 Nov 2012 22:23:17 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>p=17 or even larger</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik?ref=Feed:MaplePrimes:Eine kleine Nachtmusik:Comments#answer140490</link>
      <itunes:summary>&lt;pre&gt;I was playing a bit more with that nice task, Sum(3^(-n)*floor(2^(n+2)/p), n = 1 .. infinity)&lt;br&gt;and for p=17 that does not evaluate numerically, only after restrichting to 100 terms or so.&lt;br&gt;&lt;br&gt;The usage of gfun as shown by Markiyan seems to run into troubles as well for increasing p.&lt;br&gt;&lt;br&gt;Let me consider the problem with 'frac', which is &lt;span style="text-decoration: line-through;"&gt;more or less&lt;/span&gt; equivalent (one can use gfun&lt;br&gt;for that as well).&lt;br&gt;&lt;br&gt;By looking at examples one sees that frac(2^(n+2)/p) has only finitely many values and those&lt;br&gt;are periodic, in the case p=7 the period was 3.&lt;br&gt;&lt;br&gt;Now remember Fermat's little theorem: a^(p-1) = 1 modulo p for p a prime number.&lt;br&gt;&lt;br&gt;Hence 2^(n+2) - 2^(n+2+(q-1)) = 2^(n+2)*(1 - 2^(q-1)) = 0&amp;nbsp; modulo p. Which means, that all&lt;br&gt;the rationals frac(2^(n+2)/p) are periodic of period p-1 (there is no zero, since 2 is a unit&lt;br&gt;modulo p, it is a field).&lt;br&gt;&lt;br&gt;For p=7 we had a shorter period (p-1)/2, but that is not true in general (p=11).&lt;br&gt;&lt;br&gt;But that already allows to write down the recursion without using gfun: u(k+p-1)=u(k) and&lt;br&gt;the (p-1) initial values.&lt;br&gt;&lt;br&gt;For that rsolve replies in terms, which are difficult to be used in the infinite series&lt;br&gt;and for p=23 I ran out of memory (and patients).&lt;br&gt;&lt;br&gt;&lt;br&gt;Thus returned to the idea of splitting the summation.&lt;br&gt;&lt;br&gt;Write 2+n = (p-1)*k + j. Then j = 2+n modulo (p-1) and k = (n+2 - j)/(p-1).&lt;br&gt;&lt;br&gt;One can convince oneself, that therefore the following is a re-arragement of the series:&lt;br&gt;&lt;br&gt;Sum( Sum(3^(-(p-1)*k-j) * L[j],k = 0 .. infinity),j = 1 ..&amp;nbsp; p-1)&lt;br&gt;&lt;br&gt;The inner series evaluates to 3^(-j+ p-1)* L[j]/(3^(p-1)-1) and adding p-1 such terms&lt;br&gt;is quick and without problems, even for larger p. Hence we have&lt;br&gt;&lt;br&gt;&amp;nbsp; Sum(3^(-n)*frac(2^(n+2)/p), n = 1 .. infinity) = &lt;br&gt;&amp;nbsp; Sum( 3^(-j+ p-1)* L[j]/(3^(p-1)-1), j = 1 ..&amp;nbsp; p-1)&lt;br&gt;&lt;br&gt;One only has to provide L:=[seq(frac(2^(n+2)/p), n=1 .. (p-1))].&lt;br&gt;&lt;br&gt;&lt;/pre&gt;</itunes:summary>
      <description>&lt;pre&gt;I was playing a bit more with that nice task, Sum(3^(-n)*floor(2^(n+2)/p), n = 1 .. infinity)&lt;br&gt;and for p=17 that does not evaluate numerically, only after restrichting to 100 terms or so.&lt;br&gt;&lt;br&gt;The usage of gfun as shown by Markiyan seems to run into troubles as well for increasing p.&lt;br&gt;&lt;br&gt;Let me consider the problem with 'frac', which is &lt;span style="text-decoration: line-through;"&gt;more or less&lt;/span&gt; equivalent (one can use gfun&lt;br&gt;for that as well).&lt;br&gt;&lt;br&gt;By looking at examples one sees that frac(2^(n+2)/p) has only finitely many values and those&lt;br&gt;are periodic, in the case p=7 the period was 3.&lt;br&gt;&lt;br&gt;Now remember Fermat's little theorem: a^(p-1) = 1 modulo p for p a prime number.&lt;br&gt;&lt;br&gt;Hence 2^(n+2) - 2^(n+2+(q-1)) = 2^(n+2)*(1 - 2^(q-1)) = 0&amp;nbsp; modulo p. Which means, that all&lt;br&gt;the rationals frac(2^(n+2)/p) are periodic of period p-1 (there is no zero, since 2 is a unit&lt;br&gt;modulo p, it is a field).&lt;br&gt;&lt;br&gt;For p=7 we had a shorter period (p-1)/2, but that is not true in general (p=11).&lt;br&gt;&lt;br&gt;But that already allows to write down the recursion without using gfun: u(k+p-1)=u(k) and&lt;br&gt;the (p-1) initial values.&lt;br&gt;&lt;br&gt;For that rsolve replies in terms, which are difficult to be used in the infinite series&lt;br&gt;and for p=23 I ran out of memory (and patients).&lt;br&gt;&lt;br&gt;&lt;br&gt;Thus returned to the idea of splitting the summation.&lt;br&gt;&lt;br&gt;Write 2+n = (p-1)*k + j. Then j = 2+n modulo (p-1) and k = (n+2 - j)/(p-1).&lt;br&gt;&lt;br&gt;One can convince oneself, that therefore the following is a re-arragement of the series:&lt;br&gt;&lt;br&gt;Sum( Sum(3^(-(p-1)*k-j) * L[j],k = 0 .. infinity),j = 1 ..&amp;nbsp; p-1)&lt;br&gt;&lt;br&gt;The inner series evaluates to 3^(-j+ p-1)* L[j]/(3^(p-1)-1) and adding p-1 such terms&lt;br&gt;is quick and without problems, even for larger p. Hence we have&lt;br&gt;&lt;br&gt;&amp;nbsp; Sum(3^(-n)*frac(2^(n+2)/p), n = 1 .. infinity) = &lt;br&gt;&amp;nbsp; Sum( 3^(-j+ p-1)* L[j]/(3^(p-1)-1), j = 1 ..&amp;nbsp; p-1)&lt;br&gt;&lt;br&gt;One only has to provide L:=[seq(frac(2^(n+2)/p), n=1 .. (p-1))].&lt;br&gt;&lt;br&gt;&lt;/pre&gt;</description>
      <guid>140490</guid>
      <pubDate>Sat, 17 Nov 2012 23:54:18 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
    <item>
      <title>Probably true</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik?ref=Feed:MaplePrimes:Eine kleine Nachtmusik:Comments#comment140439</link>
      <itunes:summary>&lt;p&gt;How to ground 27/26 in a more reliable way?&lt;/p&gt;
&lt;p&gt;PS. I have in mind explicitly. Compare with &lt;a href="http://www.mapleprimes.com/questions/127391-Summa-Technologiae"&gt;http://www.mapleprimes.com/questions/127391-Summa-Technologiae&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;How to ground 27/26 in a more reliable way?&lt;/p&gt;
&lt;p&gt;PS. I have in mind explicitly. Compare with &lt;a href="http://www.mapleprimes.com/questions/127391-Summa-Technologiae"&gt;http://www.mapleprimes.com/questions/127391-Summa-Technologiae&lt;/a&gt;&lt;/p&gt;</description>
      <guid>140439</guid>
      <pubDate>Fri, 16 Nov 2012 20:22:05 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>See the proof added above</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik?ref=Feed:MaplePrimes:Eine kleine Nachtmusik:Comments#comment140442</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik#comment140439"&gt;@Markiyan Hirnyk&lt;/a&gt; Please see the proof added above.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik#comment140439"&gt;@Markiyan Hirnyk&lt;/a&gt; Please see the proof added above.&lt;/p&gt;</description>
      <guid>140442</guid>
      <pubDate>Fri, 16 Nov 2012 20:59:52 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>Don't understand it</title>
      <link>http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik?ref=Feed:MaplePrimes:Eine kleine Nachtmusik:Comments#comment140443</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik#comment140442"&gt;@Preben Alsholm&lt;/a&gt; Can you kindly explain that in details? I don't understand why &lt;span&gt;floor(2^(3*k)/7)=(2^(3*k)-1)/7 .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don't understand why &lt;span&gt;Sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)=add(Sum(3^(-3*k+2-p)*floor((1/7)*2^(3*k+p)), k = 1 .. infinity),p=0..2).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PS. I don't see how to prove&amp;nbsp; a similar thing with 17 instead of 7 in the denominator.&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/140433-Eine-Kleine-Nachtmusik#comment140442"&gt;@Preben Alsholm&lt;/a&gt; Can you kindly explain that in details? I don't understand why &lt;span&gt;floor(2^(3*k)/7)=(2^(3*k)-1)/7 .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don't understand why &lt;span&gt;Sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity)=add(Sum(3^(-3*k+2-p)*floor((1/7)*2^(3*k+p)), k = 1 .. infinity),p=0..2).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PS. I don't see how to prove&amp;nbsp; a similar thing with 17 instead of 7 in the denominator.&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>140443</guid>
      <pubDate>Fri, 16 Nov 2012 21:19:31 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
  </channel>
</rss>