程序代写 Write a Maple procedure that takes as its argument a positive integer N and

Write a Maple procedure that takes as its argument a positive integer N and calculates the
ratio j/a(j) for each j = 1,.
.., N, where a (j) is the sum of the divisors of j. For example,
a(12) = 1+2+3+4+6+12 = 28.

Copyright By PowCoder代写 加微信 powcoder

The procedure should store the ratios in an array and then construct a table containing the
pairs p, g such that
The table must be returned as the result of the procedure. To gain full marks, your results must
not contain any repeated pairs. Run your procedure for V = 400 and then use the entries
command to display the contents of the table
• To obtain a (j) for a given j, use NumberTheory[SumOfDivisors)(j):
• You can place a pair in a table using square brackets, for example T[1] := [ 6, 28] ;

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com