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.

A332466 a(n) = n! * Sum_{d|n} mu(d) / d!.

Original entry on oeis.org

1, 1, 5, 12, 119, 241, 5039, 20160, 302400, 1784161, 39916799, 160332480, 6227020799, 43571848321, 1078831353601, 10461394944000, 355687428095999, 2143016754278400, 121645100408831999, 1196177491129420800, 42565648051390464001, 562000335730215782401
Offset: 1

Views

Author

Ilya Gutkovskiy, Feb 13 2020

Keywords

Crossrefs

Programs

  • Maple
    with(numtheory):
    a:= n-> n! * add(mobius(d)/d!, d=divisors(n)):
    seq(a(n), n=1..23);  # Alois P. Heinz, Feb 13 2020
  • Mathematica
    Table[n! DivisorSum[n, MoebiusMu[#]/#! &], {n, 1, 22}]
    nmax = 22; CoefficientList[Series[Sum[MoebiusMu[k] x^k/(k! (1 - x^k)), {k, 1, nmax}], {x, 0, nmax}], x] Range[0, nmax]! // Rest
  • PARI
    a(n)={sumdiv(n, d, moebius(d)*n!/d!)} \\ Andrew Howroyd, Feb 13 2020

Formula

E.g.f.: Sum_{k>=1} Sum_{j>=1} mu(j) * x^(k*j) / j!.
E.g.f.: Sum_{k>=1} mu(k) * x^k / (k!*(1 - x^k)).

A354022 a(n) = n! * Sum_{d|n} mu(n/d) / d!.

Original entry on oeis.org

1, -1, -5, -11, -119, 241, -5039, -1679, -60479, 1784161, -39916799, 218877121, -6227020799, 43571848321, 1078831353601, -518918399, -355687428095999, 1058152455360001, -121645100408831999, 1115079416638387201, 42565648051390464001, 562000335730215782401
Offset: 1

Views

Author

Ilya Gutkovskiy, May 14 2022

Keywords

Crossrefs

Programs

  • Mathematica
    Table[n! Sum[MoebiusMu[n/d]/d!, {d, Divisors[n]}], {n, 1, 22}]
    nmax = 22; CoefficientList[Series[Sum[MoebiusMu[k] (Exp[x^k] - 1), {k, 1, nmax}], {x, 0, nmax}], x] Range[0, nmax]! // Rest
  • PARI
    a(n)=n! * sumdiv(n, d, moebius(n/d) / d!) \\ Winston de Greef, Sep 19 2023

Formula

E.g.f.: Sum_{k>=1} mu(k) * (exp(x^k) - 1).
Sum_{n>=1} a(n) * x^n / (n! * (1 - x^n)) = exp(x) - 1.
Showing 1-2 of 2 results.