EasyManua.ls Logo

HP 35s

HP 35s
382 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
17-10 Miscellaneous Programs and Equations
Flags Used:
None.
Program Instructions:
1. Key in the program routines; press
when done.
2. Key in a positive integer greater than 3.
3. Press
P to run program. Prime number, P will be displayed.
4. To see the next prime number, press .
Variables Used:
Remarks:
No test is made to ensure that the input is greater than 3.
Example:
What is the first prime number after 789? What is the next prime number?
P Prime value and potential prime values.
D Divisor used to test the current value of P.
Keys:
(In ALG mode)
Display: Description:

P


Calculates next prime number after
789.


Calculates next prime number after
797.

Table of Contents

Other manuals for HP 35s

Related product manuals