login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A106752
Numbers of prime factors of k, k defined in A117078.
1
0, 0, 1, 0, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,6
COMMENTS
a(n) = 0 only for n = 1, 2 and 4.
LINKS
FORMULA
a(n) = numbers of factors of A117078(n). A117078(n) : smallest k such that prime(n+1) = prime(n) + (prime(n) mod k), or 0 if no such k exists.
EXAMPLE
For a(1), k=0 thus a(1)=0,
For a(3), k=3 thus a(3)=1,
For a(11), k=25=5*5 thus a(11)=2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémi Eismann, Jun 22 2007, Feb 14 2008
STATUS
approved