Questions tagged [factor]
The factor tag has no usage guidance.
3
questions
1
vote
1
answer
216
views
Find all factors(prime and composite) of a number
We can find all the prime factors using a Sieve of Erastothenes. But how do we find ALL the factors of a number?
For instance, 24 = 2x2x2x3
But the complete factor list is - 1,2,3,4,6,8,12,24.
I am ...
9
votes
2
answers
2k
views
Which are the fundamental stack manipulation operations?
I'm creating a stack oriented virtual machine, and so I started learning Forth for a general understanding about how it would work. Then I shortlisted the essential stack manipulation operations I ...
8
votes
1
answer
2k
views
Status of stack based languages
I have recently become curious about Factor, which, as far as I understand, is the most practical stack-based language around. Forth seems not to be used much these days - I think it is because it was ...