MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: mathematica 4.0, base forms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28961] Re: mathematica 4.0, base forms
  • From: Ignacio Rodriguez <ignacio at sgirmn.pluri.ucm.es>
  • Date: Wed, 23 May 2001 01:54:28 -0400 (EDT)
  • Organization: UCM
  • References: <9ea6g1$4so@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

To write numbers in different bases, try IntegerDigits and RealDigits.
They are explained in sec 3.1.3 of the Mathematica Book. For example:

IntegerDigits[3215,100]->{32,15}

Wolfram Oehler wrote:

> Hello,
> does anyone know how to extend Mathematica 4.0's
> capabilities of calculating in 36 numerical bases to
> any number base beyond? In general the numbers 0-9 and
> letters a-z yield 36 numerical expressions and that's
> it. To move beyond, instead of attributing 'a' to 10,
> 'b' to 11 and so on, it should be possible to assign
> these decimal expressions directly to enable quick
> conversion of any given number into any number base in
> question, let's say base 37,38,52 etc.
> Any assistance is highly appreciated. Thank you all.
>                               -Wolfram Oehler-
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

--

Ignacio Rodriguez Ramirez de Arellano
Unidad de RMN
Universidad Complutense
Paseo Juan XXIII, 1
Madrid 28040, Spain

Tel. 34-91-394-3288
Fax  34-91-394-3245
e-mail: ignacio at sgirmn.pluri.ucm.es





  • Prev by Date: From Mathematica Notebook into Native Latex
  • Next by Date: Generating bitmap graphics, not Postscript
  • Previous by thread: mathematica 4.0, base forms
  • Next by thread: Fitting coeff. inside of a Matrix using NonLinear fit,