login
A304090
Inverse of A282291: if A282291(k) = n, a(n) = k, or 0 if n does not occur in A282291.
2
1, 2, 4, 6, 8, 3, 14, 26, 66, 9, 34, 5, 96, 15, 11, 6531, 193, 67, 386, 7, 17, 35, 770, 27, 6146, 97, 7484, 19, 1538, 10, 3074, 1210614, 37, 194, 21, 71, 14647, 387, 99, 29, 30533, 16, 60824, 39, 69, 771, 122349, 6532, 367278, 6147, 196, 101, 245225, 7485, 41, 31, 389, 1539, 688293, 12, 1535694, 3075, 73
OFFSET
1,2
COMMENTS
This is a left inverse of A282291, and also the right inverse if A282291 is a permutation of natural numbers, in which case the fallback-clause is unnecessary.
FORMULA
For n >= 1, a(A282291(n)) = n.
PROG
(PARI) \\ Use the program given in A282291.
CROSSREFS
Sequence in context: A241012 A355213 A064745 * A218454 A115425 A116418
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 17 2018
STATUS
approved