%I A062157
%S A062157 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%T A062157 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%U A062157 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
%V A062157 0,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,
-1,1,-1,1,-1,1,
%W A062157 -1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,
-1,1,-1,1,-1,1,
%X A062157 -1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,
-1,1,-1,1,-1,1
%N A062157 0^n-(-1)^n.
%F A062157 a(n) =A000007(n)-A033999(n) =A062160(0, n). G.f.: x/(1+x).
%F A062157 a(n)=-[(n+2) mod (n+1)]*(-1)^n, with n>=0. - Paolo P. Lava (ppl(AT)spl.at),
Aug 28 2007
%F A062157 Euler transform of length 2 sequence [ -1, 1]. - Michael Somos Jul 05
2009
%F A062157 Moebius transform is length 2 sequence [ 1, -2]. - Michael Somos Jul
05 2009
%F A062157 a(n) is multiplicative with a(2^e) = -1 if e>0, a(p^e) = 1 if p>2. -
Michael Somos Jul 05 2009
%F A062157 Dirichlet g.f.: zeta(s) * (1 - 2^(1-s)). - Michael Somos Jul 05 2009
%o A062157 (PARI) {a(n) = if( n<1, 0, -(-1)^n )} /* Michael Somos Jul 05 2009 */
%Y A062157 Convolution inverse of A019590.
%Y A062157 Sequence in context: A103131 A057427 A057428 this_sequence A112347 A134824
A000007
%Y A062157 Adjacent sequences: A062154 A062155 A062156 this_sequence A062158 A062159
A062160
%K A062157 easy,sign,mult
%O A062157 0,1
%A A062157 Henry Bottomley (se16(AT)btinternet.com), Jun 08 2001
|