### Related

##### next_prime

q1:next_prime(7846564...

q2:next_prime(44468468);

Calculate

##### next_prime-totient

p1:next_prime(7845634...

p2:next_prime(5986758...

p:p1*p2;

Calculate

##### next_prime-totient

p1:next_prime(655674);

p2:next_prime(3535763...

p:p1*p2;

Calculate

##### next_prime-totient

p1:next_prime(7777777);

p2:next_prime(88888888);

p:p1*p2;

Calculate

##### next_prime

next_prime(10^20);

Calculate

##### next_prime

next_prime(10^700);

Calculate

##### next_prime

p:next_prime(52345638...

g:zn_primroot(p);

Calculate

##### next_prime

x:next_prime(11579208...

Calculate

##### next_prime

p:next_prime(52345634...

g:zn_primroot(p);

Calculate

##### next_prime-totient

q1:next_prime(7846564...

q2:next_prime(44468468);

q:q1*q2;

Calculate

### next_prime

Run Example
```(%i1)next_prime((2^128)+1000);
(%o1)               340282366920938463463374607431768212629
(%i2) ```
Run Example
```p= next_prime(2^128);
(%o1)             p = 340282366920938463463374607431768211507
(%i2) q= next_prime(2^128+2^42);
(%o2)             q = 340282366920938463463374611829814722763
(%i3) n= p*q;
(%o3)                               n = p q
(%i4) ```
Run Example
```sin(%pi/2);
(%o1)                                  1
(%i2) cos(%pi/4);
1
(%o2)                               -------
sqrt(2)
(%i3) Binomial(7,3);
(%o3)                           Binomial(7, 3)
(%i4) binomial(7,3);
(%o4)                                 35
(%i5) factor(210);
(%o5)                               2 3 5 7
(%i6) Next_prime(1);
(%o6)                            Next_prime(1)
(%i7) next_prime(1);
(%o7)                                  2
(%i8) next_prime(8);
(%o8)                                 11
(%i9) prev_prime(2009);
(%o9)                                2003
(%o10)     /usr/share/maxima/5.21.1/share/simplification/functs.mac
(%i11) permutation(10,3);
(%o11)                                720