The Takagi-van der Waerden function is the generalization
where
is an integer,
, and
is the distance from
to the nearest integer. For
,
this is the blancmange function.
Jiang et al. (2026) extended the digit-based definition of a local level set to every . If the height
is chosen uniformly
from the range of
, the expected number of local
level sets contained in
is
when
is even and
when
is odd (Jiang et al. 2026).