A positive integer, $n$, is factorised into prime factors. We define $f(n)$ to be the product when each prime factor is replaced with $2$. In addition we...
For a positive integer $n$, define $f(n)$ to be the number of non-empty substrings of $n$ that are divisible by $3$. For example, the string “2573” has...
The inversion count of a sequence of digits is the smallest number of adjacent pairs that must be swapped to sort the sequence. For example, $34214$ has...
Define $g(n, m)$ to be the largest integer $k$ such that $2^k$ divides $\binom{n}m$. For example, $\binom{12}5 = 792 = 2^3 \cdot 3^2 \cdot 11$, hence $g(12,...
Given an integer $n$, $n \geq 3$, let $B=\{\mathrm{false},\mathrm{true}\}$ and let $B^n$ be the set of sequences of $n$ values from $B$. The function $f$ from $B^n$...
Consider a rectangle made up of $W \times H$ square cells each with area $1$. Each cell is independently coloured black with probability $0.5$ otherwise white. Black...
Leonhard Euler was born on 15 April 1707. Consider the sequence 1504170715041707n mod 4503599627370517. An element of this sequence is defined to be an Eulercoin if it...