login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A080847
a(n) = mu(n)+2, where mu is the Moebius function (A008683).
5
3, 1, 1, 2, 1, 3, 1, 2, 2, 3, 1, 2, 1, 3, 3, 2, 1, 2, 1, 2, 3, 3, 1, 2, 2, 3, 2, 2, 1, 1, 1, 2, 3, 3, 3, 2, 1, 3, 3, 2, 1, 1, 1, 2, 2, 3, 1, 2, 2, 2, 3, 2, 1, 2, 3, 2, 3, 3, 1, 2, 1, 3, 2, 2, 3, 1, 1, 2, 3, 1, 1, 2, 1, 3, 2, 2, 3, 1, 1, 2, 2, 3, 1, 2, 3, 3, 3, 2, 1, 2, 3, 2, 3, 3, 3, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1
OFFSET
1,1
COMMENTS
1 <= a(n) <= 3.
MATHEMATICA
MoebiusMu[Range[120]]+2 (* Harvey P. Dale, Dec 31 2021 *)
PROG
(define (A080847 n) (+ 2 (A008683 n))) ;; Antti Karttunen, Jul 26 2017
CROSSREFS
Cf. A008683, one more than A007423, one less than A231821.
Sequence in context: A242248 A107297 A107296 * A326406 A334006 A364683
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 20 2003
STATUS
approved