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.

Showing 1-10 of 15 results. Next

A099777 Number of divisors of 2n.

Original entry on oeis.org

2, 3, 4, 4, 4, 6, 4, 5, 6, 6, 4, 8, 4, 6, 8, 6, 4, 9, 4, 8, 8, 6, 4, 10, 6, 6, 8, 8, 4, 12, 4, 7, 8, 6, 8, 12, 4, 6, 8, 10, 4, 12, 4, 8, 12, 6, 4, 12, 6, 9, 8, 8, 4, 12, 8, 10, 8, 6, 4, 16, 4, 6, 12, 8, 8, 12, 4, 8, 8, 12, 4, 15, 4, 6, 12, 8, 8, 12, 4, 12, 10, 6, 4, 16, 8, 6, 8, 10, 4, 18, 8, 8, 8, 6, 8
Offset: 1

Views

Author

N. J. A. Sloane, Nov 19 2004

Keywords

Examples

			a(7) = 4 because the divisors of 14 are: 1, 2, 7 and 14.
		

Crossrefs

Bisection of A000005.

Programs

Formula

Moebius transform is period 2 sequence [2, 1, ...]. - Michael Somos, Sep 20 2005
G.f.: Sum_{k>0} x^k(2+x^k)/(1-x^(2k)) = Sum_{k>0} 2*x^(2k-1)/(1-x^(2k-1))+x^(2k)/(1-x^(2k)). - Michael Somos, Sep 20 2005
a(n) = A000005(n) + A001227(n). - Matthew Vandermast, Sep 30 2014
Sum_{k=1..n} a(k) ~ n/2 * (3*log(n) + log(2) + 6*gamma - 3), where gamma is the Euler-Mascheroni constant A001620. - Vaclav Kotesovec, Feb 13 2019
From Bernard Schott, Sep 14 2020: (Start)
a(n) = 2 iff n = 1;
a(n) = prime(m) iff n = 2^(prime(m)-2);
a(n) = 4 iff n = 4 or n is an odd prime (A065091);
a(n) = 6 iff n = 16, or n = 2p for p an odd prime (A100484 \ {4}), or n = p^2 for p an odd prime (A001248 \ {4});
a(n) = 2*A000005(n) iff n is odd. (End)
Dirichlet g.f.: zeta(s)^2 * (2 - 1/2^s). - Amiram Eldar, Jun 08 2025

Extensions

More terms from Emeric Deutsch, Dec 03 2004

A372784 a(n) = tau(4*n) = A000005(4*n).

Original entry on oeis.org

3, 4, 6, 5, 6, 8, 6, 6, 9, 8, 6, 10, 6, 8, 12, 7, 6, 12, 6, 10, 12, 8, 6, 12, 9, 8, 12, 10, 6, 16, 6, 8, 12, 8, 12, 15, 6, 8, 12, 12, 6, 16, 6, 10, 18, 8, 6, 14, 9, 12, 12, 10, 6, 16, 12, 12, 12, 8, 6, 20, 6, 8, 18, 9, 12, 16, 6, 10, 12, 16, 6, 18, 6, 8, 18, 10
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 4*n], {n, 1, 150}]

Formula

For n > 1, a(n) = A366872(n-2).
Sum_{k=1..n} a(k) ~ (8*n*(log(n) + 2*gamma - 1) + n*4*log(2)) / 4, where gamma is the Euler-Mascheroni constant A001620.

A372786 Number of divisors of 6n; a(n) = tau(6*n) = A000005(6*n).

Original entry on oeis.org

4, 6, 6, 8, 8, 9, 8, 10, 8, 12, 8, 12, 8, 12, 12, 12, 8, 12, 8, 16, 12, 12, 8, 15, 12, 12, 10, 16, 8, 18, 8, 14, 12, 12, 16, 16, 8, 12, 12, 20, 8, 18, 8, 16, 16, 12, 8, 18, 12, 18, 12, 16, 8, 15, 16, 20, 12, 12, 8, 24, 8, 12, 16, 16, 16, 18, 8, 16, 12, 24, 8, 20
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 6*n], {n, 1, 150}]
  • PARI
    A372786(n) = numdiv(6*n); \\ Antti Karttunen, Jul 19 2024

Formula

Sum_{k=1..n} a(k) ~ (15*n*(log(n) + 2*gamma - 1) + n*(5*log(2) + 3*log(3))) / 6, where gamma is the Euler-Mascheroni constant A001620.

A372789 Number of divisors of 9n; a(n) = tau(9*n) = A000005(9*n).

Original entry on oeis.org

3, 6, 4, 9, 6, 8, 6, 12, 5, 12, 6, 12, 6, 12, 8, 15, 6, 10, 6, 18, 8, 12, 6, 16, 9, 12, 6, 18, 6, 16, 6, 18, 8, 12, 12, 15, 6, 12, 8, 24, 6, 16, 6, 18, 10, 12, 6, 20, 9, 18, 8, 18, 6, 12, 12, 24, 8, 12, 6, 24, 6, 12, 10, 21, 12, 16, 6, 18, 8, 24, 6, 20, 6, 12, 12
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 9*n], {n, 1, 150}]
  • PARI
    A372789(n) = numdiv(9*n); \\ Antti Karttunen, Jul 19 2024

Formula

Sum_{k=1..n} a(k) ~ (21*n*(log(n) + 2*gamma - 1) + n*6*log(3)) / 9, where gamma is the Euler-Mascheroni constant A001620.

A372792 Number of divisors of 12n; a(n) = tau(12*n) = A000005(12*n).

Original entry on oeis.org

6, 8, 9, 10, 12, 12, 12, 12, 12, 16, 12, 15, 12, 16, 18, 14, 12, 16, 12, 20, 18, 16, 12, 18, 18, 16, 15, 20, 12, 24, 12, 16, 18, 16, 24, 20, 12, 16, 18, 24, 12, 24, 12, 20, 24, 16, 12, 21, 18, 24, 18, 20, 12, 20, 24, 24, 18, 16, 12, 30, 12, 16, 24, 18, 24, 24
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Comments

In general, for m>=1, Sum_{j=1..n} tau(m*j) = A018804(m) * n * log(n) + O(n).
If p is prime, then Sum_{j=1..n} tau(p*j) ~ (2*p - 1) * n * (log(n) - 1 + 2*gamma)/p + n*log(p)/p, where gamma is the Euler-Mascheroni constant A001620.

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 12*n], {n, 1, 150}]
  • PARI
    A372792(n) = numdiv(12*n); \\ Antti Karttunen, Jul 19 2024

Formula

Sum_{k=1..n} a(k) ~ (40*n*(log(n) + 2*gamma - 1) + n*(20*log(2) + 8*log(3))) / 12, where gamma is the Euler-Mascheroni constant A001620.

A372785 a(n) = tau(5*n) = A000005(5*n).

Original entry on oeis.org

2, 4, 4, 6, 3, 8, 4, 8, 6, 6, 4, 12, 4, 8, 6, 10, 4, 12, 4, 9, 8, 8, 4, 16, 4, 8, 8, 12, 4, 12, 4, 12, 8, 8, 6, 18, 4, 8, 8, 12, 4, 16, 4, 12, 9, 8, 4, 20, 6, 8, 8, 12, 4, 16, 6, 16, 8, 8, 4, 18, 4, 8, 12, 14, 6, 16, 4, 12, 8, 12, 4, 24, 4, 8, 8, 12, 8, 16, 4, 15, 10, 8, 4, 24, 6, 8, 8, 16, 4, 18, 8, 12, 8, 8, 6
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 5*n], {n, 1, 150}]
  • PARI
    A372785(n) = numdiv(5*n); \\ Antti Karttunen, Jan 13 2025

Formula

Sum_{k=1..n} a(k) ~ (9*n*(log(n) + 2*gamma - 1) + n*log(5)) / 5, where gamma is the Euler-Mascheroni constant A001620.

Extensions

More terms from Antti Karttunen, Jan 13 2025

A372787 a(n) = tau(7*n) = A000005(7*n).

Original entry on oeis.org

2, 4, 4, 6, 4, 8, 3, 8, 6, 8, 4, 12, 4, 6, 8, 10, 4, 12, 4, 12, 6, 8, 4, 16, 6, 8, 8, 9, 4, 16, 4, 12, 8, 8, 6, 18, 4, 8, 8, 16, 4, 12, 4, 12, 12, 8, 4, 20, 4, 12, 8, 12, 4, 16, 8, 12, 8, 8, 4, 24, 4, 8, 9, 14, 8, 16, 4, 12, 8, 12, 4, 24, 4, 8, 12, 12, 6, 16, 4
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 7*n], {n, 1, 150}]

Formula

Sum_{k=1..n} a(k) ~ (13*n*(log(n) + 2*gamma - 1) + n*log(7)) / 7, where gamma is the Euler-Mascheroni constant A001620.

A372788 a(n) = tau(8*n) = A000005(8*n).

Original entry on oeis.org

4, 5, 8, 6, 8, 10, 8, 7, 12, 10, 8, 12, 8, 10, 16, 8, 8, 15, 8, 12, 16, 10, 8, 14, 12, 10, 16, 12, 8, 20, 8, 9, 16, 10, 16, 18, 8, 10, 16, 14, 8, 20, 8, 12, 24, 10, 8, 16, 12, 15, 16, 12, 8, 20, 16, 14, 16, 10, 8, 24, 8, 10, 24, 10, 16, 20, 8, 12, 16, 20, 8, 21
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 8*n], {n, 1, 150}]

Formula

Sum_{k=1..n} a(k) ~ (20*n*(log(n) + 2*gamma - 1) + n*12*log(2)) / 8, where gamma is the Euler-Mascheroni constant A001620.

A372790 a(n) = tau(10*n) = A000005(10*n).

Original entry on oeis.org

4, 6, 8, 8, 6, 12, 8, 10, 12, 9, 8, 16, 8, 12, 12, 12, 8, 18, 8, 12, 16, 12, 8, 20, 8, 12, 16, 16, 8, 18, 8, 14, 16, 12, 12, 24, 8, 12, 16, 15, 8, 24, 8, 16, 18, 12, 8, 24, 12, 12, 16, 16, 8, 24, 12, 20, 16, 12, 8, 24, 8, 12, 24, 16, 12, 24, 8, 16, 16, 18, 8, 30
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 10*n], {n, 1, 150}]

Formula

Sum_{k=1..n} a(k) ~ (27*n*(log(n) + 2*gamma - 1) + n*(9*log(2) + 3*log(5))) / 10, where gamma is the Euler-Mascheroni constant A001620.

A372791 a(n) = tau(11*n) = A000005(11*n).

Original entry on oeis.org

2, 4, 4, 6, 4, 8, 4, 8, 6, 8, 3, 12, 4, 8, 8, 10, 4, 12, 4, 12, 8, 6, 4, 16, 6, 8, 8, 12, 4, 16, 4, 12, 6, 8, 8, 18, 4, 8, 8, 16, 4, 16, 4, 9, 12, 8, 4, 20, 6, 12, 8, 12, 4, 16, 6, 16, 8, 8, 4, 24, 4, 8, 12, 14, 8, 12, 4, 12, 8, 16, 4, 24, 4, 8, 12, 12, 6, 16
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0, 11*n], {n, 1, 150}]

Formula

Sum_{k=1..n} a(k) ~ (21*n*(log(n) + 2*gamma - 1) + n*log(11)) / 11, where gamma is the Euler-Mascheroni constant A001620.
Showing 1-10 of 15 results. Next