Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125858
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125858 a(n) is the number of nonnegative integers k less than 10^n such that the decimal representation of k lacks at least one of digits 1,2,3,4,5,6,7,8,9. +0
18
10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 999637120, 9980041600, 99381289600, 985729744000, 9726841354240, 95404977568000, 929690189228800, 8999055703648000, 86532737999167360, 826798452380099200 (list; graph; listen)
OFFSET

1,1

COMMENT

Note that the first eight terms of the sequence are powers of 10.

LINKS

Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets

FORMULA

a(n)=9*9^n-36*8^n+84*7^n-126*6^n+126*5^n-84*4^n+36*3^n-9*2^n+1

EXAMPLE

a(9)=999637120

MAPLE

f:=n->9*9^n-36*8^n+84*7^n-126*6^n+126*5^n-84*4^n+36*3^n-9*2^n+1;

CROSSREFS

Cf. A125630.

Adjacent sequences: A125855 A125856 A125857 this_sequence A125859 A125860 A125861

Sequence in context: A135654 A029800 A100061 this_sequence A086067 A136873 A135655

KEYWORD

nonn,base

AUTHOR

Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 03 2007

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 October 16 00:31 EDT 2008. Contains 145098 sequences.


AT&T Labs Research