A356953 Least nonzero starting number in the first run of exactly n consecutive numbers having the same number of prime factors counted with multiplicity, or -1 if no such number exists.
1, 2, 33, 1083, 602, 2522, 211673, 6612470, 3405122, 49799889, 202536181, 3195380868, 5208143601, 85843948321, 97524222465, 361385490681003, 441826936079342
Offset: 1
Examples
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.
Programs
-
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)))
Extensions
a(16)-a(17) from Toshitaka Suzuki, Aug 31 2025
Comments