How can I get the prime factors of a (non-prime) number, with all the primes being less than a factor base B.
For example if B=8, then the primes used can only be in {2,3,5,7}. And given 48, it returns 2^4 * 3.
Anyone know how to do this in wolfram alpha?
Thanks