login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054843 Number of sequences of consecutive nonnegative integers (including sequences of length 1) that sum to n. 2
2, 1, 3, 1, 2, 3, 2, 1, 3, 3, 2, 2, 2, 2, 5, 1, 2, 3, 2, 2, 5, 2, 2, 2, 3, 2, 4, 3, 2, 4, 2, 1, 4, 2, 4, 4, 2, 2, 4, 2, 2, 4, 2, 2, 7, 2, 2, 2, 3, 3, 4, 2, 2, 4, 5, 2, 4, 2, 2, 4, 2, 2, 6, 1, 4, 5, 2, 2, 4, 4, 2, 3, 2, 2, 6, 2, 4, 5, 2, 2, 5, 2, 2, 4, 4, 2, 4, 2, 2, 6, 5, 2, 4, 2, 4, 2, 2, 3, 6, 3, 2, 4, 2, 2, 9 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(n) = A001227(n) + A010054(n). G.f.: Sum_{k>0} x^(k*(k-1)/2)/(1-x^k). - Vladeta Jovovic (vladeta(AT)eunet.rs), Aug 10 2004

EXAMPLE

a(1) = 2 because 1 = 0+1 or 1; a(15) = 5 because 15 = 0+1+2+3+4+5 or 1+2+3+4+5 or 4+5+6 or 7+8 or 15.

CROSSREFS

Cf. A001227, A054844.

Sequence in context: A105497 A132662 A132589 * A038566 A020652 A096107

Adjacent sequences:  A054840 A054841 A054842 * A054844 A054845 A054846

KEYWORD

easy,nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Apr 13 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 17:10 EST 2012. Contains 205644 sequences.