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.

A280043 Solutions to the congruence 1^n+2^n+...+n^n == 43 (mod n).

Original entry on oeis.org

1, 2, 6, 42, 43, 86, 258, 77658
Offset: 1

Views

Author

N. J. A. Sloane, Dec 29 2016

Keywords

Programs

  • Mathematica
    f[n_] := Mod[Sum[PowerMod[k, n, n], {k, 1, n}] - 43, n];
    For[n = 1, n < 80000, n++, If[f[n] == 0, Print[n]]] (* Jean-François Alcover, Sep 06 2018 *)