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.

A126836 Ramanujan numbers (A000594) read mod 7.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Feb 25 2007

Keywords

Crossrefs

Cf. this sequence (mod 7^1), A126837 (mod 7^2), A126838 (mod 7^3).

Programs

  • Mathematica
    Mod[RamanujanTau@ #, 7] &@ Range@ 120 (* Michael De Vlieger, Apr 25 2016 *)
  • PARI
    a(n) = ramanujantau(n) % 7; \\ Amiram Eldar, Jan 05 2025

Formula

a(n) = n*sigma_3(n) mod 7. - Michel Marcus, Apr 25 2016