HP 40gs hp 40gs_user's guide_English_E_HDPMSG40E07A.pdf - Page 232
Example 2, Definition, Example 1, Example
UPC - 882780045217
View all HP 40gs manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 232 highlights
hp40g+.book Page 50 Friday, December 9, 2005 1:03 AM ISPRIME? LCM MOD 14-50 IREMAINDER works with integers and with Gaussian integers. This is what distinguishes it from MOD. Example 2 Typing: IREMAINDER(2 + 3·i, 1 + i) gives: i Returns a value indicating whether an integer is a prime number. ISPRIME?(n) returns 1 (TRUE) if n is a prime or pseudo-prime, and 0 (FALSE) if n is not prime. Definition: For numbers less than 1014, pseudo-prime and prime mean the same thing. For numbers greater than 1014, a pseudo-prime is a number with a large probability of being prime. Example 1 Typing: ISPRIME?(13) gives: 1. Example 2 Typing: ISPRIME?(14) gives: 0. Returns the least common multiple of two integers. Example Typing: LCM(18, 15) gives: 90 See "MOD" on page 13-15. Computer Algebra System (CAS)