The effective population size is the harmonic mean (time average of $1/N$) of the time dependent population size:
$\frac{1}{N_e} = \frac{1}{t_f - t_0} \sum_{t = t_0}^{t_{f}} \frac{1}{N(t)}$
where $t_0$ is the foundation of the E. coli line, $t_f$ is some time much later when Lenski's poor grad students are sequencing them (with the understanding that $t_f - t_0 \ll N_e$, $t_0$ may be before the experiment began), and $N(t)$ is a deterministic function produced by removing individuals from the population with a pipette (throwing the rest in the freezer for the living fossil record) and letting them expand to cover a newly inhabited plate.
Since the population size is cyclical in Lenski's experiments (this procedure is done at regular time intervals, so at approximately consistent generation time), the average over one cycle should be the same effective population size as integrating over all time. In other words:
$\frac{1}{N_e} = \frac{1}{t_{nextBN} - t_{BN}}\sum_{t=t_{BN}}^{t_{nextBN}} \frac{1}{N(t)} $
where $t_{BN}$ is the start of the bottleneck and $t_{nextBN}$ is the generation before the following bottleneck (once a day I think? so, $\sim$6 generations per cycle if I remember correctly). In the Lenski lines, the population grows rapidly from inhabiting a new environment on the fresh plate, so we can assume the growth rate is exponential with some rate $\gamma$ (e-folds per generation). Now we have:
$\frac{1}{N_e} = \frac{1}{t_{nextBN}-t_{BN}} \sum_{t=t_{BN}}^{t_{nextBN}} \frac{1}{N_0 e^{\gamma t}} = \frac{1}{\Delta t N_0} \sum_{0}^{\Delta t} \frac{1}{e^{\gamma t}}$
In the second expression I have defined $\Delta t = (t_{nextBN} - t_{BN})$ as the time between bottlenecks, and the sums are equal because we are free to start counting generations at $t_{BN} = 0$. I also pulled the constant $N_0$ out of the sum.
Computing the sum of the series over a finite number of generations $\Delta t$, we find the following:
$\frac{1}{N_e} = \frac{1}{\Delta t N_0} \frac{ \left(e^{\gamma} - e^{-\Delta t \gamma}\right)}{\left(e^{\gamma }-1\right) }$
Now, I looked up Lenski's 1991 paper (here: https://www.jstor.org/stable/2462549?casa_token=dNMGpr9sBFcAAAAA:BrRjPHxwmxAuegCuN8eHFXr2w4slkPLJwTOrpD6nQRIHsx6ukS4kWaIYHtPuwgxWQ9j7G_6ICPpCTKZA7XW0izImSN_-7wwXpS_lnGWhJSN3PbWRiSU) and he states (in the same section) that $N_0 \sim 5\times 10^6$, $N_f \sim 5 \times 10^{8}$; if $ N_f = N_0 e^{\gamma \Delta t}$ and $\Delta t \sim 6$ (assuming the cycle is once per day), we find that the growth rate for each bottleneck is roughly $\gamma \sim 0.75$ (in that ballpark). This is extremely quick growth, so the $e^{\gamma}$ terms in the numerator of the above expression dominate over $e^{-\gamma \Delta t}$. This means we can approximate the inverse effective population size as follows.
$\frac{1}{N_e} \approx \frac{1}{\Delta t N_0} \frac{e^{\gamma} }{e^{\gamma}-1} \sim \frac{2}{\Delta t N_0}$
Note, there is a factor of roughly 2 here that I suppose Lenski is ignoring? Using Lenski's variable $g = \Delta t$, this reproduces the relationship he quoted, up to a factor of $\frac{e^{\gamma}-1}{e^{\gamma}} \approx \frac{1}{2}$:
$N_e \approx \frac{1}{2} g N_0$
As a little tip, if you ever have a population genetics question you're not sure about, just scour Kimura's papers. Everything you can ever think of is sitting in one of them, including this question: https://www.jstor.org/stable/2406157?casa_token=cWTvTL8k29QAAAAA:GVDLvS2SL7FJioYREhU0qjAIU5ynBpcncl7Z8r7xZh6S_PQWIVh2Di0bKt9BbVgfJIo-O-CMiFudnSnDMjmwzth1YDTA_EoPoQ7jATWxuzzR2gzcke4
EDIT: I initially introduced a sign error in the penultimate expression, which was originally $\frac{1}{N_e} \approx \frac{1}{\Delta t N_0} \frac{e^{\gamma} }{e^{\gamma}+1} \sim \frac{1}{\Delta t N_0}$, where there was a negligible factor of roughly 2/3 from $\gamma=0.75$ that can be treated as approximately 1. The above text is now corrected, and has an apparent factor of 2 that would need to be dropped to match Lenski's expression.