Count in factors: Difference between revisions

Line 2,225:
 
{{FormulaeEntry|page=https://formulae.org/?script=examples/Count_in_factors}}
 
'''Solution'''
 
The '''Factor''' expression reduces to a list of the primer factors of a given number.
 
We cannot create the multiplication directly, because it would be reduced immediately to its value. We can make use of the reflection capabilities:
 
[[File:Fōrmulæ - Count in factors 01.png]]
 
[[File:Fōrmulæ - Count in factors 02.png]]
 
[[File:Fōrmulæ - Count in factors 03.png]]
 
[[File:Fōrmulæ - Count in factors 04.png]]
 
[[File:Fōrmulæ - Count in factors 05.png]]
 
=={{header|Go}}==
2,120

edits