login
A176884
Beginning with 2, the distance between a number and the previous number with same number of prime factors, repetitions included. Powers of 2 are assigned zero. See example.
2
0, 1, 0, 2, 2, 2, 0, 3, 1, 4, 4, 2, 4, 1, 0, 4, 6, 2, 2, 6, 1, 4, 8, 3, 1, 7, 1, 6, 2, 2, 0, 7, 1, 1, 12, 6, 3, 1, 4, 4, 12, 2, 2, 1, 7, 4, 16, 3, 5, 2, 2, 6, 14, 4, 2, 2, 1, 6, 4, 2, 4, 11, 0, 3, 3, 6, 2, 4, 2, 4, 24, 2, 5, 5, 1, 3, 2, 6, 8, 21, 5, 4, 3, 3, 1, 1, 4, 6, 2, 4, 14, 2, 1, 1, 32, 8, 6, 1, 10, 4, 3
OFFSET
1,4
EXAMPLE
The distance between numbers and previous number with same number of primes (#,d): (2,0),(3,1),(4,0),(5,2),(6,2),(7,2),(8,0),(9,3),...So the sequence is: 0,1,0,2,2,2,0,3,...
CROSSREFS
Cf. A176883.
Sequence in context: A217670 A243310 A197727 * A308361 A347317 A342585
KEYWORD
nonn
AUTHOR
Daniel Tisdale, Apr 27 2010
EXTENSIONS
Extended by Ray Chandler, May 05 2010
STATUS
approved