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

p:next_prime(57564);

g:zn_primroot(p);

g;

Calculate

next_prime

next_prime(2000);

Calculate

next_prime

a=next_prime(11579208...

Calculate

next_prime-totient

p1:next_prime(45782354);

p2:next_prime(928434);

p:p1*p2;

Calculate

next_prime

p1:next_prime(7777777);

Calculate

next_prime

next_prime(9999999999...

Calculate

next_prime

next_prime(123123123);

Calculate

next_prime-primep

primep(37462350986754...

next_prime(3746235098...

primep(37462350986754...

Calculate

next_prime-primep

next_prime(123123123);

primep(123123123);

nod(7,3);

Calculate

next_prime

next_prime(5747863247...

Calculate