Question No: 373
For each positive integer
, let
be the sum of the digits in the base-four representation of
and let
be the sum of the digits in the base-eight representation of
. For example,
, and
. Let
be the least value of
such that the base-sixteen representation of
cannot be expressed using only the digits
through
. Find the remainder when
is divided by
.