OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
import Data.Set (singleton, deleteFindMin, insert)
a108218 n = a108218_list !! (n-1)
a108218_list = f $ singleton (1, 0, 0) where
f s = y : f (insert (11 * y, i + 1, j) $ insert (12 * y, i, j + 1) s')
where ((y, i, j), s') = deleteFindMin s
-- Reinhard Zumkeller, May 15 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Douglas Winston (douglas.winston(AT)srupc.com), Jun 28 2005
STATUS
approved