login
A065307
"Inverse" to A065306.
3
1, 2, 3, 4, 5, 6, 7, 9, 8, 10, 11, 12, 13, 15, 14, 16, 17, 18, 19, 24, 20, 21, 25, 22, 26, 29, 23, 27, 28, 33, 30, 31, 34, 35, 32, 41, 36, 38, 37, 39, 40, 42, 43, 51, 44, 45, 52, 46, 48, 53, 47, 54, 58, 49, 55, 67, 50, 56, 57, 62, 59, 60, 63, 64, 61, 74, 65, 68, 66, 69, 70, 79
OFFSET
1,2
PROG
(Haskell)
import Data.List (elemIndex)
import Data.Maybe (fromJust)
a065307 n = (fromJust $ elemIndex n a065306_list) + 1
-- Reinhard Zumkeller, Jan 30 2012
CROSSREFS
Cf. A205666 (fixed points).
Sequence in context: A222254 A235489 A065306 * A372655 A356759 A372656
KEYWORD
nice,nonn
AUTHOR
Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Oct 29 2001
STATUS
approved