This site is supported by donations to The OEIS Foundation.

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A050080 a(n)=[ a(n-1)/3 ] if this is not among 0,a(1),...,a(n-2), else a(n)=4*a(n-1). 5
 1, 4, 16, 5, 20, 6, 2, 8, 32, 10, 3, 12, 48, 192, 64, 21, 7, 28, 9, 36, 144, 576, 2304, 768, 256, 85, 340, 113, 37, 148, 49, 196, 65, 260, 86, 344, 114, 38, 152, 50, 200, 66, 22, 88, 29, 116, 464, 154, 51, 17, 68, 272, 90, 30, 120, 40, 13 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Ivan Neretin, Table of n, a(n) for n = 1..10000 MATHEMATICA Rest@Nest[Append[#, If[FreeQ[#, r = Quotient[#[[-1]], 3]], r, 4 #[[-1]]]] &, {0, 1}, 56] (* Ivan Neretin, Jul 31 2016 *) CROSSREFS Cf. A050000 and references therein. Sequence in context: A059152 A059156 A040004 * A187532 A110651 A253890 Adjacent sequences:  A050077 A050078 A050079 * A050081 A050082 A050083 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.