Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Obase

-- Option variable: obase Default value: 10

`obase` is the base for integers displayed by Maxima. `obase` may be assigned any integer between 2 and 36 (decimal), inclusive. When `obase` is greater than 10, the numerals comprise the decimal numerals 0 through 9 plus capital letters of the alphabet A, B, C, ..., as needed. A leading 0 digit is displayed if the leading digit is otherwise a letter. The numerals for base 36, the largest acceptable base, comprise 0 through 9, and A through Z.

See also `ibase`.

Examples:

```          (%i1) obase : 2;
(%o1)                          10
(%i2) 2^8 - 1;
(%o10)                      11111111
(%i3) obase : 8;
(%o3)                          10
(%i4) 8^8 - 1;
(%o4)                       77777777
(%i5) obase : 16;
(%o5)                          10
(%i6) 16^8 - 1;
(%o6)                       0FFFFFFFF
(%i7) obase : 36;
(%o7)                          10
(%i8) 36^8 - 1;
(%o8)                       0ZZZZZZZZ```

```(%o1)                                true
(%i2) ```

### Related Examples

obase:4;

5;

Calculate

obase:16;

195;

Calculate

obase:16;

195;

Calculate

obase:16.;

14;

Calculate

obase:16;

37;

Calculate

obase:4;

4;

Calculate

obase: 2;

64;

Calculate

n:9;

obase:2;

n;

Calculate

obase:11;

13;

Calculate

##### obase

obase:11;

4;

Calculate 