Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120940
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120940 Alternating sum of the Fibonacci numbers multiplied by their (combinatorial) indices. +0
1
0, 1, 3, 6, 14, 26, 52, 95, 177, 318, 572, 1012, 1784, 3117, 5423, 9382, 16170, 27758, 47500, 81035, 137885, 234046, 396408, 670056, 1130544, 1904281, 3202587, 5378310, 9020102, 15109058, 25279012, 42248567, 70537929, 117657342 (list; graph; listen)
OFFSET

0,3

LINKS

M. M. Herreshoff, A Combinatorial proof of the summation from k = 0 to n of k times f sub k Presented at The Twelfth International Conference on Fibonacci Numbers and Their Applications.

FORMULA

a(n) = sum from k=0 to n of (-1)^(n-k)*k*f(k) also, when n >= 3, a(n) = nf(n-1) + f(n-3) + (-1)^n where f(n) = F(n+1)

PROGRAM

#!/usr/bin/guile -s Computes the alternating sum of the fibonacci numbers multiplied by their (combinatorial) indices. !# (use-modules (srfi srfi-1)) (define (fibo n) (define (iter a b k) (if (= k n) b (iter b (+ a b) (+ k 1)))) (iter 0 1 0)) (define (a n) (fold + 0 (map (lambda (k) (* k (fibo k) (expt -1 (- n k)))) (iota (+ n 1)))))

CROSSREFS

Cf. A094584, A000045.

Sequence in context: A166212 A002219 A006906 this_sequence A049940 A051749 A030012

Adjacent sequences: A120937 A120938 A120939 this_sequence A120941 A120942 A120943

KEYWORD

nonn

AUTHOR

Marcello M. Herreshoff (m(AT)marcello.gotdns.com), Jul 18 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research