Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A053541
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A053541 a(n)=n*10^(n-1). +0
8
1, 20, 300, 4000, 50000, 600000, 7000000, 80000000, 900000000, 10000000000, 110000000000, 1200000000000, 13000000000000, 140000000000000, 1500000000000000, 16000000000000000, 170000000000000000 (list; graph; listen)
OFFSET

0,2

COMMENT

This sequence gives the number of 1's (or any other digit) required to write all integers of n or fewer digits. It is thus A094798 for n=9, 99, 999, .... Another formula: a(n) = 10*a(n-1)+10(n-1) a(n) = Sum_{k=1...n} k*C(n,k)*9^(n-k) - Jason D. W. Taff (jtaff(AT)jburroughs.org), Dec 05 2004

With a different offset, number of n-permutations of 11 objects: p, q, r, s, t, u, v, w, z, x, y with repetition allowed, containing exactly one u. - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 28 2007

REFERENCES

A. H. Beiler, Recreations in the Theory of Numbers, Dover, N.Y., 1964, pp. 194-196.

LINKS

F. Ellermann, Illustration of binomial transforms

FORMULA

a(n)=20a(n-1)-100a(n-2); a(0)=1; n>0.

MAPLE

seq(seq(binomial(i, j)*10^(i-1), j =i-1), i=1..17); # - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 28 2007

SAGE:[lucas_number2(n, 10, 0)*binomial(n, 1)/10for n in xrange(1, 18)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 12 2009]

CROSSREFS

Cf. A001787, A053464 and A053469.

Cf. A094798.

Cf. A038303.

Sequence in context: A016255 A138794 A077758 this_sequence A004345 A001755 A016190

Adjacent sequences: A053538 A053539 A053540 this_sequence A053542 A053543 A053544

KEYWORD

easy,nonn

AUTHOR

Barry E. Williams, Jan 15 2000

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), May 29 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research