Download  Print this page

HP 35s User Manual Page 280

Scientific calculator.
Hide thumbs

Advertisement

Flags Used:
None.
Program Instructions:
1. Key in the program routines; press
2. Key in a positive integer greater than 3.
P
3. Press
4. To see the next prime number, press
Variables Used:
P
Prime value and potential prime values.
D
Divisor used to test the current value of P.
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?
Keys:
(In ALG mode)

P
17-10
Miscellaneous Programs and Equations
to run program. Prime number, P will be displayed.
Display:




when done.
.
Calculates next prime number after
789.
Calculates next prime number after
797.
Description:

Advertisement

Table of Contents

   Related Manuals for HP 35s

This manual is also suitable for:

F2215aa - 35s scientific calculator

Comments to this Manuals

Symbols: 0
Latest comments: