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.

A273381 2..a(n) is the smallest range in which the most common value of Omega(k) is n, where Omega(k) is the number of prime factors of k (A001222).

This page as a plain text file.
%I A273381 #4 May 21 2016 14:22:13
%S A273381 2,26,15526,151165506068
%N A273381 2..a(n) is the smallest range in which the most common value of Omega(k) is n, where Omega(k) is the number of prime factors of k (A001222).
%e A273381 Among the numbers from 2 to a(2)=26 the most common value of Omega is 2. Indeed, there are 9 numbers for which Omega is 1 (the primes) and 10 for which Omega is 2 (the semiprimes).
%t A273381 a[n_] := Block[{c1=0, c2=0, v, k=1}, While[c2<=c1, v=PrimeOmega[++k]; If[v == n-1, c1++]; If[v == n, c2++]]; k]; Array[a, 3]
%Y A273381 Cf. A001222, A273380.
%K A273381 nonn,more
%O A273381 1,1
%A A273381 _Giovanni Resta_, May 21 2016