login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Partial sums of the sequence that starts with 2 and is followed by A111575.
1

%I #8 Jul 21 2021 13:42:12

%S 2,3,4,5,6,9,12,15,18,27,36,45,54,81,108,135,162,243,324,405,486,729,

%T 972,1215,1458,2187,2916,3645,4374,6561,8748,10935,13122,19683,26244,

%U 32805,39366,59049,78732,98415,118098,177147,236196,295245,354294

%N Partial sums of the sequence that starts with 2 and is followed by A111575.

%F a(4n) = 2*A111575(4n). a(4n+1)= 3*A111575(4n+1). a(4n+2)= 4*A111575(4n+2). a(4n+3)= 5*A111575(4n+3). - _R. J. Mathar_, Jan 12 2008

%p A111575 := proc(n) 3^(floor(n/4)) ; end: A133463 := proc(n) 2+add( A111575(i),i=0..n-1) ; end: seq(A133463(n),n=0..80) ; # _R. J. Mathar_, Jan 12 2008

%t Accumulate[Join[{2},With[{pt=3^Range[0,15]},Sort[Join[pt,pt,pt,pt]]]]] (* _Harvey P. Dale_, Jul 21 2021 *)

%K nonn

%O 0,1

%A _Paul Curtz_, Nov 28 2007

%E Edited and extended by _R. J. Mathar_, Jan 12 2008