[Tutor] Is there an easily or shorter way?

Steven D'Aprano steve at pearwood.info
Tue Dec 16 00:39:08 CET 2014

On Mon, Dec 15, 2014 at 06:04:17PM -0500, Dave Angel wrote:
> On 12/15/2014 05:49 PM, Steven D'Aprano wrote:

> >     nine trillion, two hundred and seventy-four billion,
> >     eight hundred and ten million, two hundred and
> >     seventy-six thousand, five hundred and twenty-three
> That's using the American interpretation for billion and trillion, not 
> the British one.

Even the British use the American interpretation of billion these days. 
Mostly. There are probably still a few hold-outs, but I expect that 
"X-ion" meaning powers of 1000 has pretty much won out.

> >Doing this makes a nice little programming exercise, so I will leave it
> >to you :-)
> "one, two, three, many"
> We only need four values, in some societies...    ;-)

Okay, I'm up to this challenge...

9274810276523 in base 4: "2,012,331,311,301,121,222,223"

    two sextilots,
    onemany-two quinlots,
    three manymany and threemany-one quadlots,
    three manymany and onemany-one trilots,
    three manymany and one bilots,
    one manymany and twomany-one milots,
    two manymany and twomany-two lots,
    two manymany and twomany-three


More information about the Tutor mailing list