flat assembler
Message board for the users of flat assembler.

Index > Heap > Math symbol for factors of N

Author
Thread Post new topic Reply to topic
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
I'm creating ̶s̶u̶m̶ some Math formulas and I was wondering if there's such a thing.

i.e To get the sum of all factors of n
Code:
A = Sum( factorsOf(n) )
    


Or I'm sure someone could come up with a work around formula. Wink


Last edited by typedef on 19 Feb 2015, 21:19; edited 1 time in total
Post 19 Feb 2015, 20:44
View user's profile Send private message Reply with quote
idle



Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
~ n/2 + 2 ?
Post 19 Feb 2015, 20:55
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
typedef wrote:
I'm creating ̶s̶u̶m̶ some Math formulas and I was wondering if there's such a thing.

i.e To get the sum of all factors of n
Code:
A = Sum( factorsOf(n) )
    


Or I'm sure someone could come up with a work around formula. Wink
I guess you may mean the divisor function that is denoted by small sigma symbol:

Image

for x=1.
Post 19 Feb 2015, 21:47
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
MHajduk wrote:
typedef wrote:
I'm creating ̶s̶u̶m̶ some Math formulas and I was wondering if there's such a thing.

i.e To get the sum of all factors of n
Code:
A = Sum( factorsOf(n) )
    


Or I'm sure someone could come up with a work around formula. Wink
I guess you may mean the divisor function that is denoted by small sigma symbol:

Image

for x=1.


Nice find.

After digging from that page I finally found this one Aliquot Sum σ(n). I chose that one because of its clarity for print; less symbols and characters.

So basically,


A = σ(n) + n


Example, σ( 8 ) + 8 = 15

I'm happy !!Very Happy Very Happy Very Happy Very Happy Very Happy
Post 19 Feb 2015, 22:38
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
I'm glad to see that there are people who can feel happy getting to know some facts from Number Theory. Wink
Post 19 Feb 2015, 22:53
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
MHajduk wrote:
I'm glad to see that there are people who can feel happy getting to know some facts from Number Theory. Wink


I'm interested in all things numbers and I also generally rejoice when a problem gets solved.

...

On to the next one Very Happy
Post 19 Feb 2015, 23:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.