OFFSET
1,2
COMMENTS
In the definition, "exactly" means the run is not part of a longer run.
EXAMPLE
2 and 3 are 2 consecutive numbers and have the same number of prime factors, and 2 is the smallest such number, hence a(2) = 2.
PROG
(PARI) card(m)=my(c=0, k=bigomega(m)); if(bigomega(m-1)!=k, while(bigomega(m)==k, c++; m++)); c
a(n)=if(n==1, return(1)); for(m=2, +oo, if(card(m)==n, return(m)))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jean-Marc Rebert, Sep 06 2022
STATUS
approved