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!)
A199119 Number of partitions of n into distinct terms of (1,3)-Ulam sequence, cf. A002859. 6
1, 1, 0, 1, 2, 2, 2, 2, 3, 4, 4, 4, 5, 6, 6, 7, 7, 8, 10, 9, 9, 12, 13, 13, 13, 14, 17, 18, 18, 19, 21, 23, 25, 26, 27, 30, 33, 33, 36, 40, 42, 43, 45, 51, 55, 55, 57, 62, 67, 71, 72, 76, 82, 87, 91, 95, 100, 107, 112, 116, 124, 132, 137, 143, 151, 159, 170 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

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

Eric Weisstein's World of Mathematics, Ulam Sequence

Wikipedia, Ulam number

Index entries for Ulam numbers

EXAMPLE

The first terms of A002859 are 1, 3, 4, 5, 6, 8, 10, 12, 17, 21, ...

a(10) = #{10, 6+4, 6+3+1, 5+4+1} = 4;

a(11) = #{10+1, 8+3, 6+5, 6+4+1} = 4;

a(12) = #{12, 8+4, 8+3+1, 6+5+1, 5+4+3} = 5.

PROG

(Haskell)

a199119 = p a002859_list where

   p _  0 = 1

   p (u:us) m | m < u = 0

              | otherwise = p us (m - u) + p us m

CROSSREFS

A000586; A199118, A199017, A199121, A199123.

Sequence in context: A025774 A280168 A001156 * A321423 A035451 A304633

Adjacent sequences:  A199116 A199117 A199118 * A199120 A199121 A199122

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Nov 03 2011

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 July 12 21:31 EDT 2020. Contains 335669 sequences. (Running on oeis4.)