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

x:2969903923582380658...

next_prime(x);

Calculate

next_prime-prev_prime-random

syt1: 2 + random(3);

sat1: 3+random(4);

if syt1*sat1 >= 20...

Calculate

next_prime-totient

p1:next_prime(7777777);

p2:next_prime(88888888);

p:p1*p2;

Calculate

next_prime

next_prime(7791257157...

Calculate

next_prime

next_prime(54353424);

p:54353459;

zn_primroot(54353459);

Calculate

next_prime

p1:next_prime(7777777);

p2:next_prime(88888888);

Calculate

next_prime

p:next_prime(52345634...

Calculate

next_prime

next_prime(762);

Calculate

next_prime

a:next_prime(23423523...

p:next_prime(23452632...

Calculate

next_prime

x:2969903923582380658...

next_prime(x);

Calculate