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

primep(37462350986754...

next_prime(3746235098...

primep(37462350986754...

Calculate

next_prime

a:56;

a:next_prime (a);

Calculate

next_prime

x:next_prime(11579208...

x+1;

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

next_prime

next_prime(9999999999...

Calculate

next_prime

p1:next_prime(655674);

Calculate

next_prime

next_prime(10^1000+33...

Calculate

next_prime-prev_prime-random

syt1: 1 + random(6);

sat1: 3+random(7);

leveys1: syt1*next_pr...

Calculate

next_prime

next_prime(54353424);

p:54353459;

zn_primeroot(p);

Calculate