Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Say I make a function $f$ that takes a parameter $a$, but I want to make sure that $a$ can only be $\mathbb{N}$, no $\mathbb{Z}$ or $\mathbb{R}$ allowed (as an example), how would I write that in a clear and concise way?

share|improve this question
1  
$f\colon \mathbb{N} \to X$. –  Daniel Fischer Jul 17 '13 at 19:28

1 Answer 1

up vote 4 down vote accepted

Let $f$ be a function whose domain is $\Bbb N$.


Let $a\in \Bbb N$ and define $f(a)=\cdots$.


Let $f\colon \Bbb N\to X$ be a function, for some set $X$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.