Is there a simple way to break apart a number into its factors? And possibly isolate them?
For example, if I input the number 12, it'd output 1, 2, 3, 4, 6, or 12.
What I'm trying to do is detect when a number is, say, divisible by 3. So I could crack the number into its factors and if the second or third factor is a 3 I'm golden. If there were a math expression like "factor(x, y)" where x = the number to deconstruct and y = the factor to pull out I'd be luckier than a box of breakfast cereal, but I couldn't find anything like it in the System Expressions section.
Thanks in advance!
(I dug through the manual and did some searches through the "How Do I...?" section and I couldn't find a solution, probably because of how often the word "factor" is used outside of math.)