prime case function?

45 Views Asked by At

Does there exist a name (or assigned to a mathemtician) for a case function $f(x)$ in literature, such that it twould take the value $1$ when $x$ primes, and zero otherwise?

I am just looking for a reference.

Thanks in advance.