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.
%I A154282 #20 Aug 27 2023 04:22:56 %S A154282 1,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, %T A154282 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0, %U A154282 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 %N A154282 Dirichlet inverse of A154281. %C A154282 Sequence is positive as often as negative. %C A154282 Multiplicative because A154281 is. - _Andrew Howroyd_, Aug 05 2018 %H A154282 Mats Granvik, <a href="/A154282/b154282.txt">Table of n, a(n) for n = 1..1500</a> %F A154282 Multiplicative with a(2^e) = (-1)^(e/2) if e is even and 0 is e is odd, and a(p^e) = 0 if p is an odd prime. - _Amiram Eldar_, Aug 27 2023 %t A154282 nn = 95; a = PadRight[{1, 0, 0, 1}, nn, 0]; Inverse[Table[Table[If[Mod[n, k] == 0, a[[n/k]], 0], {k, 1, nn}], {n, 1, nn}]][[All, 1]] (* _Mats Granvik_, Jul 23 2017 *) %o A154282 (PARI) a(n) = {my(e=valuation(n,2)); if(e%2 == 0 && n == 1<<e, (-1)^(e/2), 0)} \\ _Andrew Howroyd_, Aug 05 2018 %Y A154282 Cf. A154269, A154271, A154272, A154281. %K A154282 sign,easy,mult %O A154282 1,1 %A A154282 _Mats Granvik_, Jan 06 2009