

A067248


Numbers n such that digits of prime(n) end in n.


5



7, 9551, 303027, 440999, 968819, 5517973, 27737957, 93230839, 46492090901, 426836115943, 732382677641, 4895576080181
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

There is no further term up to 115000000.  Farideh Firoozbakht, Jan 01 2007
a(13) > pi(10^15). [From Donovan Johnson, May 08 2010]


LINKS

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


EXAMPLE

Prime(968819) = 14968819 which ends in 968819, so 968819 is a term of the sequence.


MATHEMATICA

(*returns true if a ends with b, false o.w.*) f[a_, b_] := Module[{c, d, e, g, h, i, r}, r = False; c = ToString[a]; d = ToString[b]; e = StringLength[c]; g = StringPosition[c, d]; h = Length[g]; If[h > 0, i = g[[h]]; If[i[[2]] == e, r = True]]; r]; Do[If[f[Prime[n], n], Print[n]], {n, 1, 10^6}]


CROSSREFS

Corresponding primes are in A046883.
Cf. A046883, A068575, A075902.
Sequence in context: A116631 A212937 A074489 * A152007 A242773 A131676
Adjacent sequences: A067245 A067246 A067247 * A067249 A067250 A067251


KEYWORD

base,nonn


AUTHOR

Joseph L. Pe, Feb 20 2002


EXTENSIONS

One more term from Zak Seidov, Sep 27 2002
Two more terms from Farideh Firoozbakht, Jan 01 2007
a(9)a(12) from Donovan Johnson, May 08 2010


STATUS

approved



