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.

A105826 a(n) = sigma(n) (mod 7).

Original entry on oeis.org

1, 3, 4, 0, 6, 5, 1, 1, 6, 4, 5, 0, 0, 3, 3, 3, 4, 4, 6, 0, 4, 1, 3, 4, 3, 0, 5, 0, 2, 2, 4, 0, 6, 5, 6, 0, 3, 4, 0, 6, 0, 5, 2, 0, 1, 2, 6, 5, 1, 2, 2, 0, 5, 1, 2, 1, 3, 6, 4, 0, 6, 5, 6, 1, 0, 4, 5, 0, 5, 4, 2, 6, 4, 2, 5, 0, 5, 0, 3, 4, 2, 0, 0, 0, 3, 6, 1, 5, 6, 3, 0, 0, 2, 4, 1, 0, 0, 3, 2, 0, 4, 6, 6, 0, 3
Offset: 1

Views

Author

Shyam Sunder Gupta, May 05 2005

Keywords

Crossrefs

Cf. A000203.
Sequences sigma(n) mod k: A053866 (k=2), A074941 (k=3), A105824 (k=4), A105825 (k=5), A084301 (k=6), A105826 (k=7), A105827 (k=8).

Programs

  • Maple
    A105826:= n-> (numtheory[sigma](n) mod 7):
    seq (A105826(n), n=1..105); # Jani Melik, Jan 26 2011
  • Mathematica
    Mod[DivisorSigma[1,Range[110]],7] (* Harvey P. Dale, Jul 30 2021 *)
  • PARI
    a(n)=sigma(n)%7