Description
Using QuotientRemainder inside a DiscretePlot is giving incorrect plots
How to Reproduce and Output Given
Try these examples:
DiscretePlot[First[QuotientRemainder[n, 5]], {n, 0, 40}]
DiscretePlot[Last[QuotientRemainder[n, 5]], {n, 0, 40}]
See output below for what we get.
Expected behavior
Analog of what ListLinePlot shows. See also https://wolfram.com/xid/0bto17b3nqju-0nx3r
Workarounds
Use ListLinePlot? That seems to work.
Priority
Additional context
Note that there is a different weirdness around using Quotient. That may or may not be related to a bug in DiscretePlot. See #1722
Description
Using QuotientRemainder inside a DiscretePlot is giving incorrect plots
How to Reproduce and Output Given
Try these examples:
See output below for what we get.
Expected behavior
Analog of what ListLinePlot shows. See also https://wolfram.com/xid/0bto17b3nqju-0nx3r
Workarounds
Use ListLinePlot? That seems to work.
Priority
Additional context
Note that there is a different weirdness around usingQuotient. That may or may not be related to a bug inDiscretePlot. See #1722