Prelude (Disclaimer: This paragraph has no relevance to the actual question, but tries to illustrate the motivation behind my actual elementary question.) During the last days I wondered about the construction of certain Automorphisms of the Galois field extension $\overline{\mathbb{F}}_p\vert \mathbb{F}_p$, where $\mathbb{F}_p$ denotes the field of prime order $p$ and $\overline{\mathbb{F}}_p$ its algebraic closure. In particular I tried to construct a counterexample to the Fundamental Theorem of Galois Theory for non-finite Galois field extensions. For this I showed that the fixed point set of the Automorphism subgroup $\langle\mathrm{Fr}\rangle$ (generated by the Frobenius Automorphism $\mathrm{Fr}\colon x \mapsto x^p$) is only base field $\mathbb{F}_p$. If one now shows that this is a proper subgroup of the Galois group, we have a counterexample to the classical Fundamental Theorem of Galois Theory. Using some field theory one can show that $\overline{\mathbb{F}}_p \cong \bigcup_{d\in\mathbb{N}}\mathbb{F}_{p^d}$ and I reduced the problem to the construction of a Automorphism $$ \psi\colon \overline{\mathbb{F}}_p\to\overline{\mathbb{F}}_p, \psi\vert_{\mathbb{F}_{p^d}} = \mathrm{Fr}^{m(d)} $$ where $m\colon \mathbb{N} \to \mathbb{Z}$ is a function such that $\psi$ is well-defined and $\psi \notin\langle\mathrm{Fr}\rangle$. This question can be reduced onto a simple artihmetic problem which forms my actual question.
Question Is there a function $m\colon \mathbb{N} \to \mathbb{Z}$ such that
- $d\vert m(d\cdot k) - m(d)$
- $d \mapsto (m(d)\mod d)$ takes at least two different values?
Remark I have already resolved my original problem, namely the construction of some Automorphism as above which is no constant multiple of the Frobenius Automorphism, but by slightly different methods. Nevertheless, I am curious if a function $m$ as given above exists.