OFFSET
1,2
COMMENTS
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
FORMULA
(See the Mathematica code.)
MATHEMATICA
nn=200; t={1}; t0=t; While[t=Select[Union[t, Floor[(3*t-1)/2], 3*t], #<=nn &]; t0 != t, t0=t]; t
f[s_List] := Select[ Union@ Join[s, Floor[(3 s - 1)/2], 3 s], # < 201 &]; NestWhile[f, {1}, UnsameQ, All]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Dec 30 2010
STATUS
approved