2 ms·
You could use rejection sampling to simply drop the digits that are 8 or 9, then you'd have a base 8 number to work with.
by mark-r 8y ago
You could use rejection sampling to simply drop the digits that are 8 or 9, then you'd have a base 8 number to work with.