I am a regular Overleaf user. I wanted to compile $\mathbb{5}$. I can do it for $\mathbb{1}$(Or like $\mathbb{1}$). I have read this.
I have used this set of packages alongside the other necessary packages.
\usepackage{bbm} %%(The \mathbb{} effect for 1 only)
%\usepackage{newtxmath} %%(The \mathbb{} effect for digits)
%\usepackage{unicode-math} %(Only works with LuaLatex)
\usepackage{dsfont}
The only time I have a positive return is the case when I use usepackage{newtxmath}. But when I use the package, it ruins the whole text of the pdf.

\mathds{5}is not working for me. – Ralph Clausen Oct 14 '20 at 10:45