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-prev_prime-showtime-true

showtime:true;

next_prime(10^15-1);

prev_prime(10^16+1);

Calculate

next_prime

next_prime(9509323);

Calculate

next_prime

next_prime(9999999999...

Calculate

next_prime-totient

q1:next_prime(223232);

q2:next_prime(3232323);

q:q1*q2;

Calculate

next_prime

next_prime( 999999999...

Calculate

next_prime

next_prime(9999999999...

Calculate

next_prime-totient

q1:next_prime(7846564...

q2:next_prime(44468468);

q:q1*q2;

Calculate

next_prime

next_prime(997);

Calculate

next_prime

p:next_prime(2^128);

q:next_prime(2^128+2^...

n:p*q;

Calculate

next_prime-totient

q1=next_prime(9999999);

q2=next_prime(6666666);

q=q1*q2;

Calculate