OFFSET
1,2
COMMENTS
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
Juha Honkala, On number systems with negative digits, Annales Academiae Scientiarum Fennicae, Series A. I. Mathematica, Vol. 14, 1989, pp. 149-156.
MATHEMATICA
h = 3; i = -1; j = 3; k = 2; f = 1; g = 7;
a = Union[Flatten[NestList[{h # + i, j # + k} &, f, g]]] (* 191109 *)
b = (a + 1)/3; c = (a - 2)/3; r = Range[1, 900];
d = Intersection[b, r] (* A153775 *)
e = Intersection[c, r] (* A032924 *)
Nest[Flatten[{#, 3#-1, 3#+2}]&, 1, 10]//Union (* Harvey P. Dale, Apr 05 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 26 2011
EXTENSIONS
Name edited by Michel Marcus, Jul 29 2021
STATUS
approved
