A291588 Lexicographically earliest sequence of distinct positive terms such that for any n > 0 and k >= 0, gcd(a(n), a(n + 2^k)) = 1.
1, 2, 3, 5, 4, 7, 11, 6, 13, 17, 8, 19, 9, 10, 23, 29, 14, 27, 25, 16, 31, 37, 12, 35, 41, 22, 43, 39, 20, 47, 49, 32, 33, 53, 26, 59, 61, 15, 67, 71, 28, 73, 45, 34, 79, 77, 38, 65, 83, 46, 89, 21, 40, 97, 91, 44, 51, 95, 58, 101, 103, 18, 55, 107, 52, 109
Offset: 1
Keywords
Examples
a(1) = 1 is suitable. a(2) must be coprime to a(2 - 2^0) = 1. a(2) = 2 is suitable. a(3) must be coprime to a(3 - 2^0) = 2, a(3 - 2^1) = 1. a(3) = 3 is suitable. a(4) must be coprime to a(4 - 2^0) = 3, a(4 - 2^1) = 2. a(4) = 5 is suitable. a(5) must be coprime to a(5 - 2^0) = 5, a(5 - 2^1) = 3, a(5 - 2^2) = 1. a(5) = 4 is suitable. a(6) must be coprime to a(6 - 2^0) = 4, a(6 - 2^1) = 5, a(6 - 2^2) = 2. a(6) = 7 is suitable. a(7) must be coprime to a(7 - 2^0) = 7, a(7 - 2^1) = 4, a(7 - 2^2) = 3. a(7) = 11 is suitable.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..20000
- Rémy Sigrist, Scatterplot of the first 5000 terms of f_A000040 (the prime numbers)
- Rémy Sigrist, Scatterplot of the first 5000 terms of f_A000045 (the Fibonacci numbers)
- Rémy Sigrist, Scatterplot of the first 5000 terms of f_A000142 (the factorial numbers)
- Rémy Sigrist, Scatterplot of the first 5000 terms of f_A000244 (the powers of 3)
- Rémy Sigrist, Scatterplot of the first 5000 terms of f_A000312 (A000312(k) = k^k)
- Rémy Sigrist, PARI program for A291588
- Rémy Sigrist, Scatterplot of the first 500000 terms
Crossrefs
Programs
-
PARI
\\ See Links section.
Comments