OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
a255136 n = a255136_list !! (n-1)
(a255136_list, a255137_list) = unzip $ f [1..] a255134_list (-1) where
f (x:xs) (y:ys) r = if y > r then (y, x) : f xs ys y else f xs ys r
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 15 2015
STATUS
approved