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.

A325126 a(1) = 1; a(n) = -Sum_{d|n, d rad(n/d) * a(d), where rad = A007947.

This page as a plain text file.
%I A325126 #32 Nov 23 2021 18:18:41
%S A325126 1,-2,-3,2,-5,6,-7,-2,6,10,-11,-6,-13,14,15,2,-17,-12,-19,-10,21,22,
%T A325126 -23,6,20,26,-12,-14,-29,-30,-31,-2,33,34,35,12,-37,38,39,10,-41,-42,
%U A325126 -43,-22,-30,46,-47,-6,42,-40,51,-26,-53,24,55,14,57,58,-59,30
%N A325126 a(1) = 1; a(n) = -Sum_{d|n, d<n} rad(n/d) * a(d), where rad = A007947.
%C A325126 Dirichlet inverse of A007947.
%C A325126 Moebius transform of A125131.
%H A325126 Antti Karttunen, <a href="/A325126/b325126.txt">Table of n, a(n) for n = 1..20000</a>
%F A325126 G.f. A(x) satisfies: A(x) = x - Sum_{k>=2} rad(k) * A(x^k).
%F A325126 From _Isaac Saffold_, May 30 2020: (Start)
%F A325126 a(n) = A008836(n)*A326297(n)*A007947(n).
%F A325126 Proof:
%F A325126 Define lambda(n) := A008836(n); h(n) := A326297(n); rad(n) := A007947(n).
%F A325126 As lambda(n), h(n), and rad(n) are multiplicative, the identity needs only to be proved for prime power n.
%F A325126 It is clear that the identity holds for n = 1 = p^0. For a given nonnegative integer k, assume the identity holds for all v such that 0 <= v <= k. Then, by the recursive formula for Dirichlet inverses,
%F A325126 a(p^(k+1)) = -Sum_{v=0..k} lambda(p^v)*h(p^v)*rad(p^v)*rad(p^(k+1-v))
%F A325126 = -p * (1 + p*Sum_{v=1..k}((-1)^v * (p-1)^(v-1)))
%F A325126 = -p * (1 - p*Sum_{v=0..(k-1)}((1 - p)^v))
%F A325126 = -p * (1 - p*(((1-p)^k - 1) / -p))
%F A325126 = -p * (1-p)^k
%F A325126 = (-1)^(k+1) * (p-1)^k * p
%F A325126 = lambda(p^(k+1)) * h(p^(k+1)) * rad(p^(k+1))
%F A325126 Thus the identity holds for p^(k+1), k >= 0.
%F A325126 As k is arbitrary and the identity holds for p^0, it holds for the prime powers, and thus for all positive integers. Q.E.D. (End)
%t A325126 a[n_] := If[n == 1, n, -Sum[If[d < n, Last[Select[Divisors[n/d], SquareFreeQ]] a[d], 0], {d, Divisors[n]}]]; Table[a[n], {n, 1, 60}]
%t A325126 f[p_, e_] := -p*(1 - p)^(e - 1); a[1] = 1; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 100] (* _Amiram Eldar_, Oct 14 2020 *)
%o A325126 (PARI) rad(n) = factorback(factorint(n)[, 1]); \\ A007947
%o A325126 lista(nn) = {my(va=vector(nn)); va[1] = 1; for (n=2, nn, va[n] = -sumdiv(n, d, if (d<n, rad(n/d) * va[d]));); va;} \\ _Michel Marcus_, Jun 01 2020
%Y A325126 Cf. A007947, A008836, A125131, A326297.
%Y A325126 Cf. also A327564, A332732, A349340, A349612, A349618.
%K A325126 sign,mult,easy
%O A325126 1,2
%A A325126 _Ilya Gutkovskiy_, Sep 04 2019