Quotient-Remainder Method
Description
The .quo_rem() method returns the quotient and remainder of $a$
Sage Cell
Code
a = 14
b = 3
a.quo_rem(b)
Options
None
Tags
Primary Tags: Number Theory
Secondary Tags: Divisibility
Related Cells
- The Modulus Operator
- The Divides Method
- The Greatest Common Divisor Command
- The Extended Greatest Common Divisor Command
- The Is-Prime Method
- The Random Prime Command
- The Prime Range Command
- The Next Prime Command
- The Previous Prime Command
- The Factor Command
Attribute
Permalink: http://abstract.ups.edu/aata/integers-sage.html
Author: R. Beezer
Date: 14 Jul 2017 10:25
Submitted by: Tom Judson