HP 33s Owner's Manual page 289

Rpn/alg scientific calculator
Hide thumbs Also See for 33s:
Table of Contents

Advertisement

Program Lines:
(In RPN mode)
 
  
  
Checksum and length: 51D2 54
Flags Used:
None.
Program Instructions:
1. Key in the program routines; press
2. Key in a positive integer greater than 3.
t
3. Press
4. To see the next prime number, press
Variables Used:
P
D
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 RPN mode)
t
789
P
¥
File name 33s-E-Manual-1008-Publication(1st).doc
Printed Date : 2003/10/8
routine.
Calculates the next possible factor, D + 2.
Branches to test potential prime with new factor.
P to run program. Prime number, P will be displayed.
Prime value and potential prime values.
Divisor used to test the current value of P.
Display:




Miscellaneous Programs and Equations
Size : 13.7 x 21.2 cm
Description
Å
when done.
¥
.
Description:
Calculates next prime number
after 789.
Calculates next prime number
after 797.
Page : 386
17–9

Advertisement

Table of Contents
loading

Table of Contents