$5$-smooth numbers are numbers whose largest prime factor doesn’t exceed $5$. $5$-smooth numbers are also called Hamming numbers. Let $S(L)$ be the sum of the numbers $n$...
A geoboard (of order $N$) is a square board with equally-spaced pins protruding from the surface, representing an integer point lattice for coordinates $0 \le x, y...
Let $\varphi(n)$ be Euler’s totient function. Let $f(n)=(\sum_{i=1}^{n}\varphi(n^i)) \bmod (n+1)$. Let $g(n)=\sum_{i=1}^{n} f(i)$. $g(100)=2007$. Find $g(5 \times 10^8)$. To solve this problem, we can use dynamic programming...
Let $Seq(n,k)$ be the number of positive-integer sequences $\{a_i\}_{1 \le i \le n}$ of length $n$ such that: $n$ is divisible by $a_i$ for $1 \le i...