User lshamis - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-19T01:40:57Z http://mathoverflow.net/feeds/user/13316 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/61449/recovering-a-set-of-discrete-values Recovering a set of discrete values lshamis 2011-04-12T19:24:45Z 2011-04-12T19:24:45Z <p>I have a set of <em>positive</em> integers $a$, where $\displaystyle\sum_i{a_i}=700$ and $\displaystyle\sum_i{a_i^2}=1212$.</p> <p>Is there a unique decomposition of $a$ and, if so, how do I recover it?</p> http://mathoverflow.net/questions/56966/approximating-e-with-2s-and-3s Approximating e with 2s and 3s lshamis 2011-03-01T05:28:12Z 2011-03-03T18:31:46Z <p>How can I generate a series of 2s and 3s such that the average of the generated values (so far) is as close to e as possible?</p> <p>For example:</p> <pre><code>3: avg=3 |2-e| =0.282 3,2: avg=2.5 |2.5-e| =0.218 3,2,3: avg=2.667 |2.667-e|=0.052 3,2,3,3: avg=2.75 |2.75-e| =0.032 </code></pre> <p>Also, how can I <em>quickly</em> check if the nth index in the sequence is a 2 or 3?</p>