A six-digit number has the form $bbcadd$, where $0\le a<b<c<d\le9$, $b$ is the average of $a$ and $c$, and $c$ is the average of $b$ and $d$. How many such numbers are there?
The two conditions say $b-a=c-b=d-c$, so $a,b,c,d$ is an arithmetic sequence $a,\ a+r,\ a+2r,\ a+3r$ with $r\ge1$. Since $b>a\ge0$, the number does not start with $0$.
We need $a+3r\le9$. For $r=1$, $a=0,\dots,6$ ($7$ numbers); for $r=2$, $a=0,\dots,3$ ($4$ numbers); for $r=3$, $a=0$ ($1$ number); for $r\ge4$, there are none.