HP 33s Owner's Manual page 288

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

Advertisement

Program Listing:
Program Lines:
(In RPN mode)
  
  
Checksum and length: AA7A 6
  
 
  
Checksum and length: 8696 21
  
  
 
 
 
 
 
 
  
 
  
Checksum and length: 7B75 81
  
  
  
 
 
  
  


  
 >
  
17–8
Miscellaneous Programs and Equations
File name 33s-E-Manual-1008-Publication(1st).doc
Printed Date : 2003/10/8
Description
This routine displays prime number P.
This routine adds 2 to P.
This routine stores the input value for P.
Tests for even input.
Increments P if input an even number.
Stores 3 in test divisor, D.
This routine tests P to see if it is prime.
Finds the fractional part of P ÷ D.
Tests for a remainder of zero (not prime).
If the number is not prime, tries next possibility.
Tests to see whether all possible factors have been tried.
If all factors have been tried, branches to the display
Size : 13.7 x 21.2 cm
Page : 386

Advertisement

Table of Contents
loading

Table of Contents