Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Append

Function: append (<list_1>, ..., <list_n>) Returns a single list of the elements of <list_1> followed by the elements of <list_2>, ... append also works on general expressions, e.g. append (f(a,b), f(c,d,e)); yields f(a,b,c,d,e).

d(n):=divsum(n)-n;
abu(n):=if d(n) > n then true else false;
l : list();
 for i : 0 thru 100 do (if abu(i) then (print(i,d(i)),l:append(l,list(i))));
l;

Do example(append); for an example.

There are also some inexact matches for append. Try ?? append to see them.

(%o1)                                true
(%i2) 

Related Examples

append-display

a: [];

display(a);

append(a,[1]);

Calculate

append-block-length-return

M:[A,C,T,T,A,C,T,A];

K:[T,A,C];

find(s, l):=block([an...

Calculate

append-atom-block-delete-flatten-if-lambda-load-map-return

intersperse2(things, ...

intersperse2(0, [-1, ...

intersperse2([0, 0], ...

Calculate

append-if-let

:lisp (defvar *my-lis...

:lisp (defun levels (...

:lisp (levels *my-lis...

Calculate

append

append([1,2,3], [8]);

Calculate

append

append([1,0], [1,1,0]);

Calculate

append-lambda-makelist-sublist

nbrs:makelist(x,x,-10...

ta1:sublist(nbrs,lamb...

append(makelist(makel...

Calculate

append-block-do-integer_partitions-print

bellp(n,k,x):=block(p...

bellp(2,1,x);

Calculate