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.

A126833 Ramanujan numbers (A000594) read mod 25.

Original entry on oeis.org

1, 1, 2, 3, 5, 2, 6, 5, 7, 5, 12, 6, 12, 6, 10, 11, 16, 7, 20, 15, 12, 12, 22, 10, 0, 12, 20, 18, 5, 10, 7, 21, 24, 16, 5, 21, 11, 20, 24, 0, 17, 12, 17, 11, 10, 22, 21, 22, 18, 0, 7, 11, 2, 20, 10, 5, 15, 5, 10, 5, 12, 7, 17, 18, 10, 24, 16, 23, 19, 5, 22, 10, 22, 11, 0, 10, 22, 24, 5, 5
Offset: 1

Views

Author

N. J. A. Sloane, Feb 25 2007

Keywords

Crossrefs

Cf. A000594, A013957, A126832 (mod 5^1), this sequence (mod 5^2), A126834 (mod 5^3), A126835 (mod 5^4).

Programs

  • Mathematica
    a[n_] := Mod[RamanujanTau[n], 25]; Array[a, 100] (* Amiram Eldar, Jan 04 2025 *)
  • PARI
    a(n) = ramanujantau(n) % 25; \\ Amiram Eldar, Jan 04 2025

Formula

a(n) == n * sigma_9(n) (mod 25) (Andrews and Berndt, 2012, eq. (5.4.2), p. 98). - Amiram Eldar, Jan 04 2025