login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128956 a(n) is equal to the number of positive integers m less than or equal to 10^n such that m is not divisible by at least one of the primes 2,7 and is not divisible by at least one of the primes 3,5. 1

%I #14 Sep 08 2022 08:45:30

%S 87,867,8667,86668,866667,8666668,86666667,866666667,8666666667,

%T 86666666668,866666666667,8666666666668,86666666666667,

%U 866666666666667,8666666666666667,86666666666666668,866666666666666667

%N a(n) is equal to the number of positive integers m less than or equal to 10^n such that m is not divisible by at least one of the primes 2,7 and is not divisible by at least one of the primes 3,5.

%H Vincenzo Librandi, <a href="/A128956/b128956.txt">Table of n, a(n) for n = 2..1000</a>

%H Milan Janjic, <a href="http://www.pmfbl.org/janjic/">Enumerative Formulas for Some Functions on Finite Sets</a>

%F a(n) = 10^n - floor(10^n/14) - floor(10^n/15) + floor(10^n/210).

%e a(6) = 10^6 - floor(10^6/14) - floor(10^6/15) + floor(10^6/210) = 1000000 - floor(71428.571...) - floor(66666.666...) + floor(4761.904...) = 1000000 - 71428 - 66666 + 4761 = 866667. - _Jon E. Schoenfield_, Nov 18 2018

%p f := n->10^n-floor(10^n/14)-floor(10^n/15)+floor(10^n/210);

%o (Magma) [10^n-Floor(10^n/14)-Floor(10^n/15)+Floor(10^n/210): n in [2..20]]; // _Vincenzo Librandi_, Oct 02 2011

%Y Cf. A092695.

%K nonn

%O 2,1

%A _Milan Janjic_, Apr 28 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)