Each year, we try to come up with one-liners that produce the year. Here’s a few ways that produce 2024.
Here is one way
2024=
3
2
+
3
3
+
3
4
+
3
5
+
3
6
+
3
7
+
3
8
+
3
9
which can be computed as
In[]:=
Total[Range[2,9]^3]
Out[]=
2024
and in mathematical notation is simply:
In[]:=
9
∑
n=2
3
n
Out[]=
2024
A few other examples are:
In[]:=
ChebyshevT[3,8]
Out[]=
2024
In[]:=
Binomial[24,3]
Out[]=
2024
In[]:=
7*765^2+1
Out[]=
2024
That last one comes from
In[]:=
Convergents[Sqrt[7],12]
Out[]=
2,3,
5
2
,
8
3
,
37
14
,
45
17
,
82
31
,
127
48
,
590
223
,
717
271
,
1307
494
,
2024
765


What are other ways of getting 2024?

CITE THIS NOTEBOOK

2024 = 2³+3³+4³+5³+6³+7³+8³+9³ What's your math one-liner for the New Year 2024?​
by Ed Pegg​
Wolfram Community, STAFF PICKS, December 29, 2023
​https://community.wolfram.com/groups/-/m/t/3092960