OEIS A244953: Ridiculous Formula
|
08-22-2022, 03:06 PM
(This post was last modified: 08-22-2022 03:08 PM by Thomas Klemm.)
Post: #7
|
|||
|
|||
RE: OEIS A244953: Ridiculous Formula
(08-21-2022 02:21 PM)John Keith Wrote: That's amazing, only 4 instructions! It's just this recursive formula: \(a(n) = a(n-1) + a(n-4) - a(n-5)\) Or then rather: \(a(n) = a(n-4) - \left( a(n-5) - a(n-1) \right) \) Quote:Your formula in post #2 comes out to 14 objects in RPL … Is this what you refer to? Code: \<< 3 OVER * 4 + SWAP Quote:You may want to add it to the OEIS page since it is shorter and simpler than the formulas there. Meanwhile it has been updated. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)