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.

A084303 Smallest x such that sigma(x) mod 6 = n.

Original entry on oeis.org

5, 1, 7, 2, 3, 2401
Offset: 0

Views

Author

Labos Elemer, Jun 02 2003

Keywords

Comments

Row 6 of A074625 (apart from different ordering). - Michel Marcus, Dec 19 2013

Examples

			n=5: sigma(2401) = 1+7+49+343+2401 = 2801 = 6*466+5, hence a(5)=2401.
		

Crossrefs

Programs

  • Mathematica
    Table[k = 1; While[Mod[DivisorSigma[1, k], 6] != n, k++]; k, {n, 0, 5}] (* Michael De Vlieger, Mar 25 2017 *)
  • PARI
    a(n) = {my(x = 1); while((sigma(x) % 6) != n, x++); x;} \\ Michel Marcus, Dec 18 2013