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!)
A245540 Partial sums of A245180. 4

%I #16 Oct 01 2018 08:19:51

%S 1,2,5,6,14,17,31,32,40,48,72,75,99,113,165,166,174,182,206,214,278,

%T 302,414,417,441,465,537,551,663,715,931,932,940,948,972,980,1044,

%U 1068,1180,1188,1252,1316,1508,1532,1724,1836,2252,2255,2279,2303,2375,2399,2591,2663,2999,3013,3125,3237

%N Partial sums of A245180.

%H Altug Alkan, <a href="/A245540/b245540.txt">Table of n, a(n) for n = 1..16383</a>

%H <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>

%F a(n) = (A245542(n) - 1)/8. - _Omar E. Pol_, Mar 07 2015

%t b[n_] := b[n] = Which[n == 1, 1, Mod[n, 2] == 0, b[n/2], Mod[n, 4] == 3, 2b[(n-1)/2] + b[n-2], True, 8b[(n-1)/4]];

%t Accumulate[Array[b, 58]] (* _Jean-François Alcover_, Oct 01 2018 *)

%Y Cf. A245180, A160239, A245542.

%K nonn,look

%O 1,2

%A _N. J. A. Sloane_, Jul 26 2014

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 25 17:34 EDT 2024. Contains 375442 sequences. (Running on oeis4.)