# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a359833
Showing 1-1 of 1
%I A359833 #12 Jan 25 2023 22:23:13
%S A359833 1,-1,-1,1,-1,1,-1,-2,0,1,-1,-1,-1,1,1,3,-1,0,-1,-1,1,1,-1,2,0,1,0,-1,
%T A359833 -1,-1,-1,-5,1,1,1,0,-1,1,1,2,-1,-1,-1,-1,0,1,-1,-3,0,0,1,-1,-1,0,1,2,
%U A359833 1,1,-1,1,-1,1,0,8,1,-1,-1,-1,1,-1,-1,0,-1,1,0,-1,1,-1,-1,-3,0,1,-1,1,1,1,1,2,-1,0,1,-1,1,1,1,5,-1,0,0,0,-1,-1,-1,2,-1
%N A359833 Dirichlet inverse of A359832, where A359832(n) = 1 if the 2-adic valuation of n is either 0 or odd, otherwise 0.
%C A359833 Multiplicative because A359832 is.
%H A359833 Antti Karttunen, Table of n, a(n) for n = 1..65537
%F A359833 a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d 2, a(p^e) = -1 if e = 1 and 0 otherwise. - _Amiram Eldar_, Jan 24 2023
%t A359833 f[p_, e_] := If[e == 1, -1, 0]; f[2, e_] := (-1)^e*Fibonacci[e]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* _Amiram Eldar_, Jan 24 2023 *)
%o A359833 (PARI) A359833(n) = { my(f=factor(n)); prod(k=1, #f~, if(2==f[k,1], ((-1)^f[k,2])*fibonacci(f[k,2]),-(1==f[k,2]))); }; \\ _Antti Karttunen_, Jan 25 2023
%Y A359833 Cf. A000045, A007814, A359832, A359834 (parity of terms).
%K A359833 sign,mult
%O A359833 1,8
%A A359833 _Antti Karttunen_, Jan 24 2023
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE