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!)
A067928 Numbers n such that the digits of the n-th prime begin with n. 0
6455, 6456, 6457, 6459, 6460, 6466 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Prime(6466) is 64661, which begins with 6466, so 6466 is a term of the sequence.
The next term is greater than 4*10^41. - Robert Gerbicz, Sep 05 2002
LINKS
MATHEMATICA
(*returns true if a begins with b, false o.w.*) f[a_, b_] := Module[{c, d, e, g, h, i, r}, r = False; c = ToString[a]; d = ToString[b]; g = StringPosition[c, d]; h = Length[g]; If[h > 0, i = g[[h]]; If[i[[1]] == 1, r = True]]; r]; Do[If[f[Prime[n], n], Print[n]], {n, 1, 10^5} ]
Select[Range[7000], Take[IntegerDigits[Prime[#]], IntegerLength[#]] == IntegerDigits[ #]&] (* Harvey P. Dale, Mar 05 2016 *)
CROSSREFS
Sequence in context: A105377 A248998 A256090 * A166223 A206538 A288083
KEYWORD
base,more,nonn
AUTHOR
Joseph L. Pe, Feb 22 2002
STATUS
approved

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 July 18 15:51 EDT 2024. Contains 374388 sequences. (Running on oeis4.)