login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107957 Partial sums of A107947. 1
1, 3, 6, 11, 17, 25, 36, 52, 69, 88, 110, 137, 170, 211, 263, 331, 400, 471, 545, 624, 709, 802, 906, 1026, 1163, 1319, 1497, 1702, 1940, 2219, 2550, 2949, 3349, 3751, 4156, 4566, 4982, 5406, 5841, 6292, 6760, 7247, 7756, 8292, 8861, 9471, 10133, 10863 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Terms at positions 2^k is found in A107958.

LINKS

Table of n, a(n) for n=0..47.

FORMULA

a(n) = A107947(2^m + n) - A107947(2^m) when n <= 2^(m-1).

EXAMPLE

a(3) = 6 = 22 - 16 = A107947(2^3 + 3) - A107947(2^3).

a(5) = 17 = 85 - 68 = A107947(2^4 + 5) - A107947(2^4).

a(8) = 52 = 120 - 68 = A107947(2^4 + 8) - A107947(2^4).

PROG

(PARI) {a(n)=local(A=[1, 2]); for(i=1, #binary(n), B=vector(#A, k, polcoeff(Ser(A)/(1-x), k-1)+A[2^#binary(#A-1)]); A=concat(A, B); ); sum(k=1, n, A[k])}

CROSSREFS

Cf. A107946, A107947, A107948, A107958.

Sequence in context: A119639 A281376 A247586 * A000603 A003453 A011901

Adjacent sequences:  A107954 A107955 A107956 * A107958 A107959 A107960

KEYWORD

nonn

AUTHOR

Paul D. Hanna, May 29 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 29 07:39 EST 2020. Contains 332355 sequences. (Running on oeis4.)