Questions tagged [factor]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

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 ...
goelakash's user avatar
  • 121
9 votes
2 answers

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 ...
Aadit M Shah's user avatar
  • 1,618
8 votes
1 answer

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 ...
Andrea's user avatar
  • 5,365