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”).

A113233
Inverse permutation to A109812.
14
1, 2, 4, 3, 6, 9, 16, 5, 10, 7, 20, 12, 26, 14, 28, 8, 13, 11, 22, 19, 24, 30, 39, 17, 33, 36, 41, 44, 51, 54, 76, 15, 18, 25, 43, 21, 37, 34, 48, 23, 31, 60, 80, 46, 57, 85, 104, 27, 66, 62, 71, 64, 90, 83, 109, 68, 88, 100, 102, 74, 112, 107, 162, 29, 35, 32, 45, 42, 61, 67
OFFSET
1,2
FORMULA
A113234(n) = a(a(n)).
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a113233 = (+ 1) . fromJust . (`elemIndex` a109812_list)
-- Reinhard Zumkeller, Sep 15 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Oct 19 2005
EXTENSIONS
a(63) corrected by Reinhard Zumkeller, Sep 15 2014
STATUS
approved