Prime number pairs --------------------------------------------------------------------- Version: 1.0, 971216 Creator: Mattias Morén Description: Displays prime number pairs. Comments: "->" is the "STO>"-button, "\/" is the square root. Known bugs: None. Size: 75 bytes. For more games and programs, please visit http://ti80.burtrask.net. PROGRAM:PPAIR 1->X 2->B LBL 2 X+2->X FOR(A,3,\/X+1,2 IF REMAINDER(X,A)=0:GOTO 2 END IF X=B+2:DISP B,X,"" X->B GOTO 2 -------------------------------------------------------------------- Copyright (C) 1998 by Daniel Bergman & Mattias Morén http://ti80.burtrask.net