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

A106608 a(n) = numerator of n/(n+7).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 1, 8, 9, 10, 11, 12, 13, 2, 15, 16, 17, 18, 19, 20, 3, 22, 23, 24, 25, 26, 27, 4, 29, 30, 31, 32, 33, 34, 5, 36, 37, 38, 39, 40, 41, 6, 43, 44, 45, 46, 47, 48, 7, 50, 51, 52, 53, 54, 55, 8, 57, 58, 59, 60, 61, 62, 9, 64, 65, 66, 67, 68, 69, 10, 71, 72, 73, 74, 75, 76
Offset: 0

Views

Author

N. J. A. Sloane, May 15 2005

Keywords

Comments

In general, the numerators of n/(n+p) for prime p and n >= 0 form a sequence with the g.f.: x/(1-x)^2 - (p-1)*x^p/(1-x^p)^2. - Paul D. Hanna, Jul 27 2005
Generalizing the above comment of Hanna, the numerators of n/(n + k) for a fixed positive integer k and n >= 0 form a sequence with the g.f.: Sum_{d divides k} f(d)*x^d/(1 - x^d)^2, where f(n) is the Dirichlet inverse of the Euler totient function A000010. f(n) is a multiplicative function defined on prime powers p^k by f(p^k) = 1 - p. See A023900. - Peter Bala, Feb 17 2019
a(n) <> n iff n = 7 * k, in this case, a(n) = k. - Bernard Schott, Feb 19 2019

Crossrefs

Sequences given by the formula numerator(n/(n + k)): A026741 (k = 2), A051176 (k = 3), A060819 (k = 4), A060791 (k = 5), A060789 (k = 6), A106609 thru A106612 (k = 8 thru 11), A051724 (k = 12), A106614 thru A106621 (k = 13 thru 20).

Programs

Formula

G.f.: x/(1-x)^2 - 6*x^7/(1-x^7)^2. - Paul D. Hanna, Jul 27 2005
From R. J. Mathar, Apr 18 2011: (Start)
a(n) = A109048(n)/7.
Dirichlet g.f.: zeta(s-1)*(1-6/7^s).
Multiplicative with a(p^e) = p^e if p<>7, a(7^e) = 7^(e-1) if e > 0. (End)
Sum_{k=1..n} a(k) ~ (43/98) * n^2. - Amiram Eldar, Nov 25 2022
Sum_{n>=1} (-1)^(n+1)/a(n) = 13*log(2)/7. - Amiram Eldar, Sep 08 2023

A109042 Square array read by antidiagonals: A(n, k) = lcm(n, k) for n >= 0, k >= 0.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 0, 2, 2, 0, 0, 3, 2, 3, 0, 0, 4, 6, 6, 4, 0, 0, 5, 4, 3, 4, 5, 0, 0, 6, 10, 12, 12, 10, 6, 0, 0, 7, 6, 15, 4, 15, 6, 7, 0, 0, 8, 14, 6, 20, 20, 6, 14, 8, 0, 0, 9, 8, 21, 12, 5, 12, 21, 8, 9, 0, 0, 10, 18, 24, 28, 30, 30, 28, 24, 18, 10, 0, 0, 11, 10, 9, 8, 35, 6, 35, 8, 9, 10, 11, 0
Offset: 0

Views

Author

Mitch Harris, Jun 18 2005

Keywords

Examples

			Seen as an array:
  [0] 0, 0,  0,  0,  0,  0,  0,  0,  0,  0, ...
  [1] 0, 1,  2,  3,  4,  5,  6,  7,  8,  9, ...
  [2] 0, 2,  2,  6,  4, 10,  6, 14,  8, 18, ...
  [3] 0, 3,  6,  3, 12, 15,  6, 21, 24,  9, ...
  [4] 0, 4,  4, 12,  4, 20, 12, 28,  8, 36, ...
  [5] 0, 5, 10, 15, 20,  5, 30, 35, 40, 45, ...
  [6] 0, 6,  6,  6, 12, 30,  6, 42, 24, 18, ...
  [7] 0, 7, 14, 21, 28, 35, 42,  7, 56, 63, ...
  [8] 0, 8,  8, 24,  8, 40, 24, 56,  8, 72, ...
  [9] 0, 9, 18,  9, 36, 45, 18, 63, 72,  9, ...
.
Seen as a triangle T(n, k) = lcm(n - k, k).
  [0] 0;
  [1] 0, 0;
  [2] 0, 1,  0;
  [3] 0, 2,  2,  0;
  [4] 0, 3,  2,  3,  0;
  [5] 0, 4,  6,  6,  4,  0;
  [6] 0, 5,  4,  3,  4,  5, 0;
  [7] 0, 6, 10, 12, 12, 10, 6,  0;
  [8] 0, 7,  6, 15,  4, 15, 6,  7, 0;
  [9] 0, 8, 14,  6, 20, 20, 6, 14, 8, 0;
		

Crossrefs

Rows A000027, A109043, A109044, A109045, A109046, A109047, A109048, A109049, A109050, A109051, A109052, A109053, A006580 (row sums of triangle), A001477 (main diagonal, central terms).
Variants: A003990 is (1, 1) based, A051173 (T(n,k) = lcm(n,k)).

Programs

  • Maple
    T := (n, k) -> ilcm(n - k, k):
    for n from 0 to 9 do seq(T(n, k), k = 0..n) od;  # Peter Luschny, Mar 24 2025

Formula

lcm(n, k) = n*k / gcd(n, k) for (n, k) != (0, 0).
Showing 1-2 of 2 results.