A program for the TI-82/83 that factors integers.

Ken Levasseur
UMass Lowell

Given an integer N, this program facors N with format {p1,e1,p2,e2,...} where

N = p1^e1  p2^e2 ...

This program is required by a related program to compute Euler's Phi function. The EulerP program uses the variable O ("Oh") that appears in the third line of this program.

A program for the TI-82/83 that Euler's Phi Function.

The euler function, phi, is defined by phi(n) = the number of integers in the set {1, 2, ..., n-1} that are relatively prime to n. The program is quite short, but uses another program, factor

Program: EulerP

Back to the UML TI program page