The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A035334 a(n) = smallest number which is not the sum of exactly 1 or a(n-1) earlier terms. 2

%I

%S 1,2,5,3,14,4,39,6,119,7,352,8,706,9,2104,10,4209,11,8419,12,24552,13,

%T 49106,15,188594,16,524494,17,1933822,18,5605163,19

%N a(n) = smallest number which is not the sum of exactly 1 or a(n-1) earlier terms.

%H Sean A. Irvine, <a href="https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a035/A035334.java">Java program</a> (github)

%e a(5)=14 since all earlier numbers are either in list (1,2,3,5) or the sum of 3 terms from list (4=1+1+2, 6=2+2+2, ..., 12=2+5+5, 13=3+5+5).

%Y Cf. A055456.

%K nonn,more

%O 1,2

%A _Erich Friedman_

%E a(9)-a(16) from _Henry Bottomley_, May 19 2000

%E a(17)-a(26) from Larry Reeves (larryr(AT)acm.org), May 08 2001

%E a(27)-a(32) from _Sean A. Irvine_, Oct 07 2020

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.

Last modified June 19 23:27 EDT 2021. Contains 345154 sequences. (Running on oeis4.)