A330340 a(n) is the least k such that A092213(n) = k + reverse(k) (where reverse(k) is the binary reverse of k, A030101(k)).
0, 1, 2, 4, 3, 6, 5, 7, 10, 16, 9, 14, 11, 20, 18, 15, 32, 17, 22, 26, 21, 19, 30, 34, 23, 27, 44, 31, 38, 64, 33, 50, 46, 37, 54, 35, 68, 45, 62, 39, 66, 76, 51, 84, 47, 55, 74, 70, 92, 63, 128, 65, 98, 78, 86, 73, 106, 69, 102, 94, 67, 132, 77, 110, 85, 118
Offset: 0
Examples
For n = 3: - A092213(3) = 5, - 4 is the least k such that k + reverse(k) = 5, - so a(3) = 4.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..7528
- Rémy Sigrist, PARI program for A330340
Programs
-
PARI
See Links section.
Comments