login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A263774 Sequence is defined by the condition that Sum_{d|n} a(d)^(n/d) = mu(n)^2, where mu(n) is the Möbius function. 1

%I #45 Mar 27 2017 10:25:16

%S 1,0,0,-1,0,0,0,-2,-1,0,0,0,0,0,0,-6,0,-2,0,0,0,0,0,6,-1,0,0,0,0,0,0,

%T -54,0,0,0,-5,0,0,0,30,0,0,0,0,0,0,0,114,-1,-2,0,0,0,6,0,126,0,0,0,0,

%U 0,0,0,-4470,0,0,0,0,0,0,0,252,0,0,0,0,0,0,0

%N Sequence is defined by the condition that Sum_{d|n} a(d)^(n/d) = mu(n)^2, where mu(n) is the Möbius function.

%H Reinhard Zumkeller, <a href="/A263774/b263774.txt">Table of n, a(n) for n = 1..10000</a>

%F a(1) = 1.

%F If p>2, a(p) = 0, a(p^2) = -1, a(p^n) = 0 for n>2.

%F a(p1*p2*..*pn) = 0, a(2*p1*...*pn) = 0, a(4*p1*...*pn) = 0.

%F If p1,...,pn are odd it appears that:

%F a(p1^2*p2^2*...*pn^2) = (-1)^n,

%F a(p1^k1*p2^k2*...*pn^kn) = 0, if one of k1,...,kn > 2,

%F a(2*p1^k1*p2^k2*...*pn^kn) > 0 if one of k1,...,kn > 1.

%F a(2^n) = A264610(n).

%e For a prime p, a(p)^1 + a(1)^p = mu(p)^2=1 => a(p) = 0.

%e For n=6, a(1)^6 + a(2)^3 + a(3)^2 + a(6)^1 = mu(6) = 1, so 1 - 0 + 0 + a(6) = 1, so 1 + a(6) = 1, so a(6) = 0.

%p a := proc (n) option remember; numtheory:-mobius(n)^2-add(procname(n/d)^d, d = `minus`(numtheory:-divisors(n), {1})) end proc; a(1) := 1; La := seq(a(i), i = 1 .. 100)

%t a[n_]:=If[n<2, 1, MoebiusMu[n]^2 - Sum[If[d==1, 0, a[n/d]^d], {d, Divisors[n]}]]; Table[a[n], {n, 100}] (* _Indranil Ghosh_, Mar 26 2017 *)

%o (PARI) a(n) = if (n==1, 1, moebius(n)^2- sumdiv(n, d, if (d==1, 0, a(n/d)^d)));

%o (Haskell)

%o a263774 1 = 1

%o a263774 n = foldl (-) (a008966 n) $ zipWith (^) (map a' $ reverse ds) ds

%o where a' x = if x == n then 0 else a263774 x

%o ds = a027750_row n

%o -- _Reinhard Zumkeller_, Dec 06 2015

%Y Cf. A008683, A264610.

%Y Cf. A008966, A027750.

%K sign

%O 1,8

%A _Gevorg Hmayakyan_, Nov 28 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 29 13:11 EDT 2024. Contains 374734 sequences. (Running on oeis4.)