For each of the functions f∈{ϕ,σ,ω,τ} and every
natural number k, we show that there are infinitely many solutions to the
inequalities f(pn−1)<f(pn+1−1)<⋯<f(pn+k−1), and similarly
for f(pn−1)>f(pn+1−1)>⋯>f(pn+k−1). We also answer some
questions of Sierpi\'nski on the digit sums of consecutive primes. The
arguments make essential use of Maynard and Tao's method for producing many
primes in intervals of bounded length.Comment: Made some improvements in the organization and expositio