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
You can't.
The prime factors of a number are a property of the number itself, not its representation in any particular base. As a simple example, there is no prime factor of 11 that is less than 8.