login
A157658
a(1) = 0, a(n) = -mu(n) for n >= 2.
5
0, 1, 1, 0, 1, -1, 1, 0, 0, -1, 1, 0, 1, -1, -1, 0, 1, 0, 1, 0, -1, -1, 1, 0, 0, -1, 0, 0, 1, 1, 1, 0, -1, -1, -1, 0, 1, -1, -1, 0, 1, 1, 1, 0, 0, -1, 1, 0, 0, 0, -1, 0, 1, 0, -1, 0, -1, -1, 1, 0, 1, -1, 0, 0, -1, 1, 1, 0, -1, 1, 1, 0, 1, -1, 0, 0, -1, 1, 1, 0, 0, -1, 1, 0, -1, -1, -1, 0, 1, 0, -1, 0, -1, -1, -1, 0, 1, 0, 0, 0
OFFSET
1,1
COMMENTS
Except for a(1) the same as A157657.
FORMULA
a(n) = A157657(n), n>1. -- R. J. Mathar, Mar 08 2009
PROG
(PARI) a(n)=if(n>1, -moebius(n), 0) \\ Charles R Greathouse IV, Dec 19 2011
(Scheme) (define (A157658 n) (if (= 1 n) 0 (- (A008683 n)))) ;; Antti Karttunen, Jul 26 2017
CROSSREFS
Cf. A008683, A157657 (same except for a(0)).
Column k = 2 of A144734.
Sequence in context: A288861 A030190 A353471 * A296211 A341642 A123506
KEYWORD
sign
AUTHOR
Jaroslav Krizek, Mar 03 2009
EXTENSIONS
Added more terms, Joerg Arndt, Aug 25 2014
STATUS
approved