login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A095259
Smallest m such that A095258(m) = n.
7
1, 3, 2, 4, 10, 5, 21, 9, 6, 16, 18, 14, 19, 39, 25, 26, 11, 8, 51, 38, 46, 56, 20, 15, 17, 34, 7, 48, 50, 37, 78, 27, 67, 12, 52, 33, 64, 66, 69, 44, 169, 53, 134, 93, 95, 40, 22, 28, 47, 41, 29, 89, 91, 54, 96, 60, 70, 99, 312, 43, 202, 80, 157, 55, 63, 92, 130, 13
OFFSET
1,2
COMMENTS
Inverse of A095258, if the conjecture is true, that this is a permutation: a(A095258(n)) = A095258(a(n)) = n;
A095261(n) = a(a(n)).
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a095259 = (+ 1) . fromJust . (`elemIndex` a095258_list)
-- Reinhard Zumkeller, Dec 31 2014
CROSSREFS
Sequence in context: A374726 A084793 A033820 * A260596 A265353 A266189
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 31 2004
EXTENSIONS
Revised version: Reinhard Zumkeller, Dec 31 2014
STATUS
approved