Post Reply 
OEIS A244953: Ridiculous Formula
08-20-2022, 11:34 AM
Post: #2
RE: OEIS A244953: Ridiculous Formula
How about:

\(
\begin{align}
a(n) = \frac{3n + 4 - (n \mod 4 - 2)^2}{2}
\end{align}
\)

Code:
00 { 20-Byte Prgm }
01 3
02 RCL× ST Y
03 4
04 +
05 X<>Y
06 4
07 MOD
08 2
09 -
10 X↑2
11 -
12 2
13 ÷
14 END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: OEIS A244953: Ridiculous Formula - Thomas Klemm - 08-20-2022 11:34 AM



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