Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Number theory
Reply
 
Thread Tools Display Modes
  #1  
Old November 1st, 2009, 06:44 PM
Newbie
 
Join Date: Sep 2009
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
tanvi.azgaonkar is on a distinguished road
Default Divisors from Prime Factors

Hello all,

Suppose I have prime factors of a number , from the prime factors how can I find distinct divisors of a number.

Eg :
12 = 2*2*3 ( I have 2,2,3 as prime factors )

I need to find divisors of 12 or atleast Number of distinct divisors of 12 ( 4 in this case )
2,3,4,6
Reply With Quote
Advertisement
 
  #2  
Old November 1st, 2009, 07:48 PM
Newbie
 
Join Date: Nov 2009
Posts: 13
Thanks: 0
Thanked 8 Times in 6 Posts
umgambit is on a distinguished road
Default

Well, if n is decomposed as
n=p1^{\alpha_1}p_2^{\alpha 2}\dots p_k^{\alpha_k}
all divisors of n are of the form
n=p1^{\beta_1}p_2^{\beta 2}\dots p_k^{\beta_k}
where
0\leq \beta_j\leq \alpha_j
Note that
\beta_j has(\alpha_j+1)
possible values, hence the total number of divisors of n is
(\alpha_1+1)(\alpha_2+2)...(\alpha_k+1)
For example 12=2^2.3^1
\alpha_1=2,\alpha_2=1
and 12 has (2+1)(1+1)=6 divisors: 1,2,3,4,6,12.
Reply With Quote
  #3  
Old November 2nd, 2009, 07:40 PM
Newbie
 
Join Date: Sep 2009
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
tanvi.azgaonkar is on a distinguished road
Default

(a1 + 1)(a2 + 2)..... (ak + 1)
are you sure (a2+2) or (a2+1) ?
also assuming its all additive to 1
say 16 = 2^4;
whats the number of divisors from this method ?

Tanvi

Thanks lot for the head start !
Reply With Quote
  #4  
Old November 3rd, 2009, 02:39 AM
Newbie
 
Join Date: Nov 2009
Posts: 13
Thanks: 0
Thanked 8 Times in 6 Posts
umgambit is on a distinguished road
Default

Of course, I meant (a2+1), it's a typo-

For 16=2^4:

you only have one alpha: alpha_1=4, hence (4+1) divisors: 1,2,4,8, and 16.

Greetings
Reply With Quote
The following users thank umgambit for this useful post:
Donate to MHF
  #5  
Old November 3rd, 2009, 08:42 AM
Newbie
 
Join Date: Sep 2009
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
tanvi.azgaonkar is on a distinguished road
Default

Thanks it helped !!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 02:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.