Skip to content

A126645

OEIS Lean4

a(n) is the number of integers k less than 10^n such that the decimal representation of k lacks the digits 1,2,3,4 and 5, at least one of digits 6,7 and at least one of digits 8,9.

offset: 1
codomain: ℕ
n123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A1266455217726184526618237252217668523210170039721093816344525190663415726455717192474151603636515486333814646948717139429433014183302420512550746122137653916087711296510370613389020220045101671948778613050185306903791506096078021274519361975885823560233411301247068499520119774120635755381812223620790648372566708658079189541200126042957045357600378266310089541180113507380817556554034057711803405811621021841305264951748630657438181204101145891976712590123405437675938933863392421131302783439377622167739390835383657007538611181725068546584643924535451752197135027673061106355256872880059729837319065771181590132610821957197314670670304675085287159194626381072771050186147758432950318105019972584432753889229468624698177532982634691282568222925232598947940102644723632741697796843892365528208826157209339053182121177270233434162801715957518656942587147651884051478783205783507956778156521544364649095009845550317169564633096253128038750344901508693899293371070134678422605152608169788933658244089004362145782450936864564913963796824771373473528109626296233655815066141204205843362575863304512658445123612617530235301542503214388261370837852591001052532688995990637111251355777359345340842569362362133375406733219609518459944921742851001262201996824403877941829912970130037866059909454482821124542602797901135981797378081814291129182357812703407945392323140102188173355621258110223836177347209625194091683959412433067150853279720751284141828606957729920145255999027798130425413265914121897604357680273065398816419691653965656928130730414236591062565736623149811970784392191254799031383843501616511175912353176573788575610543823088343657011773705952972141408386441605443201921805532111785891643389656588173336300341482115963353576749321032510759034155805543277478900607302480017831585047706010072274611436701821907440827207279696480702028776454310105465722324029046888196167449710234611293031639716697518199076280195303637851437387909491915009317356724848327604836311642111637284757450280758641784735208419988473485349118542723508447518054327763858097636689011047355628170525392071764554706785288875035973142066884511576275250496806950777858555045819426200653534729023821896706513177559525013252827860196060418746760650269086122064629479141848358058818125631951011332152270378743238775725450741764543769116986664993096786549385063941763522252936313076678726450363477100223309931652290566758808939236374432352231578308153445821816871700276426817721799803058977028939427369519172061510082928045319075242118149567484821617266501