Question

1. Consider the function h:Z+ +Z+ defined by h(n) = l{k e Z+ : k|n}l. The bars around the set mean that we are taking the siz
0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a) Obviously h(1)=1 and for a prime number p , f(p) = 2 since its only divisors are 1 and itself.

1 2 3 4 5 6 7 8 9 10
1 2 2 3 2 4 2 4 3 4

For the other values one checks it manually,

(b) First note that 90 = 2 x 32 x 5 . All the divisors of 90 are of the form 2^{\varepsilon_2} \times 3^{\varepsilon_3} \times 5^{\varepsilon_5} for \varepsilon_2 \in \{ 0,1\} , \varepsilon_3 \in \{ 0,1,2\} and \varepsilon_5 \in \{ 0,1\} . So, the positive divisors of 90 are in correspondence with how many combinations of exponents we can choose. In this case, h(90) =(1+1)\times (2+1)\times (1+1) = 12 .

(c) All the divisors of 2^m are 2^0 , 2^1 ,\dots, 2^m . Therefore, h(m) = m+1 .

(d) The function is not one-to-one. As we saw in (a), h(2) = h(3) = 2 . That is, two different values have the same output.

(e) The function is onto. Indeed, for n \in \mathbb Z^+ we have h(2^{n-1}) = (n-1)+1=n as we saw in (c).

(f) The set h^{\leftarrow} (2) is the set of prime numbers. Note that for n>1 we have that h(n)\geqslant 2 since 1 and n are always divisors. If h(n) = 2 it means that n does not have any other divisor, hence it is prime.

Add a comment
Know the answer?
Add Answer to:
1. Consider the function h:Z+ +Z+ defined by h(n) = l{k e Z+ : k|n}l. The...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT