$2^7=128$ is the first power of two whose leading digits are “12”. The next power of two whose leading digits are “12” is $2^{80}$. Define $p(L, n)$...
Writing down the numbers which have a digit sum of 10 in ascending order, we get: $19, 28, 37, 46,55,64,73,82,91,109, 118,\dots$ Let $f(n,m)$ be the $m^{\text{th}}$ occurrence...
Define $s(n)$ to be the smallest number that has a digit sum of $n$. For example $s(10) = 19$. Let $\displaystyle S(k) = \sum_{n=1}^k s(n)$. You are...
Consider the following variant of “The Chase” game. This game is played between $n$ players sitting around a circular table using two dice. It consists of $n-1$...
$5$-smooth numbers are numbers whose largest prime factor doesn’t exceed $5$. $5$-smooth numbers are also called Hamming numbers. Let $\Omega(a)$ be the count of prime factors of...
Let $S$ be the set consisting of the four letters $\{\texttt{`A’},\texttt{`E’},\texttt{`F’},\texttt{`R’}\}$. For $n\ge 0$, let $S^*(n)$ denote the set of words of length $n$ consisting of letters...