Introduction:   The prime factors of a positive integer (numbers that can be written without a fractional or decimal component) are the prime numbers that divide into that integer exactly, without leaving a remainder. The process of finding these numbers is called integer factorization, or prime factorization.
This program BPrime was written by [Stephen Compall]  and referenced by (navyfalcon) e-mail
 Note: Click on "BPrime" to download the original program, then "right click" to extract the files and "F10" to load on "VTI".


Related Articles:- PRFactor   Primes   Prime
 
Outline:
Line   2. Clear
Line   4. input number
Line   9. √(number)
Line 14. prime number
Line 15. new number
Line 23. Disp all primes
    Reference Cmds
    Screenshots
    Reference Links
 

prgmBPrime

Line Command or Statement Comments
   1. prgmBPrime 
   2. ClrHome Clear Screen
   3. Disp "PRIME FACTOR 0.9" 
   4. Input "NUMBER=",Q input number
   5. 2->I 
   6. 2->S 
   7. {1}->ιFAC ιFAC = List FAC
   8. Lbl 1 
   9. √(Q)->R √(number)
 10. For(I,S,R) For (variable,begin,end[,increment])
 11. Q/I->X 
 12. If X = int(X):Then int( (greatest integer) Note: For a given value, the result of int( is the same as the result of iPart(
 13. augment(ιFAC,{I})->ιFAC 
 14. Disp I prime number
 15. X->Q new number
 16. I->S 
 17. Goto 1 
 18. End 
 19. If I ≠ 2:I+1->I increment I
 20. End 
 21. Disp Q 
 22. augment(ιFAC,{Q})ιFAC 
 23. Pause ιFAC Disp all primes
 
Reference Commands:
TI Basic Commands:
  augment( listA, listB)   Returns a list, which is list B appended to the end of list A
  ClrHome   clears home screen
  Disp   displays text or value specified
  End   Identifies end of For(, If-Then-Else, Repeat, or While loop.
  For (variable,begin,end[,increment]) :commands :End :commands :Executes commands through End, incrementing variable from begin by increment until variable end.
  If condition :Then   :commands :End :commands: Executes commands from Then to End if condition = 1(true).
  Goto   goes to label specified. Goto requires a line label (Lbl) be implemented as a destination
  Input   prompts for value to store to variable. Requires user input through keypad.
  Lbl   creates a label of one or two characters
  Pause [value]   Displays value; suspends program execution until you press [ENTER]. Pause with value displays value on the current home screen. Value can be scrolled.
 



Screenshots:
TI-83 screenTI-83 screenTI-83 screenTI-83 screen
Lbl 1Lbl 1a DispQDispQa
 
Reference:
  Information or Links:
 
  Using the TI-83 graphing calculator tutorial
General Info - Algebra 1 - Statistics 1 - Algebra 2 - Trigonometry - Statistics 2 - PreCalculus - Calculus
http://mathbits.com/mathbits/TISection/Openpage.htm
 
  TI Calc.org TI-83 (Basic) Math Programs
Percent Solver - 48 Math Functions - Math Formulas - Fractions - Decimal to Fraction - Decimal Simplifier - Arithmetic Problem - Ratio Solver - GCD finder
http://www.ticalc.org/pub/83/basic/math/
 
  TI-83 Guidebook
 Getting Started has introduced you to basic TI.83 operation. This guidebook. describes in detail the features you used in Getting Started.
http://www.math.oregonstate.edu/home/programs/undergrad/TI_Manuals/ti83Guidebook.pdf
 
  devhardware.com/forums/ti-83-84
TI 83/84, Programming forum discussing coding and everything related to the well-known TI-83/84 graphing calculators for math and science.
http://www.devhardware.com/forums/ti-83-84-102/
 
  TI Calc.org TI-83 (Basic) Math Programs
Percent Solver - 48 Math Functions - Math Formulas - Fractions - Decimal to Fraction - Decimal Simplifier - Arithmetic Problem - Ratio Solver - GCD finder
http://www.ticalc.org/pub/83/basic/math/
 
  Brief Users Guide for the TI-83 Plus
covers basic math, and all basic operations as performed on the TI-83 Plus calculator
http://www.angelfire.com/pro/fkizer/Instructions/tishrtusrguide83.htm
 
  Graphing Calculator Tutorials
Graphing Calculator Help & Tutorials
http://itech.pjc.edu/falzone/handouts/ti83plus_ti84_help_summary.htm
 
FREE TUTORIALS © copyright 2000-2009 @ Cadet Career Counseling all rights reserved