Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060961
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060961 Number of ordered partitions of n into 1's, 3's and 5's. +0
2
1, 1, 2, 3, 5, 8, 12, 19, 30, 47, 74, 116, 182, 286, 449, 705, 1107, 1738, 2729, 4285, 6728, 10564, 16587, 26044, 40893, 64208, 100816, 158296, 248548, 390257, 612761 (list; graph; listen)
OFFSET

1,3

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,500

FORMULA

a(n)=a(n-1)+a(n-3)+a(n-5) G.f.: (x+x^3+x^5)/(1-(x+x^3+x^5))

PROGRAM

(PARI) { for (n=1, 500, if (n>5, a=a1 + a3 + a5; a5=a4; a4=a3; a3=a2; a2=a1; a1=a, if (n==1, a=a5=1, if (n==2, a=a4=1, if (n==3, a=a3=2, if (n==4, a=a2=3, a=a1=5))))); write("b060961.txt", n, " ", a); ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 15 2009]

CROSSREFS

A060945 (1's, 2's and 4's)

Sequence in context: A099823 A023436 A024567 this_sequence A013984 A107479 A117761

Adjacent sequences: A060958 A060959 A060960 this_sequence A060962 A060963 A060964

KEYWORD

nonn

AUTHOR

Len Smiley (smiley(AT)math.uaa.alaska.edu), May 08 2001

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 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research