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 prfactor.zip (Prime) was written by [Jimmy Salvatore]  and referenced by (navyfalcon) e-mail
 Note: Click on "prfactor.zip" to download the original program, then "right click" to extract the files and "F10" to load on "VTI".


Related Articles:- PRFactor   BPrime   Primes
 
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
 

prgmPrime

Line Command or Statement Comments
   1. prgmPrime 
   2. ClrList ιA Clear List
   3. DelVar Z 
   4. Input A input number
   5. Lbl A 
   6. DelVar C 
   7. int(1+sqrt(A->B 
   8. 2->Y 
   9. For(X,Y,B,1 For (variable,begin,end[,increment])
 10. (X=2)+2->Y 
 11. If A/X=int(A/X int( (greatest integer) Note: For a given value, the result of int( is the same as the result of iPart(
 12. Then 
 13. X->C 
 14. Goto B 
 15. End 
 16. If C=1 
 17. Goto C Display
 18. End 
 19. If C=0 
 20. Goto C Display
 21. Lbl B 
 22. A/C->A new number
 23. Z+1->Z 
 24. C->ιA(Z 
 25. Goto A 
 26. Lbl C Display routine
 27. Z+1->Z 
 28. A->ιA(Z 
 29. ιA Disp all primes
 
Reference Commands:
TI Basic Commands:
  ClrList   
  DelVar   
  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.
  Int(   prompts for value to store to variable. Requires user input through keypad.
  Lbl   creates a label of one or two characters
 




Screenshots:
TI-83 screenTI-83 screenTI-83 screenTI-83 screenTI-83 screen
  Prim-1  Prim-2   Prim-3  Prim-4  Prim-5
 
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