OFFSET
1,2
COMMENTS
This sequence represents a class of sequences generated by rules of the form "a(1)=1, and if x is in a then floor(hx+i) and floor(jx+k) are in a, where h and j are rational numbers and i and k are positive integers." In the following examples, the floor function is denoted by [ ].
A191323: [3x/2]+1, 3x+1
A191324: [3x/2]+1, 3x+2
A191325: [3x/2], [5x/2]
A191326: [3x/2], [7x/2]
A191327: [5x/2], [7x/2]
A191328: [5x/3], [7x/3]
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
EXAMPLE
1 -> 2,4 -> 6,7,13 -> 10,11,19,20,22,40 -> ...
MATHEMATICA
h = 3; i = 1; j = 3; k = 1; f = 1; g = 12;
a=Union[Flatten[NestList[{Floor[h#/2]+i, j#+k}&, f, g]]]
(* A191323 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 30 2011
STATUS
approved