EasyManuals Logo

HP 35s User Manual

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
Page #279 background imageLoading...
Page #279 background image
Miscellaneous Programs and Equations 17-9
Program Listing:
Program Lines:
(In ALG mode)
Description
  This routine displays prime number P.
 
Checksum and length: 2CC5 6
  This routine adds 2 to P.
 
Checksum and length: EFB2 9
  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
Checksum and length: EA89 47
  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
routine.
 
   Branches to test potential prime with new factor.
Checksum and length: C6B5 53

Table of Contents

Other manuals for HP 35s

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 35s and is the answer not in the manual?

HP 35s Specifications

General IconGeneral
TypeScientific
Form factorPocket
Product colorBlack
Digits14 digits
Display number of lines2 lines
Keyboard typeAlphanumeric
Menus and promptsYes
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)157.9 x 18 x 82 mm

Related product manuals