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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A229661 Rounded percentage of primes less than 10^n. 0
0, 40, 25, 17, 12, 10, 8, 7, 6, 5, 5, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Please, refer to the explanations and comments given in A006879 and A006880.

LINKS

Table of n, a(n) for n=0..25.

FORMULA

a(n) = pi(10^n)/10^(n-2) rounded.

EXAMPLE

Primes less than 10 are 2, 3, 5, 7, so a(1) = 40 %.

MATHEMATICA

a[n_] := PrimePi[10^n]/10^(n-2) // Round;

(* or *) a[n_] := A006880[[n+1]]/10^(n-2) // Round; Table[Print["10^", n, " ", a[n], "%"]; a[n], {n, 0, 25}] (* Jean-François Alcover, Sep 27 2013 *)

CROSSREFS

Cf. A000720, A006879, A006880, A007053, A040014, A006988.

Sequence in context: A097208 A216137 A163956 * A070724 A035878 A022996

Adjacent sequences:  A229658 A229659 A229660 * A229662 A229663 A229664

KEYWORD

nonn,base,hard,less

AUTHOR

Jean-François Alcover, Sep 27 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 01:39 EDT 2019. Contains 326059 sequences. (Running on oeis4.)