login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050076 a(n) = floor(a(n-1)/3) if this is not among 0, a(1), ..., a(n-2); otherwise a(n) = 2*a(n-1). 6
1, 2, 4, 8, 16, 5, 10, 3, 6, 12, 24, 48, 96, 32, 64, 21, 7, 14, 28, 9, 18, 36, 72, 144, 288, 576, 192, 384, 128, 42, 84, 168, 56, 112, 37, 74, 148, 49, 98, 196, 65, 130, 43, 86, 172, 57, 19, 38, 76, 25, 50, 100, 33, 11, 22, 44, 88, 29, 58 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This permutation of the natural numbers is the "MD sequence" for (M,D) = (2,3). See A050000. - Clark Kimberling, Jun 30 2004
LINKS
MATHEMATICA
Rest@Nest[Append[#, If[FreeQ[#, r = Quotient[#[[-1]], 3]], r, 2 #[[-1]]]] &, {0, 1}, 60] (* Ivan Neretin, Jul 31 2016 *)
CROSSREFS
Cf. A050000 and references therein.
Sequence in context: A167426 A261702 A033491 * A276070 A070337 A269305
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)