login
A106149
Number of prime factors with multiplicity of the difference between consecutive primes.
0
0, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 3, 2, 1, 2, 1, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 1, 2, 1, 3, 3, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 3, 2, 2, 2, 2, 3, 2, 3, 2, 1
OFFSET
1,4
FORMULA
a(n) = bigomega(p(n+1)-p(n)).
EXAMPLE
p(5)-p(4)=4, bigomega(4)=2.
MATHEMATICA
PrimeOmega/@Differences[Prime[Range[100]]] (* Harvey P. Dale, Mar 16 2020 *)
PROG
(PARI) a(n) = bigomega(prime(n+1) - prime(n)); \\ Michel Marcus, Aug 26 2013
CROSSREFS
Sequence in context: A270641 A076371 A175044 * A253607 A212179 A257023
KEYWORD
easy,nonn
AUTHOR
Paul Finley (pfinley(AT)touro.edu), Sep 11 2007
STATUS
approved