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”).

A077127
a(0) = 1, a(1) = 2, a(n) = smallest number other than n, non-coprime to n and not occurring earlier.
1
1, 2, 4, 6, 8, 10, 3, 14, 12, 15, 5, 22, 9, 26, 7, 18, 20, 34, 16, 38, 24, 27, 11, 46, 21, 30, 13, 33, 32, 58, 25, 62, 28, 36, 17, 40, 39, 74, 19, 42, 35, 82, 44, 86, 48, 50, 23, 94, 45, 56, 52, 54, 60, 106, 51, 65, 49, 63, 29, 118, 55, 122, 31, 57, 66, 70, 64, 134, 72, 75, 68
OFFSET
0,2
COMMENTS
Permutation of natural numbers.
CROSSREFS
Sequence in context: A083167 A338741 A115950 * A082191 A319806 A055952
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 29 2002
EXTENSIONS
Corrected and extended by Sascha Kurz, Jan 30 2003
STATUS
approved