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-3 of 3 results.

A279081 Number of divisors of the n-th tetrahedral number.

Original entry on oeis.org

1, 3, 4, 6, 4, 8, 12, 16, 8, 12, 8, 12, 8, 20, 16, 20, 8, 24, 16, 24, 8, 16, 18, 24, 18, 36, 24, 24, 8, 24, 20, 24, 16, 48, 32, 24, 8, 32, 24, 32, 8, 24, 32, 48, 16, 20, 24, 45, 18, 36, 16, 36, 24, 96, 48, 32, 8, 24, 16, 24, 16, 56, 96, 56, 16, 24, 16, 48, 16
Offset: 1

Views

Author

Jon E. Schoenfield, Jan 06 2017

Keywords

Comments

The n-th tetrahedral number is A000292(n) = n*(n+1)*(n+2)/6. The only odd-valued terms are a(1)=1, a(2)=3, and a(48)=45, corresponding to the only nonzero tetrahedral numbers that are also square, i.e., A000292(1)=1, A000292(2)=4, and A000292(48)=19600.
We can write n*(n+1)*(n+2)/6 as the product of three pairwise coprime integers A, B, and C as follows, depending on the value of n mod 12:
.
n mod 12 A B C factor that can be even
======== === ======= ======= =======================
0 n/3 n+1 (n+2)/2 A
1 n (n+1)/2 (n+2)/3 B
2 n/2 (n+1)/3 n+2 C
3 n/3 (n+1)/2 n+2 B
4 n n+1 (n+2)/6 A
5 n (n+1)/6 n+2 B
6 n/6 n+1 n+2 C
7 n (n+1)/2 (n+2)/3 B
8 n (n+1)/3 (n+2)/2 A
9 n/3 (n+1)/2 n+2 B
10 n/2 n+1 (n+2)/3 C
11 n (n+1)/6 n+2 B
.
For all n > 6, A, B, and C are all greater than 1 and share no prime factors, so their product must contain at least three distinct prime factors; consequently, its number of divisors cannot be prime or semiprime. The only semiprimes in this sequence are a(3), a(4), and a(5), and the only prime is a(2).

Examples

			a(48) = tau(48*59*50/6) = tau(19600) = tau(2^4 * 5^2 * 7^2) = (4+1)*(2+1)*(2+1) = 5*3*3 = 45.
		

Crossrefs

Programs

  • Maple
    with(numtheory): seq(tau(n*(n+1)*(n+2)/6), n=1..70) ; # Ridouane Oudra, Jan 25 2024
  • Mathematica
    DivisorSigma[0, Binomial[Range[100]+2, 3]] (* Paolo Xausa, Feb 19 2024 *)
  • PARI
    a(n) = numdiv(n*(n+1)*(n+2)/6); \\ Michel Marcus, Jan 07 2017

Formula

a(n) = A000005(A000292(n)) = A000005(n*(n+1)*(n+2)/6).
From Ridouane Oudra, Jan 25 2024: (Start)
a(6*n) = tau(2*n)*tau(6*n+1)*tau(6*n+2)/2;
a(6*n+1) = tau(6*n+1)*tau(3*n+1)*tau(2*n+1);
a(6*n+2) = tau(6*n+2)*tau(2*n+1)*tau(6*n+4)/2;
a(6*n+3) = tau(2*n+1)*tau(3*n+2)*tau(6*n+5);
a(6*n+4) = tau(6*n+4)*tau(6*n+5)*tau(2*n+2)/2;
a(6*n+5) = tau(6*n+5)*tau(n+1)*tau(6*n+7). (End)

A358927 a(n) is the smallest tetrahedral number with exactly n prime factors (counted with multiplicity), or -1 if no such number exists.

Original entry on oeis.org

1, -1, 4, 20, 56, 120, 560, 4960, 19600, 41664, 341376, 695520, 7207200, 22238720, 178433024, 1429559296, 179481600, 11453245440, 11444858880, 393079864320, 3928874471424, 5864598896640, 46910348656640, 975649558118400, 3002365391929344, 7805131503206400
Offset: 0

Views

Author

Ilya Gutkovskiy, Dec 06 2022

Keywords

Examples

			a(4) = 56, because 56 is a tetrahedral number with 4 prime factors (counted with multiplicity) {2, 2, 2, 7} and this is the smallest such number.
		

Crossrefs

Programs

  • Mathematica
    t[k_] := k*(k + 1)*(k + 2)/6; a[n_] := Module[{k = 1, tk}, While[PrimeOmega[tk = t[k]] != n, k++]; tk]; a[1] = -1; Array[a, 26, 0] (* Amiram Eldar, Dec 09 2022 *)

A279083 Numbers k such that there exists at least one tetrahedral number with exactly k divisors.

Original entry on oeis.org

1, 3, 4, 6, 8, 12, 16, 18, 20, 24, 28, 30, 32, 36, 40
Offset: 1

Views

Author

Jon E. Schoenfield, Jan 06 2017

Keywords

Comments

The only odd terms are 1, 3, and 45 (which correspond to the three positive tetrahedral numbers that are square, i.e., 1, 4, and 19600). It is easy to show that no term larger than 6 is semiprime.
A tetrahedral number with exactly 42 divisors would have to be of the form p^6 * q^2 * r, with p, q, and r distinct primes; does such a tetrahedral number exist?
A tetrahedral number with exactly 50 divisors would have to be of the form p^4 * q^4 * r, with p, q, and r distinct primes; does such a tetrahedral number exist?
Additional terms < 200 include (but may not be limited to) 44, 45, 48, 52, 54, 56, 60, 64, 68, 72, 76, 80, 84, 88, 90, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 150, 152, 156, 160, 162, 164, 168, 172, 176, 180, 184, 188, 192, 196

Crossrefs

Showing 1-3 of 3 results.