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.

A097017 a(n) = sigma(5*n) modulo 6.

Original entry on oeis.org

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

Views

Author

Labos Elemer, Aug 23 2004

Keywords

Comments

a(n) = 0 if A112765(n) is even. - Robert Israel, Feb 27 2018

Crossrefs

Programs

  • Maple
    f:= n -> numtheory:-sigma(5*n) mod 6;
    map(f, [$1.100]); # Robert Israel, Feb 27 2018
  • Mathematica
    Mod[#,6]&/@DivisorSigma[1,5*Range[110]] (* Harvey P. Dale, Jan 14 2019 *)
  • PARI
    a(n) = sigma(5*n) % 6; \\ Michel Marcus, Mar 08 2014

Formula

a(n) = A084301(5*n).

Extensions

Definition clarified by Harvey P. Dale, Jan 14 2019