login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A113898 Numbers n such that the value pi(n), the number of primes <= n, can be obtained deleting some of the repeating adjacent digits of n. 0
1196, 11373, 22517, 33597, 44639, 55646, 60062, 61159, 62256, 63346, 63347, 64448, 64544, 64555, 64577, 64588, 64599, 64611, 64655, 64668, 64700, 64711, 64722, 64774, 64884, 64992, 65545, 65770, 65880, 65881, 65990, 66644, 67746, 68841 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Largest value below 10^7 is given by pi(110486)=10486.

LINKS

Table of n, a(n) for n=1..34.

EXAMPLE

pi(64668)=6468, pi(99551)=9551.

MATHEMATICA

lst = {}; p=0; While[p < 10^7, n=PrimePi[ ++p]; {sp, sn}=Split/@IntegerDigits@{p, n}; If[First/@sp==First/@sn && And@@GreaterEqual@@@Transpose[Length/@#&/@{sp, sn}], AppendTo[lst, p]]]; lst

CROSSREFS

Cf. A000720, A114924, A080794.

Sequence in context: A251915 A166221 A096955 * A059401 A059402 A252000

Adjacent sequences:  A113895 A113896 A113897 * A113899 A113900 A113901

KEYWORD

base,nonn

AUTHOR

Giovanni Resta, Jan 29 2006

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 February 21 02:02 EST 2020. Contains 332086 sequences. (Running on oeis4.)