### The Maxima on-line user's manual

Algebra Calculator

#### Evenp

Function: evenp (<expr>) Returns `true` if <expr> is an even integer. `false` is returned in all other cases.

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

### Related Examples

##### evenp-sublist

L: [1, 7, 2, 9];

sublist (L, evenp);

Calculate

##### evenp-first-if-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

##### evenp-first-if-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

##### evenp-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

##### evenp-first-if-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

? evenp;

Calculate

##### evenp-sublist

a:[1,2,3,4,2,1,4,2,1];

sublist([1,2,3,4,2,1,...

Calculate

##### evenp-if-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

##### evenp-indices-sublist_indices

a: [1,2,3,4,5,6];

b: [6,5,4,3,2,1];

id: sublist_indices(a...

Calculate

##### evenp-first-if-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate