Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079289
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079289 For even n, a(n)=a(n-2)+a(n-1)+2^(n/2-2), n>2. For odd n, a(n)=a(n-2)+a(n-1) +0
1
1, 1, 2, 3, 6, 9, 17, 26, 47, 73, 128, 201, 345, 546, 923, 1469, 2456, 3925, 6509, 10434, 17199, 27633, 45344, 72977, 119345, 192322, 313715, 506037, 823848, 1329885, 2161925, 3491810, 5670119, 9161929, 14864816, 24026745, 38957097, 62983842 (list; graph; listen)
OFFSET

0,3

COMMENT

Generalized Fibonacci sequence related to partial row sum triangles based on Pascal's triangle.

Call a multiset of nonzero integers good if the sum of the cubes is the square of the sum. The number of ascending chains of good multisets starting from the empty set by adding one element at a time is a(n). - Michael Somos Apr 14 2005.

FORMULA

a(n)=a(n-2)+a(n-1)+floor(2^(k/2-2))(1-(-1)^(k+1))/2

EXAMPLE

a(4)=6 from the good multisets {-1,-1,1,1},{-1,1,1,2},{-2,-1,1,2},{-2,1,2,2},{-3,1,2,3},{1,2,3,4}.

PROGRAM

(PARI) {a(n)=local(A); if(n<3, (n>=0)+(n>1), A=vector(n, i, i); for(i=3, n, A[i]=A[i-1]+A[i-2]+ if(i%2==0, 2^(i/2-2))); A[n])} /* Michael Somos Apr 14 2005 */

CROSSREFS

Sequence in context: A056768 A029511 A056532 this_sequence A048811 A092351 A048812

Adjacent sequences: A079286 A079287 A079288 this_sequence A079290 A079291 A079292

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Feb 08 2003

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research