login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138002 a(3*n)=2*n, a(3*n+1)=a(n)+n, a(3*n+2)=2*a(n), a(n)=0 for n<3. 3
0, 0, 0, 2, 1, 0, 4, 2, 0, 6, 5, 4, 8, 5, 2, 10, 5, 0, 12, 10, 8, 14, 9, 4, 16, 8, 0, 18, 15, 12, 20, 15, 10, 22, 15, 8, 24, 20, 16, 26, 18, 10, 28, 16, 4, 30, 25, 20, 32, 21, 10, 34, 17, 0, 36, 30, 24, 38, 29, 20, 40, 28, 16, 42, 35, 28, 44, 31, 18, 46, 27, 8, 48, 40, 32, 50, 33, 16, 52 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

a(A062318(n)) = 0.

LINKS

R. Zumkeller, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = (n mod 3) * a(floor(n/3)) + (2 - n mod 3) * floor(n/3), a(n) = 0.

CROSSREFS

Cf. A025480.

Sequence in context: A106236 A122792 A139136 * A062296 A140649 A091453

Adjacent sequences:  A137999 A138000 A138001 * A138003 A138004 A138005

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Feb 26 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 16:28 EST 2012. Contains 205823 sequences.