Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Jul 13 2013 12:04:10
%S 1,2,4,6,7,13,14,19,22,26,40,43,50,54,58,67,74,79,86,102,121,130,151,
%T 158,163,170,175,198,202,214,223,230,238,259,266,294,307,314,342,364,
%U 391,406,454,475,482,490,511,518,526,595,602,607,630,643,650,670,678,691,698,715,778,790,799,806,854,883,890,918,922,943,950
%N Increasing sequence generated by these rules: a(1)=1, and if x is in a then 3x+1 and 4x-2 are in a.
%C See A191113.
%H Reinhard Zumkeller, <a href="/A191133/b191133.txt">Table of n, a(n) for n = 1..10000</a>
%t h = 3; i = 1; j = 4; k = -2; f = 1; g = 9;
%t a = Union[Flatten[NestList[{h # + i, j # + k} &, f, g]]] (* A191133 *)
%t b = (a - 1)/3; c = (a + 2)/4; r = Range[1, 1500];
%t d = Intersection[b, r] (* A191190 *)
%t e = Intersection[c, r] (* A191191 *)
%o (Haskell)
%o import Data.Set (singleton, deleteFindMin, insert)
%o a191133 n = a191133_list !! (n-1)
%o a191133_list = f $ singleton 1
%o where f s = m : (f $ insert (3*m+1) $ insert (4*m-2) s')
%o where (m, s') = deleteFindMin s
%o -- _Reinhard Zumkeller_, Jun 01 2011
%Y Cf. A191113.
%K nonn
%O 1,2
%A _Clark Kimberling_, May 27 2011