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!)
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

%I #7 Feb 02 2018 14:36:25

%S 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,

%T 20,15,10,22,15,8,24,20,16,26,18,10,28,16,4,30,25,20,32,21,10,34,17,0,

%U 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

%N 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.

%C a(A062318(n)) = 0.

%H R. Zumkeller, <a href="/A138002/b138002.txt">Table of n, a(n) for n = 0..10000</a>

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

%Y Cf. A025480.

%K nonn

%O 0,4

%A _Reinhard Zumkeller_, Feb 26 2008

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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)