Something’s not working the way it seems like it should.
When I input 12^{16}\mod 17, Fermat’s Little Theorem tells us that this should equal 1, since 17\nmid12 and 17 is prime.
But inputting this into Desmos gives 12^{16}\mod 17=0.
Here’s the link to the page, dashboard, or activity: mod issue
And here is a screenshot: