

A109465


a(1)=1; for n>1, a(n) = smallest positive integer not among the earlier terms of the sequence that is divisible by a different number of distinct primes than a(n1).


0



1, 2, 6, 3, 10, 4, 12, 5, 14, 7, 15, 8, 18, 9, 20, 11, 21, 13, 22, 16, 24, 17, 26, 19, 28, 23, 30, 25, 33, 27, 34, 29, 35, 31, 36, 32, 38, 37, 39, 41, 40, 42, 43, 44, 47, 45, 49, 46, 53, 48, 59, 50, 60, 51, 61, 52, 64, 54, 66, 55, 67, 56, 70, 57, 71, 58, 73, 62, 78, 63, 79, 65
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Sequence is a permutation of the positive integers.


LINKS

Table of n, a(n) for n=1..72.


EXAMPLE

Of the positive integers (4,5,7,8,9,10,11,...) not among the first 4 terms of the sequence, 10 is the smallest which is divisible by a different number of distinct primes than a(4) = 3. So a(5) = 10.


CROSSREFS

Cf. A001221.
Sequence in context: A136190 A079297 A143219 * A090705 A208547 A167979
Adjacent sequences: A109462 A109463 A109464 * A109466 A109467 A109468


KEYWORD

nonn,changed


AUTHOR

Leroy Quet, Aug 28 2005


EXTENSIONS

Extended by Ray Chandler, Aug 28 2005


STATUS

approved



