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