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

A255479
Inverse permutation to A255582.
5
1, 2, 3, 4, 10, 5, 13, 6, 7, 8, 21, 9, 24, 11, 12, 16, 31, 14, 38, 18, 15, 23, 43, 20, 30, 22, 17, 25, 51, 28, 59, 27, 19, 29, 32, 37, 67, 36, 26, 34, 78, 35, 81, 39, 42, 41, 90, 44, 52, 46, 33, 48, 101, 47, 58, 50, 40, 49, 108, 55, 119, 57, 54, 64, 60, 63, 131, 66, 45, 62, 136, 68
OFFSET
1,2
COMMENTS
The differences |a(n)-A064664(n)| seem surprisingly small (see A255482).
About the definition: the map n -> A255582(n) is an element of the group of all permutations of the positive integers; this is the inverse of that permutation.
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a255479 = (+ 1) . fromJust. (`elemIndex` a255582_list)
-- Reinhard Zumkeller, Mar 10 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 27 2015
STATUS
approved