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.

A077089 Quotients when sigma(k+1)/sigma(k) is an integer.

Original entry on oeis.org

3, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 3, 1, 3, 1, 2, 1, 2, 2, 3, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 2, 2, 2, 3, 1, 2, 2, 3, 2, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 3, 2, 2, 1, 2, 2, 1, 2, 3, 3, 1, 3, 1, 2, 2, 2, 3, 2, 1, 1, 3, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 1, 3, 3, 2, 1, 2, 1, 2, 2, 3, 1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Labos Elemer, Oct 31 2002

Keywords

Examples

			a(1) = sigma(2)/sigma(1) = 3/1 = 3.
a(2) = sigma(6)/sigma(5) = 12/6 = 2.
a(3) = sigma(15)/sigma(14) = 24/24 = 1.
		

Crossrefs

Programs

  • Mathematica
    Do[s=Mod[a=DivisorSigma[1, n+1], b=DivisorSigma[1, n]]; If[Equal[s, 0], Print[a/b]], {n, 1, 10000000}]
    Select[#[[2]]/#[[1]]&/@Partition[DivisorSigma[1,Range[10^6]],2,1], IntegerQ] (* Harvey P. Dale, Dec 26 2015 *)

Formula

a(n) = sigma(A058072(n)+1)/sigma(A058072(n)). - Seiichi Manyama, Jan 16 2021