This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DelVar L1 //deletes variables | |
DelVar L2 | |
0->C //initialize count variable | |
Input “ENTER INTEGER “, N //gets input from user and stores it in the variable N | |
If N=0 //If N is 0, append 1 to list one and display it, and end the program | |
Then | |
{1}->L1 | |
Disp L1 | |
Stop | |
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//remember to not type comments when typing the code into your calculator! | |
//This program is an implementation of the RSA algorithm, using small prime numbers, in TI-BASIC. | |
ClrHome | |
{2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97}->L1 | |
Prompt X | |
Lbl A | |
randInt(1,25)->T | |
randInt(1,25)->W |