cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A191144 Increasing sequence generated by these rules: a(1)=1, and if x is in a then 3x+2 and 4x+2 are in a.

This page as a plain text file.
%I A191144 #8 Jul 13 2013 12:04:11
%S A191144 1,5,6,17,20,22,26,53,62,68,70,80,82,90,106,161,188,206,212,214,242,
%T A191144 248,250,272,274,282,320,322,330,362,426,485,566,620,638,644,646,728,
%U A191144 746,752,754,818,824,826,848,850,858,962,968,970,992,994,1002,1088,1090,1098,1130,1280,1282,1290,1322,1450,1457,1700,1706,1862
%N A191144 Increasing sequence generated by these rules:  a(1)=1, and if x is in a then 3x+2 and 4x+2 are in a.
%C A191144 See A191113.
%H A191144 Reinhard Zumkeller, <a href="/A191144/b191144.txt">Table of n, a(n) for n = 1..10000</a>
%t A191144 h = 3; i = 2; j = 4; k = 2; f = 1; g = 9;
%t A191144 a = Union[Flatten[NestList[{h # + i, j # + k} &, f, g]]]  (* A191144 *)
%t A191144 b = (a - 2)/3; c = (a - 2)/4; r = Range[1, 1500];
%t A191144 d = Intersection[b, r] (* A191212 *)
%t A191144 e = Intersection[c, r] (* A191213 *)
%o A191144 (Haskell)
%o A191144 import Data.Set (singleton, deleteFindMin, insert)
%o A191144 a191144 n = a191144_list !! (n-1)
%o A191144 a191144_list = f $ singleton 1
%o A191144    where f s = m : (f $ insert (3*m+2) $ insert (4*m+2) s')
%o A191144              where (m, s') = deleteFindMin s
%o A191144 -- _Reinhard Zumkeller_, Jun 01 2011
%Y A191144 Cf. A191113.
%K A191144 nonn
%O A191144 1,2
%A A191144 _Clark Kimberling_, May 28 2011