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.

A073776 a(n) = Sum_{k=1..n} -mu(k+1) * a(n-k), with a(0)=1.

Original entry on oeis.org

1, 1, 2, 3, 6, 9, 17, 28, 50, 83, 147, 249, 435, 742, 1288, 2207, 3819, 6561, 11333, 19497, 33640, 57915, 99874, 172020, 296550, 510886, 880580, 1517226, 2614889, 4505745, 7765094, 13380640, 23059193, 39735969, 68476885, 118001888
Offset: 0

Views

Author

Paul D. Hanna, Aug 10 2002

Keywords

Comments

Recurrence relation involves the Moebius function.
Radius of convergence of A(x) is r=0.5802946238073267...
Related limits are
lim_{n->infinity} a(n) r^n = 0.6303632342... and
lim_{n->infinity} a(n+1)/a(n) = 1.723262561763844...
From Gary W. Adamson, Aug 11 2016: (Start)
The definition in the heading follows from the INVERTi transform of (1, 2, 3, 6, 9, 17, ...) equals -mu(n) for n >= 2 (cf. A157658).
Then for example, a(6) = 17 = (1, 1, 0, 1, -1, 1) dot (9, 6, 3, 2, 1, 1) = (9 + 6 + 0 + 2 - 1 + 1); in agreement with the first example. (End)

Examples

			a(6) = -mu(2)a(5) - mu(3)a(4) - mu(4)a(3) - mu(5)a(2) - mu(6)a(1) - mu(7)a(0) = 9 + 6 + 0 + 2 - 1 + 1 = 17.
G.f.: A(x) = 1 + x + 2*x^2 + 3*x^3 + 6*x^4 + 9*x^5 + 17*x^6 + 28*x^7 + 50*x^8 + 83*x^9 + 147*x^10 + 249*x^11 + 435*x^12 + ...
where
1/A(x) = 1 - x - x^2 - x^4 + x^5 - x^6 + x^9 - x^10 - x^12 + x^13 + x^14 - x^16 - x^18 + x^20 + x^21 - x^22 + x^25 - x^28 - x^29 - x^30 + ... + mu(n)*x^n +...
Also, g.f. A(x) satisfies:
x*A(x) = x*A(x)/A(x*A(x)) + x^2*A(x)^2/A(x^2*A(x)^2) + x^3*A(x)^3/A(x^3*A(x)^3) + x^4*A(x)^4/A(x^4*A(x)^4) + x^5*A(x)^5/A(x^5*A(x)^5) + ...
		

Crossrefs

Programs

  • Haskell
    a073776 n = a073776_list !! (n-1)
    a073776_list = 1 : f [1] where
       f xs = y : f (y : xs) where y = sum $ zipWith (*) xs ms
       ms = map negate $ tail a008683_list
    -- Reinhard Zumkeller, Nov 03 2015
    
  • Mathematica
    a[0] = 1; a[n_] := a[n] = Sum[-MoebiusMu[k + 1]*a[n - k], {k, 1, n}]; Array[a,35,0] (* Jean-François Alcover, Apr 11 2011 *)
  • PARI
    {a(n) = my(A=[1,1],F); for(i=1,n, A=concat(A,0); F=Ser(A); A = Vec(sum(m=1,#A, subst(x/F, x, x^m*F^m))) ); A[n+1]}
    for(n=0,50, print1(a(n),", ")) \\ Paul D. Hanna, Apr 19 2016

Formula

G.f.: A(x) = x / (Sum_{n>=1} mu(n)*x^n), A(0)=1, where mu(n) = Moebius function of n.
G.f. A(x) satisfies: x*A(x) = Sum_{n>=1} x^n*A(x)^n / A( x^n*A(x)^n ). - Paul D. Hanna, Apr 19 2016

A300663 Expansion of 1/(1 - Sum_{k>=1} mu(k)*x^k), where mu() is the Moebius function (A008683).

Original entry on oeis.org

1, 1, 0, -2, -3, -2, 3, 8, 8, -2, -16, -24, -10, 24, 59, 54, -11, -117, -174, -90, 162, 431, 449, -20, -835, -1393, -848, 1062, 3352, 3748, 317, -6257, -11134, -7583, 7294, 25956, 30786, 5217, -46545, -88132, -65062, 48534, 199234, 249263, 63034, -342174, -691679, -554002
Offset: 0

Views

Author

Ilya Gutkovskiy, Mar 10 2018

Keywords

Comments

Invert transform of A008683.

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=0, 1, add(
          numtheory[mobius](j)*a(n-j), j=1..n))
        end:
    seq(a(n), n=0..50);  # Alois P. Heinz, Mar 10 2018
  • Mathematica
    nmax = 47; CoefficientList[Series[1/(1 - Sum[MoebiusMu[k] x^k, {k, 1, nmax}]), {x, 0, nmax}], x]
    a[0] = 1; a[n_] := a[n] = Sum[MoebiusMu[k] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 47}]
  • PARI
    my(N=66, x='x+O('x^N)); Vec(1/(1-sum(k=1, N, moebius(k)*x^k))) \\ Seiichi Manyama, Apr 06 2022
    
  • PARI
    a(n) = if(n==0, 1, sum(k=1, n, moebius(k)*a(n-k))); \\ Seiichi Manyama, Apr 06 2022

Formula

G.f.: 1/(1 - Sum_{k>=1} A008683(k)*x^k).
a(0) = 1; a(n) = Sum_{k=1..n} mu(k) * a(n-k). - Seiichi Manyama, Apr 06 2022
Showing 1-2 of 2 results.