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-totient

nod(a,b);

p1:next_prime(1701751...

p2:next_prime(1754308...

Calculate

next_prime-showtime-true

showtime:true;

next_prime(10^15-1);

Calculate

next_prime

x:next_prime(11579208...

Calculate

next_prime

p1:next_prime(7777777);

p2:next_prime(88888888);

p1*p2;

Calculate

next_prime

x:2969903923582380658...

next_prime(x);

Calculate

next_prime

p:next_prime(10^100);

Calculate

next_prime

next_prime(8);

Calculate

next_prime

next_prime(10^1000);

Calculate

next_prime-totient

p1:next_prime(7777777);

p2:next_prime(88888888);

p1*p2;

Calculate

next_prime

x:2969903923582380658...

next_prime(x);

Calculate