cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A337910 Integers of the form (the number of nonnegative bases m < n such that m^3 == m (mod n))/(the number of nonnegative bases m < n such that -m^3 == m (mod n)).

Original entry on oeis.org

1, 1, 3, 3, 1, 3, 3, 5, 3, 1, 3, 9, 1, 3, 3, 5, 1, 3, 3, 3, 9, 3, 3, 15, 1, 1, 3, 9, 1, 3, 3, 5, 9, 1, 3, 9, 1, 3, 3, 5, 1, 9, 3, 9, 3, 3, 3, 15, 3, 1, 3, 3, 1, 3, 3, 15, 9, 1, 3, 9, 1, 3, 9, 5, 1, 9, 3, 3, 9, 3, 3, 15, 1, 1, 3, 9, 9, 3, 3, 5, 3, 1, 3, 27, 1, 3, 3, 15, 1, 3, 3, 9, 9, 3, 3, 15
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Sep 29 2020

Keywords

Comments

All members of a(n) are odd numbers. For n > 3, 1 <= a(n) < n.

Crossrefs

Programs

  • Magma
    [#[m: m in [0..n-1] | m^3 mod n eq m]/#[m: m in [0..n-1] | -m^3 mod n eq m]: n in [1..96]];