The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS 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

%I #5 Mar 30 2012 18:51:11

%S 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,

%T 19,21,23,25,26,27,30,33,33,36,40,42,43,45,51,55,55,57,62,67,71,72,76,

%U 82,87,91,95,100,107,112,116,124,132,137,143,151,159,170

%N Number of partitions of n into distinct terms of (1,3)-Ulam sequence, cf. A002859.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/UlamSequence.html">Ulam Sequence</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Ulam_number">Ulam number</a>

%H <a href="/index/U#Ulam_num">Index entries for Ulam numbers</a>

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

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

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

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

%o (Haskell)

%o a199119 = p a002859_list where

%o p _ 0 = 1

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

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

%Y A000586; A199118, A199017, A199121, A199123.

%K nonn

%O 0,5

%A _Reinhard Zumkeller_, Nov 03 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 20:44 EDT 2024. Contains 373360 sequences. (Running on oeis4.)