OFFSET
1,2
COMMENTS
See A191113.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
h = 3; i = 0; j = 4; k = -3; f = 1; g = 9;
a = Union[Flatten[NestList[{h # + i, j # + k} &, f, g]]] (* A191126 *)
b = a/3; c = (a + 3)/4; r = Range[1, 1500];
d = Intersection[b, r] (* A191176 *)
e = Intersection[c, r] (* A191177 *)
m = a/3 (* divisibility property *)
p = (a + 3)/6 (* divisibility property *)
PROG
(Haskell)
import Data.Set (singleton, deleteFindMin, insert)
a191126 n = a191126_list !! (n-1)
a191126_list = 1 : f (singleton 3)
where f s = m : (f $ insert (3*m) $ insert (4*m-3) s')
where (m, s') = deleteFindMin s
-- Reinhard Zumkeller, Jun 01 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 27 2011
STATUS
approved