cp's OEIS Frontend

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.

A228483 Duplicate of A129979.

This page as a plain text file.
%I A228483 #35 Jul 20 2025 06:00:14
%S A228483 1,3,3,2,3,1,3,2,2,1,3,2,3,1,1,2,3,2,3,2,1,1,3,2,2,1,2,2,3,3,3,2,1,1,
%T A228483 1,2,3,1,1,2,3,3,3,2,2,1,3,2,2,2,1,2,3,2,1,2,1,1,3,2,3,1,2,2,1,3,3,2,
%U A228483 1,3,3,2,3,1,2,2,1,3,3,2,2,1,3,2,1,1,1
%N A228483 Duplicate of A129979.
%C A228483 1 <= a(n) <= 3: a(n) = 1 when n is both squarefree and has an even number of distinct prime factors (or if n = 1). So a(n) = 1 when mu(n) = 1. a(n) = 2 when n is square-full. a(n) = 3 when n is both squarefree and has an odd number of distinct prime factors.
%C A228483 When n is semiprime, a(n) is equal to the ratio of the number of prime factors of n (with multiplicity) to the number of its distinct prime factors. Analogously, when n is semiprime, a(n) is equal to the ratio of the sum of the prime factors of n (with repetition) to the sum of its distinct prime factors.
%C A228483 Is this a duplicate of A129979? - _R. J. Mathar_, Jul 18 2025
%H A228483 Vincenzo Librandi, <a href="/A228483/b228483.txt">Table of n, a(n) for n = 1..1000</a>
%F A228483 a(n) = 2 - mu(n) = 2 - A008683(n).
%F A228483 a(A001358(n)) = 5 - tau(A001358(n)) = 3 - omega(A001358(n)) = 3 + 2*A001358(n) - sigma(A001358(n)) - phi(A001358(n)) = Omega(A001358(n))/omega(A001358(n))= sopfr(A001358(n))/sopf(A001358(n)).
%e A228483 a(19) = 3 because mu(19) = -1 and 2 - (-1) = 3.
%e A228483 a(20) = 2 because mu(20) = 0 and 2 - 0 = 2.
%e A228483 a(21) = 1 because mu(21) = 1 and 2 - 1 = 1.
%p A228483 with(numtheory); seq(2-mobius(k),k=1..70);
%t A228483 2 - MoebiusMu[Range[100]] (* _Alonso del Arte_, Aug 22 2013 *)
%o A228483 (Magma) [2-MoebiusMu(n): n in [1..100]]; // _Vincenzo Librandi_, Aug 23 2013
%o A228483 (PARI) a(n) = 2 - moebius(n); \\ _Michel Marcus_, Apr 26 2016
%Y A228483 Cf. A001414, A008472, A008683.
%K A228483 dead
%O A228483 1,2
%A A228483 _Wesley Ivan Hurt_, Aug 22 2013