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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125880 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 the digits 1,2 and at least one of the digits 3,4,5,6,7,8,9. 17
10, 98, 946, 9026, 85330, 800738, 7463746, 69054146, 633214450, 5746812578, 51574432546, 457575310466, 4014480866770, 34850492651618, 299615359353346, 2553264555537986, 21587837904314290, 181256003521421858 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets

FORMULA

a(n)=14*8^n-49*7^n+91*6^n-105*5^n+77*4^n-35*3^n+9*2^n-1

EXAMPLE

a(7)=7463746

MAPLE

f:=n->14*8^n-49*7^n+91*6^n-105*5^n+77*4^n-35*3^n+9*2^n-1;

CROSSREFS

Cf. A125630.

Sequence in context: A198968 A125946 A158513 * A125445 A163446 A190869

Adjacent sequences:  A125877 A125878 A125879 * A125881 A125882 A125883

KEYWORD

nonn,base

AUTHOR

Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 03 2007, Feb 13 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 20:38 EST 2012. Contains 205663 sequences.