Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Divsum Calculator

Divsum

Function: divsum (<n>, <k>)

d(n):=divsum(n)-n;
abu(n):=if d(n) > n then true else false;
l : list();
 for i : 0 thru 100 do (if abu(i) then (print(i,d(i)),l:append(l,list(i))));
l;

Function: divsum (<n>) divsum (<n>, <k>) returns the sum of the divisors of <n> raised to the <k>th power.

divsum (<n>) returns the sum of the divisors of <n>.

          (%i1) divsum (12);
          (%o1)                          28
          (%i2) 1 + 2 + 3 + 4 + 6 + 12;
          (%o2)                          28
          (%i3) divsum (12, 2);
          (%o3)                          210
          (%i4) 1^2 + 2^2 + 3^2 + 4^2 + 6^2 + 12^2;
          (%o4)                          210

(%o1)                                true
(%i2) 

Divsum Example

Related Examples

divsum-numer

divsum(5^4*13^5*43^2*...

Calculate

divsum-numer

divsum(5^2*7*13*19*23...

Calculate

divsum-numer

divsum(5^2*7^5*13^5*1...

Calculate

divsum-numer

divsum(5^2*41*43*47*5...

Calculate

divsum-numer

divsum(2*2)/(2*2*2), ...

Calculate

divsum-numer

divsum(3*5*7*41)/(3*5...

Calculate

divsum-numer

divsum(5^2*41*43*47*5...

Calculate

divsum-numer

divsum(5^3*7^3*13^2*1...

Calculate

divsum-numer

divsum(5^3*7^3*13*19*...

Calculate

divsum-numer

divsum(5^20*7^20*13^2...

Calculate