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:

Next_prime Calculator

Next_prime

Function: next_prime (<n>) Returns the smallest prime bigger than <n>.

          (%i1) next_prime(27);
          (%o1)                       29

(%o1)                                true
(%i2) 

Next_prime Example

Related Examples

next_prime

next_prime(1);

Calculate

next_prime

next_prime(522);

Calculate

next_prime-totient

q1:next_prime(7846564...

q2:next_prime(44468468);

q:q1*q2;

Calculate

next_prime

p:next_prime(13453531);

Calculate

next_prime

p1:next_prime(2222222);

p2:next_prime(3333333);

P:p1*p2;

Calculate

next_prime

p1:next_prime(1213468...

p2:next_prime(1684684...

p:p1*p2;

Calculate

next_prime

p2:next_prime(1111111...

Calculate

next_prime

i: next_prime(3);

i;

Calculate

next_prime

next_prime(9999999999...

Calculate

next_prime

p1:next_prime(1111111...

p2:next_prime(2133345...

p:p1*p2;

Calculate