login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125947 a(n) is the number of nonnegative integers k less than 10^n such that the decimal representation of k lacks the digit 1, at least one of digits 2,3,4,5 and at least one of digits 6,7,8,9. 17
9, 81, 729, 6513, 57369, 495921, 4194969, 34689393, 280607769, 2224214961, 17313344409, 132651929073, 1002605145369, 7490229758001, 55407572177049, 406450276733553, 2960529995462169, 21435301615525041, 154414691892116889 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets

FORMULA

a(n)=16*7^n-48*6^n+68*5^n-56*4^n+28*3^n-8*2^n+1.

EXAMPLE

a(8)=34689393

MAPLE

f:=n->16*7^n-48*6^n+68*5^n-56*4^n+28*3^n-8*2^n+1;

CROSSREFS

Cf. A125630.

Sequence in context: A125910 A171283 A174108 * A120997 A125630 A100062

Adjacent sequences:  A125944 A125945 A125946 * A125948 A125949 A125950

KEYWORD

nonn,base

AUTHOR

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 18:33 EST 2012. Contains 205663 sequences.