The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A268237

From the Fouriest transform of n: write n in that base b >= 4 which maximizes the number of 4's; in case of a tie pick the smallest b; sequence gives the base b.