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(2^2011);

Calculate

next_prime

i:1 ;

i : next_prime(i);

Calculate

next_prime

next_prime(10^700);

Calculate

next_prime

q1:next_prime(2232344...

q2:next_prime(4455664...

q=q1*q2;

Calculate

next_prime

next_prime(770);

Calculate

next_prime-random

next_prime(9999999999...

random(2^100);

Calculate

next_prime

next_prime(9);

Calculate

next_prime-random

next_prime(9999999999...

random(2^100);

Calculate

next_prime

p1:next_prime(7777777);

p2:next_prime(88888888);

Calculate

next_prime

next_prime(523);

Calculate