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.

A007554 Unique attractor for (RIGHT then MOBIUS) transform.

Original entry on oeis.org

1, 1, 0, -1, -2, -3, -3, -4, -3, -3, -1, -2, 3, 2, 5, 8, 12, 11, 17, 16, 21, 25, 26, 25, 30, 32, 29, 32, 32, 31, 30, 29, 21, 23, 11, 17, 5, 4, -13, -15, -28, -29, -52, -53, -76, -78, -104, -105, -142, -139, -168, -179, -209, -210, -253, -249, -278, -294
Offset: 1

Views

Author

Keywords

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A003238.
Cf. A054525.

Programs

  • Haskell
    import Data.List (genericIndex)
    a007554 n = genericIndex a007554_list (n-1)
    a007554_list = 1 : f 1 where
       f x = (sum $ zipWith (*) (map a008683 divs)
                                (map a007554 $ reverse divs)) : f (x + 1)
              where divs = a027750_row x
    -- Reinhard Zumkeller, Mar 16 2013
  • Mathematica
    a[n_] := a[n] = Sum[ MoebiusMu[ (n - 1)/d]*a[d], {d, Divisors[n - 1]}]; a[1] = 1; Table[a[n], {n, 1, 58}] (* Jean-François Alcover, Jan 04 2012, from formula *)

Formula

a(n+1) = Sum_{d|n} mu(n/d) * a(d).
G.f. A(x) satisfies: A(x) = x + x * Sum_{k>=1} mu(k) * A(x^k). - Ilya Gutkovskiy, Jul 01 2021