Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>:

> On Wed, 8 Apr 2015 03:07 am, jonas.thornv...@gmail.com wrote:
>> Using base 429496729?
>
> That makes no sense. With base 429496729 you need to have 429496729
> different digits.

You can use integers as digits. We already do that when we express times
and angles in base-60. I think even the Babylonians might have used such
structured digits.

>>> x = 
>>> 2932903594368438384328325832983294832483258958495845849584958458435439543858588435856958650865490
>>> while x >= 429496729: x //= 429496729
... 
>>> x
31


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to