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.

A273380 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 divisors of k (A001221).

This page as a plain text file.
%I A273380 #5 May 21 2016 14:21:52
%S A273380 2,46,22196,7870163103377
%N A273380 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 divisors of k (A001221).
%e A273380 Among the numbers from 2 to a(2)=46 the most common value of omega is 2. Indeed, there are 21 numbers for which omega is 1 (primes or prime powers) and 22 for which omega is 2.
%t A273380 a[n_] := Block[{c1=0, c2=0, v, k=1}, While[c2<=c1, v=PrimeNu[++k]; If[v == n-1, c1++]; If[v == n, c2++]]; k]; Array[a, 3]
%Y A273380 Cf. A001221, A273381.
%K A273380 nonn,more
%O A273380 1,1
%A A273380 _Giovanni Resta_, May 21 2016