login
Number of letters in the English name of n, excluding spaces and hyphens and all integers preceding it.
0

%I #6 Mar 30 2012 17:31:21

%S 4,7,10,15,19,23,26,31,36,40,43,49,55,63,71,78,85,94,102,110,116,125,

%T 134,145,155,165,174,185,196,206,212,221,230,241,251,261,270,281,292,

%U 302,307,315,323,333,342,351,359,369,379,388,393,401,409,419,428,437

%N Number of letters in the English name of n, excluding spaces and hyphens and all integers preceding it.

%C Partial sums of A005589(n).

%e If we write out: "zero one two three," there are 15 letters in total, so a(3)=15.

%t lst = { (* the terms of A005589 *) }; Rest@ FoldList[ #1 + #2 &, 0, lst] (* _Robert G. Wilson v_, Aug 28 2007 *)

%Y Cf. A005589.

%K nonn,word

%O 1,1

%A Jonathan R. Love (japanada11(AT)yahoo.ca), Mar 23 2007