Post Reply 
OEIS A229580 mini challenge (RPL)
05-01-2018, 08:56 PM
Post: #16
RE: OEIS A229580 mini challenge (RPL)
(05-01-2018 07:40 PM)Gerson W. Barbosa Wrote:  Hello, Valentin,

Thank you very much for you valuable contribution!

(05-01-2018 06:07 PM)Valentin Albillo Wrote:  .
Hi, Gerson:


Since you just changed the Subject to include RPN, I'm changing it again to include the HP-71B, I hope you won't mind.

Of course not! This should have been opened to other calculators in the first place, my bad. As I said, more important than the resulting optimization was the better formula the participants would eventually come up with. My first attempt using your formula gives me 40 bytes on the hp 50g, but others may improve on that.

By factoring the first few elements, I have obtained an = (2n - 1)*2^(2n - 3), which is probably the same formula Joe has come up with, since he used the same method I did. Both formulas are of course equivalent and hopefully will make for even better optimizations on the original target.

Best regards,

Gerson.

Your formula returns

1/2

for input

1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: OEIS A229580 mini challenge (RPL) - Gerald H - 05-01-2018 08:56 PM



User(s) browsing this thread: 6 Guest(s)