login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A278293 a(n) is the number of prime factors of A278291(n) (with multiplicity). 2
1, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 3, 3, 2, 2, 2, 3, 2, 4, 2, 2, 2, 3, 3, 2, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 2, 3, 3, 4, 2, 2, 2, 2, 3, 2, 4, 3, 2, 3, 4, 2, 3, 2, 2, 3, 3, 3, 3, 3, 2, 2, 2, 4, 3, 2, 2, 3, 3, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) is also the number of prime factors in A045920(n), by definition.
Empirically, it seems as though there are relatively fewer instances of a(n)=x as x tends toward positive infinity (with the exception of a(n)=1, of which there is exactly one instance due to 2 and 3 being the only consecutive primes). For example, in the first 10000 terms, 2391 are 2, 5046 are 3, 2126 are 4, 381 are 5, 51 are 6, 3 are 7, and only one is 8, with no terms in the first 10000 greater than 8.
LINKS
FORMULA
a(n) = A001222(A278291(n)) = A001222(A045920(n))
EXAMPLE
a(2)=2, as A278291(2)=10, which has 2 prime factors.
a(6)=3, as A278291(6)=28, which has 3 prime factors.
PROG
(Java) public class A278293{
public static void main(String[] args)throws Exception{
long dim0=numberOfPrimeFactors(2); //note that this method must be manually implemented by the user
long dim1;
long counter=3;
long index=1;
while(index<=10000){
dim1=numberOfPrimeFactors(counter);
if(dim1==dim0){System.out.println(index+" "+dim1); index++; }
dim0=dim1;
counter++;
}
}
}
(SageMath)
def bigomega(x):
s=0;
f=list(factor(x));
for c in range(len(f)):
s+=f[c][1]
return s;
dim0=bigomega(2);
counter=3
index=1
while(index<=10000):
dim1=bigomega(counter);
if(dim1==dim0):
print(str(index)+" "+str(dim1))
index+=1;
dim0=dim1;
counter+=1;
CROSSREFS
Cf. A045920(n).
Sequence in context: A253719 A081147 A236103 * A163671 A287841 A083399
KEYWORD
nonn
AUTHOR
Ely Golden, Nov 16 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 29 18:05 EDT 2024. Contains 373855 sequences. (Running on oeis4.)