hp40g+.book Page 49 Friday, December 9, 2005 1:03 AM
[48,1,0]
Result:
| Pressing | or then causes 2 AND | ||
| written to the Equation Writer. | |||
| The intermediate steps shown are the combination of | |||
| lines. For example, to get line L(n + 2), take L(n) – q*L(n | |||
| + 1) where q is the Euclidean quotient of the integers at | |||
| the beginning of the vector, these integers being the | |||
| sequence of remainders). | |||
IQUOT | Returns the integer quotient of the Euclidean division of | |||
| two integers. |
|
|
|
| Example |
|
|
|
| Typing: |
|
|
|
| IQUOT(148, 5) | |||
| gives: |
|
|
|
| 29 |
|
|
|
| In |
|
| |
| division is carried out as if |
|
| |
| in longhand |
|
|
|
| Pressing | or |
|
|
| then causes 29 to be |
|
| |
|
|
| ||
| written to the Equation | |||
| Writer. |
|
|
|
IREMAINDER | Returns the integer remainder from the Euclidean division |
of two integers.
Example 1
Typing:
IREMAINDER(148, 5)
gives:
3
Computer Algebra System (CAS) |
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|