Consider the following formula which defines a piece-wise function which I believe corresponds to a series representation for the Dirac delta function $\delta(x)$. The parameter $f$ is the evaluation frequency and assumed to be a positive integer, and the evaluation limit $N$ must be selected such that $M(N)=0$ where $M(x)=\sum\limits_{n\le x}\mu(n)$ is the Mertens function.
(1) $\quad\delta(x)=\underset{N,f\to\infty}{\text{lim}}\ 2\left.\sum\limits_{n=1}^N\frac{\mu(n)}{n}\sum\limits_{k=1}^{f\ n}\ \left(\left\{ \begin{array}{cc} \begin{array}{cc} \cos \left(\frac{2 k \pi (x+1)}{n}\right) & x\geq 0 \\ \cos \left(\frac{2 k \pi (x-1)}{n}\right) & x<0 \\ \end{array} \\ \end{array} \right.\right.\right),\quad M(N)=0$
The following figure illustrates formula (1) above evaluated at $N=39$ and $f=4$. The red discrete dots in figure (1) below illustrate the evaluation of formula (1) at integer values of $x$. I believe formula (1) always evaluates to exactly $2\ f$ at $x=0$ and exactly to zero at other integer values of $x$.
Figure (1): Illustration of formula (1) for $\delta(x)$
Now consider formula (2) below derived from the integral $f(0)=\int_{-\infty}^{\infty}\delta(x)\ f(x)\, dx$ where $f(x)=e^{-\left| x\right|}$ and formula (1) above for $\delta(x)$ was used to evaluate the integral. Formula (2) below can also be evaluated as illustrated in formula (3) below.
(2) $\quad e^{-\left| 0\right|}=1=\underset{N,f\to\infty}{\text{lim}}\ 4\sum\limits_{n=1}^N\mu(n)\sum\limits_{k=1}^{f\ n}\frac{n\ \cos\left(\frac{2\ \pi\ k}{n}\right)-2\ \pi\ k\ \sin\left(\frac{2\ \pi\ k}{n}\right)}{4\ \pi^2\ k^2+n^2}\,,\quad M(N)=0$
(3) $\quad e^{-\left| 0\right|}=1=\underset{N\to\infty}{\text{lim}}\ \mu(1)\left(\coth\left(\frac{1}{2}\right)-2\right)+4\sum\limits_{n=2}^N\frac{\mu(n)}{4 e \left(e^n-1\right) n}\\\\$ $\left(-2 e^{n+1}+e^n n+e^2 n-e \left(e^n-1\right) \left(e^{-\frac{2 i \pi }{n}}\right)^{\frac{i n}{2 \pi }} B_{e^{-\frac{2 i \pi }{n}}}\left(1-\frac{i n}{2 \pi },-1\right)+e \left(e^n-1\right) \left(e^{-\frac{2 i \pi }{n}}\right)^{-\frac{i n}{2 \pi }} B_{e^{-\frac{2 i \pi }{n}}}\left(\frac{i n}{2 \pi }+1,-1\right)+\left(e^n-1\right) \left(B_{e^{\frac{2 i \pi }{n}}}\left(1-\frac{i n}{2 \pi },-1\right)-e^2 B_{e^{\frac{2 i \pi }{n}}}\left(\frac{i n}{2 \pi }+1,-1\right)\right)+2 e\right),\quad M(N)=0$
The following table illustrates formula (3) above evaluated for several values of $N$ corresponding to zeros of the Mertens function $M(x)$. Note formula (3) above seems to converge to $e^{-\left| 0\right|}=1$ as the magnitude of the evaluation limit $N$ increases.
$$\begin{array}{ccc} n & \text{N=$n^{th}$ zero of $M(x)$} & \text{Evaluation of formula (3) for $e^{-\left| 0\right|}$} \\ 10 & 150 & 0.973479\, +\ i\ \text{5.498812269991985$\grave{ }$*${}^{\wedge}$-17} \\ 20 & 236 & 0.982236\, -\ i\ \text{5.786047752866836$\grave{ }$*${}^{\wedge}$-17} \\ 30 & 358 & 0.988729\, -\ i\ \text{6.577233629689039$\grave{ }$*${}^{\wedge}$-17} \\ 40 & 407 & 0.989363\, +\ i\ \text{2.6889189402888207$\grave{ }$*${}^{\wedge}$-17} \\ 50 & 427 & 0.989387\, +\ i\ \text{4.472005325912989$\grave{ }$*${}^{\wedge}$-17} \\ 60 & 785 & 0.995546\, +\ i\ \text{6.227857765313369$\grave{ }$*${}^{\wedge}$-18} \\ 70 & 825 & 0.995466\, -\ i\ \text{1.6606923419056456$\grave{ }$*${}^{\wedge}$-17} \\ 80 & 893 & 0.995653\, -\ i\ \text{1.1882293286557667$\grave{ }$*${}^{\wedge}$-17} \\ 90 & 916 & 0.995653\, -\ i\ \text{3.521050901644269$\grave{ }$*${}^{\wedge}$-17} \\ 100 & 1220 & 0.997431\, -\ i\ \text{1.2549006768893629$\grave{ }$*${}^{\wedge}$-16} \\ \end{array}$$
Finally consider the following three formulas derived from the Fourier convolution $f(y)=\int\limits_{-\infty}^\infty\delta(x)\ f(y-x)\ dx$ where all three convolutions were evaluated using formula (1) above for $\delta(x)$.
(4) $\quad e^{-\left|y\right|}=\underset{N,f\to\infty}{\text{lim}}\ 4\sum\limits_{n=1}^N\mu(n)\sum\limits_{k=1}^{f\ n}\frac{1}{4\ \pi^2\ k^2+n^2}\ \left(\left\{ \begin{array}{cc} \begin{array}{cc} n \cos\left(\frac{2\ k\ \pi\ (y+1)}{n}\right)-2\ k\ \pi\ e^{-y} \sin\left(\frac{2\ k\ \pi}{n}\right) & y\geq 0 \\ n \cos\left(\frac{2\ k\ \pi\ (y-1)}{n}\right)-2\ k\ \pi\ e^y \sin\left(\frac{2\ k\ \pi}{n}\right) & y<0 \\ \end{array} \\ \end{array}\right.\right),\ M(N)=0$
(5) $\quad e^{-y^2}=\underset{N,f\to\infty}{\text{lim}}\ \sqrt{\pi}\sum\limits_{n=1}^N\frac{\mu(n)}{n}\\\\$ $\ \sum\limits_{k=1}^{f\ n}e^{-\frac{\pi\ k\ (\pi\ k+2\ i\ n\ y)}{n^2}}\ \left(\left(1+e^{\frac{4\ i\ \pi\ k\ y}{n}}\right) \cos\left(\frac{2\ \pi\ k}{n}\right)-\sin\left(\frac{2\ \pi\ k}{n}\right) \left(\text{erfi}\left(\frac{\pi\ k}{n}+i\ y\right)+e^{\frac{4\ i\ \pi\ k\ y}{n}} \text{erfi}\left(\frac{\pi\ k}{n}-i\ y\right)\right)\right),\ M(N)=0$
(6) $\quad\sin(y)\ e^{-y^2}=\underset{N,f\to\infty}{\text{lim}}\ \frac{1}{2} \left(i \sqrt{\pi }\right)\sum\limits _{n=1}^{\text{nMax}} \frac{\mu(n)}{n}\sum\limits_{k=1}^{f n} e^{-\frac{(2 \pi k+n)^2+8 i \pi k n y}{4 n^2}} \left(-\left(e^{\frac{2 \pi k}{n}}-1\right) \left(-1+e^{\frac{4 i \pi k y}{n}}\right) \cos\left(\frac{2 \pi k}{n}\right)+\right.\\\\$ $\left.\sin\left(\frac{2 \pi k}{n}\right) \left(\text{erfi}\left(\frac{\pi k}{n}+i y+\frac{1}{2}\right)-e^{\frac{4 i \pi k y}{n}} \left(e^{\frac{2 \pi k}{n}} \text{erfi}\left(-\frac{\pi k}{n}+i y+\frac{1}{2}\right)+\text{erfi}\left(\frac{\pi k}{n}-i y+\frac{1}{2}\right)\right)+e^{\frac{2 \pi k}{n}} \text{erfi}\left(-\frac{\pi k}{n}-i y+\frac{1}{2}\right)\right)\right),\qquad M(N)=0$
Formulas (4), (5), and (6) defined above are illustrated in the following three figures where the blue curves are the reference functions, the orange curves represent formulas (4), (5), and (6) above evaluated at $f=4$ and $N=39$, and the green curves represent formulas (4), (5), and (6) above evaluated at $f=4$ and $N=101$. The three figures below illustrate formulas (4), (5), and (6) above seem to converge to the corresponding reference function for $x\in\mathbb{R}$ as the evaluation limit $N$ is increased. Note formula (6) above for $\sin(y)\ e^{-y^2}$ illustrated in Figure (4) below seems to converge much faster than formulas (4) and (5) above perhaps because formula (6) represents an odd function whereas formulas (4) and (5) both represent even functions.
Figure (2): Illustration of formula (4) for $e^{-\left|y\right|}$ evaluated at $N=39$ (orange curve) and $N=101$ (green curve) overlaid on the reference function in blue
Figure (3): Illustration of formula (5) for $e^{-y^2}$ evaluated at $N=39$ (orange curve) and $N=101$ (green curve) overlaid on the reference function in blue
Figure (4): Illustration of formula (6) for $\sin(y)\ e^{-y^2}$ evaluated at $N=39$ (orange curve) and $N=101$ (green curve) overlaid on the reference function in blue
Question (1): Is it true formula (1) above is an example of a series representation of the Dirac delta function $\delta(x)$?
Question (2): What is the class or space of functions $f(x)$ for which the integral $f(0)=\int\limits_{-\infty}^\infty\delta(x)\ f(x)\ dx$ and Fourier convolution $f(y)=\int\limits_{-\infty}^\infty\delta(x)\ f(y-x)\ dx$ are both valid when using formula (1) above for $\delta(x)$ to evaluate the integral and Fourier convolution?
Question (3): Is formula (1) above for $\delta(x)$ an example of what is referred to as a tempered distribution, or is formula (1) for $\delta(x)$ more general than a tempered distribution?
Formula (1) for $\delta(x)$ above is based on the nested Fourier series representation of $\delta(x+1)+\delta(x-1)$ defined in formula (7) below. Whereas the Fourier convolution $f(y)=\int\limits_{-\infty}^\infty\delta(x)\ f(y-x)\ dx$ evaluated using formula (1) above seems to converge for $y\in\mathbb{R}$, Mellin convolutions such as $f(y)=\int\limits_0^\infty\delta(x-1)\ f\left(\frac{y}{x}\right)\ \frac{dx}{x}$ and $f(y)=\int\limits_0^\infty\delta(x-1)\ f(y\ x)\ dx$ evaluated using formula (7) below typically seem to converge on the half-plane $\Re(y)>0$. I'll note that in general formulas derived from Fourier convolutions evaluated using formula (1) above seem to be more complicated than formulas derived from Mellin convolutions evaluated using formula (7) below which I suspect is at least partially related to the extra complexity of the piece-wise nature of formula (1) above.
(7) $\quad\delta(x+1)+\delta(x-1)=\underset{N,f\to\infty}{\text{lim}}\ 2\sum\limits_{n=1}^N\frac{\mu(n)}{n}\sum\limits_{k=1}^{f\ n}\cos\left(\frac{2 k \pi x}{n}\right),\quad M(N)=0$
The conditional convergence requirement $M(N)=0$ stated for formulas (1) to (7) above is because the nested Fourier series representation of $\delta(x+1)+\delta(x-1)$ defined in formula (7) above only evaluates to zero at $x=0$ when $M(N)=0$. The condition $M(N)=0$ is required when evaluating formula (7) above and formulas derived from the two Mellin convolutions defined in the preceding paragraph using formula (7) above, but I'm not sure it's really necessary when evaluating formula (1) above or formulas derived from the Fourier convolution $f(y)=\int\limits_{-\infty}^\infty\delta(x)\ f(y-x)\ dx$ using formula (1) above (e.g. formulas (4), (5), and (6) above). Formula (1) above is based on the evaluation of formula (7) above at $|x|\ge 1$, so perhaps formula (1) above is not as sensitive to the evaluation of formula (7) above at $x=0$. Formula (1) above can be seen as taking formula (7) above, cutting out the strip $-1\le x<1$, and then gluing the two remaining halves together at the origin. Nevertheless I usually evaluate formula (1) above and formulas derived from the Fourier convolution $f(y)=\int\limits_{-\infty}^\infty\delta(x)\ f(y-x)\ dx$ using formula (1) above at $M(N)=0$ since it doesn't hurt anything to restrict the selection of $N$ to this condition and I suspect this restriction may perhaps lead to faster and/or more consistent convergence.
See this answer I posted to one of my own questions on Math StackExchange for more information on the nested Fourier series representation of $\delta(x+1)+\delta(x-1)$ and examples of formulas derived from Mellin convolutions using this representation. See my Math StackExchange question related to nested Fourier series representation of $h(s)=\frac{i s}{s^2-1}$ for information on the more general topic of nested Fourier series representations of other non-periodic functions.