login
A266118
a(n) = index of n in A266117 or 0 if n is not present in that sequence.
3
1, 2, 3, 4, 5, 8, 9, 11, 12, 6, 7, 10, 14, 18, 23, 22, 19, 15, 16, 26, 21, 20, 27, 13, 31, 17, 37, 30, 28, 25, 59, 24, 39, 33, 70, 40, 41, 48, 47, 38, 35, 29, 74, 44, 64, 54, 53, 32, 45, 56, 49, 50, 34, 36, 51, 61, 62, 55, 52, 57, 42, 58, 66, 63, 43, 60, 75, 69, 68, 76, 77, 46, 73, 67, 85, 83, 94, 78, 71, 65, 89, 98, 136, 79, 119, 100
OFFSET
1,2
COMMENTS
It is conjectured that A266117 is not just injective, but also surjective on N, i.e., that it is a true permutation of natural numbers. In that case also this sequence is a true permutation, and no hypothetical zero-values are ever needed.
PROG
(Scheme, with code for A266117 defined with defineperm1-macro also required)
(define (A266118 n) (A266117 (- n))) ;; This returns inverse values of A266117 from its hidden cache.
CROSSREFS
Inverse: A266117 (with provisions, see comment section).
Sequence in context: A337801 A116214 A161389 * A287802 A371284 A214207
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 22 2015
STATUS
approved