Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A118088 a(0) = 0, a(n) = (1+2*0^(n mod 3))*a(floor(n/3)) + n mod 3. 1
0, 1, 2, 3, 2, 3, 6, 3, 4, 9, 4, 5, 6, 3, 4, 9, 4, 5, 18, 7, 8, 9, 4, 5, 12, 5, 6, 27, 10, 11, 12, 5, 6, 15, 6, 7, 18, 7, 8, 9, 4, 5, 12, 5, 6, 27, 10, 11, 12, 5, 6, 15, 6, 7, 54, 19, 20, 21, 8, 9, 24, 9, 10, 27, 10, 11, 12, 5, 6, 15, 6, 7, 36, 13, 14, 15, 6, 7, 18, 7, 8, 81, 28, 29, 30, 11, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
a(0) = 0, a(3*n) = 3*a(n), a(3*n+i) = a(n)+i with 1<=i<=2;
A118089(n) = Min{m: a(m) = n}.
LINKS
CROSSREFS
Cf. A087808.
Sequence in context: A278910 A337982 A235669 * A298211 A088212 A085208
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 12 2006
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 August 2 11:20 EDT 2024. Contains 374838 sequences. (Running on oeis4.)