A286417 Lexicographically earliest sequence of distinct positive terms such that the binary representation of the n-th prime contains the binary representation of a(n).
1, 3, 2, 7, 5, 6, 4, 9, 11, 13, 15, 18, 10, 21, 23, 26, 14, 29, 8, 17, 36, 19, 20, 12, 16, 25, 39, 43, 22, 24, 31, 32, 34, 69, 37, 75, 78, 35, 41, 45, 44, 53, 47, 48, 49, 71, 52, 27, 28, 50, 58, 55, 30, 59, 64, 65, 33, 67, 138, 70, 141, 73, 38, 77, 57, 61, 82
Offset: 1
Examples
See illustration of the first terms in the Links section.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, Illustration of the first terms
- Rémy Sigrist, Colorized scatterplot of the first 100000 terms
- Rémy Sigrist, Scatterplot of the numbers appearing in the binary representation of the first 10000 prime numbers (this scatterplot contains the scatterplot of a)
- Rémy Sigrist, PARI program for A286417
- Index entries for sequences that are permutations of the natural numbers
Comments