OFFSET
1,2
COMMENTS
See A190803.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
PROG
(Haskell)
import Data.Set (singleton, deleteFindMin, insert)
a190810 n = a190810_list !! (n-1)
a190810_list = f $ singleton 1
where f s = m : (f $ insert (2*m+1) $ insert (3*m-1) s')
where (m, s') = deleteFindMin s
-- Reinhard Zumkeller, Jun 01 2011
(PARI) is(n)=if(n<7, n!=4, (n%3==1 && is(n\3)) || (n%2 && is(n\2))) \\ Charles R Greathouse IV, Jul 14 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 20 2011
EXTENSIONS
a(55)=255 inserted by Reinhard Zumkeller, Jun 01 2011
STATUS
approved