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

A257455
Smallest m such that A257339(m) = n.
2
1, 2, 3, 5, 4, 7, 6, 13, 9, 24, 8, 26, 10, 28, 29, 34, 11, 39, 12, 65, 16, 36, 14, 41, 17, 43, 31, 55, 15, 86, 18, 45, 44, 57, 21, 84, 19, 59, 33, 78, 20, 243, 22, 98, 62, 82, 23, 113, 25, 80, 37, 96, 27, 115, 32, 129, 46, 104, 30, 164, 35, 106, 72, 108, 40
OFFSET
1,2
COMMENTS
A257339(a(n)) = n.
LINKS
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a257455 = (+ 1) . fromJust . (`elemIndex` a257339_list)
CROSSREFS
Cf. A257339.
Sequence in context: A117120 A181095 A276345 * A328971 A127515 A332565
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 24 2015
STATUS
approved