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:

Prev_prime Calculator

Prev_prime

Function: prev_prime (<n>) Returns the greatest prime smaller than <n>.

prev_prime(768);

          (%i1) prev_prime(27);
          (%o1)                       23

(%o1)                                true
(%i2) 

Prev_prime Example

Related Examples

prev_prime

prev_prime(2017);

Calculate

prev_prime

prev_prime(2000000000);

Calculate

prev_prime

prev_prime(7791257157...

Calculate

prev_prime

100!-prev_prime(100!);

Calculate

prev_prime

prev_prime(9509323);

Calculate

prev_prime-random

prev_prime(random(2^2...

Calculate

prev_prime

prev_prime(100);

Calculate

prev_prime

? prev_prime;

Calculate

prev_prime

prev_prime(2^2000);

Calculate

prev_prime

prev_prime(27*10^85);

Calculate