Talk:Product of divisors: Difference between revisions

There are other algorithms other than the obvious one...
(Choosing the right abstraction - this is a double duplicate)
 
(There are other algorithms other than the obvious one...)
 
(6 intermediate revisions by one other user not shown)
Line 7:
 
[[User:Hout|Hout]] ([[User talk:Hout|talk]]) 17:42, 20 December 2020 (UTC)
 
There are numbers called divisorial related to that problem.
Single responsability. It is like creating the sigma function with all the cases or to use gamma function instead of factorial.
http://oeis.org/wiki/Divisorial
--Blek
 
== There are alternative algorithms ==
... for calculating the sum/product of the divisors that don't rely on enumerating the divisors and then summing/multiplying them (As in Simonjsaunders demonstrates with the C++ sample) for this and the Sum Of Divisors Task. --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 20:58, 21 December 2020 (UTC)
3,021

edits