<HTML><BODY><DIV style='font-family: "Verdana"; font-size: 10pt;'><DIV>
<STYLE>
.AOLPlainTextBody {
    margin: 0px;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 12px; 
    color: #000; 
    background-color: #fff; 
}

.AOLPlainTextBody pre {
    font-size: 9pt;
}

.AOLInlineAttachment {
    margin: 10px;
}

.AOLAttachmentHeader {
    border-bottom: 2px solid #E9EAEB;
    background: #F9F9F9;
}

.AOLAttachmentHeader .Title {
    font: 11px Tahoma;
    font-weight: bold;
    color: #666666;
    background: #E9EAEB; 
    padding: 3px 0px 1px 10px;
}

.AOLAttachmentHeader .FieldLabel {
    font: 11px Tahoma; 
    font-weight: bold;
    color: #666666;
    padding: 1px 10px 1px 9px;
}

.AOLAttachmentHeader .FieldValue {
    font: 11px Tahoma; 
    color: #333333;
}

</STYLE>

<DIV id=AOLMsgPart_2_d28fc51f-4f84-433f-8a25-39c9c44749e3>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana'">
<DIV>
<DIV> For A053735 Sum of digits of (n written in base 3), the given generating function,</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} x^(3^k)/(1+x^(3^k)))/(1-x),</DIV>
<DIV> </DIV>
<DIV>is wrong.  The correct generating function is</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} (x^(3^k)+2*x^(2*3^k))/(1+x^(3^k)+x^(2*3^k)))/(1-x).</DIV>
<DIV> </DIV>
<DIV>In general, the sum of digits of (n written in base b) has generating function</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} (Sum_{0<=i<b} i*x^(i*b^k))/(Sum_{0<=i<b} x^(i*b^k)))/(1-x);</DIV>
<DIV> </DIV>
<DIV>in particular, for b=4, A053737 the generating function is</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} (x^(4^k)+2*x^(2*4^k)+3*x^(3*4^k))/(1+x^(4^k)+x^(2*4^k)+x^(3*4^k))/(1-x).</DIV>
<DIV> </DIV>
<DIV>(There is a typo in the example line of this sequence: it should end with 4, not 3.)</DIV>
<DIV> </DIV>
<DIV>Also, the generating function for the number of digits equal to d in the base b representation of n (0<d<b) is</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0}  x^(d*b^k)/(Sum_{0<=i<b} x^(i*b^k)))/(1-x);</DIV>
<DIV> </DIV>
<DIV>in particular, for d=1, b=3, A062756 has generating function</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} x^(3^k)/(1+x^(3^k)+x^(2*3^k)))/(1-x).</DIV>
<DIV> </DIV>
<DIV>For d=0, use the above formula with d=b:</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} x^(b^(k+1))/(Sum_{0<=i<b} x^(i*b^k)))/(1-x),</DIV>
<DIV> </DIV>
<DIV>adding 1 if you consider the representation of 0 to have one zero digit.  Thus for A077267, the G.F. is</DIV>
<DIV> </DIV>
<DIV>(Sum_{k>=0} x^(3^(k+1))/(1+x^(3^k)+x^(2*3^k)))/(1-x),</DIV>
<DIV> </DIV>
<DIV>and for A081602 it is</DIV>
<DIV> </DIV>
<DIV>
<DIV>1+(Sum_{k>=0} x^(3^(k+1))/(1+x^(3^k)+x^(2*3^k)))/(1-x).</DIV>
<DIV> </DIV>
<DIV>(And these two sequences should have cross-references indicating that they are essentially the same.)</DIV>
<DIV> </DIV>
<DIV>Finally, the sequence that got me into this: A033095 (total number of 1's in all bases) has G.F.</DIV>
<DIV> </DIV>
<DIV>x+(Sum_{b>=2} (Sum_{k>=0} x^(b^k)/(Sum_{0<=i<b} x^(i*b^k)))/(1-x) - x).</DIV>
<DIV> </DIV>
<DIV>If the initial term of A033095 was 0, the initial "x+" would not be needed.  This value is rather arbitrary; changing the "n+1" in the definition to "n" would make it 0.</DIV></DIV></DIV></DIV></DIV></DIV></DIV>

<hr style="margin-top:10px;" />
<b>Look What The New Netscape.com Can Do!</b><br />
Now you can preview dozens of stories and have the ones you select 
delivered to you without ever leaving the Top Home Page. And the 
new Tool Box gives you one click access to local Movie times, Maps, 
White Pages and more. <a href=" http://netcenter.netscape.com/netcenter/" target="_blank">Click to test drive</a>.

</BODY></HTML>