Enumerating all 3-tuples
Robin Becker
robin at reportlab.com
Tue Mar 13 05:21:48 EDT 2018
On 12/03/2018 18:05, Chris Angelico wrote:
> On Tue, Mar 13, 2018 at 2:54 AM, Robin Becker <robin at reportlab.com> wrote:
>> On 12/03/2018 13:17, Robin Becker wrote:
>> An alternative approach gives more orderly sequences using a variable base
>> number construction
>>
>>> 4 (0, 0, 1)
>>> 9 (0, 0, 1)
>>> 18 (0, 0, 2)
>>> 32 (0, 0, 2)
>
> I spy duplicates.
>
> ChrisA
>
oh well there goes that idea :(
--
Robin Becker
More information about the Python-list
mailing list