cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A068575 Numbers n such that, as strings, n is a substring of prime(n).

This page as a plain text file.
%I A068575 #11 Nov 14 2022 16:57:23
%S A068575 7,6455,6456,6457,6459,6460,6466,9551,303027,440999,968819,5517973,
%T A068575 27737957,93230839,96664044,46492090901
%N A068575 Numbers n such that, as strings, n is a substring of prime(n).
%C A068575 pi(2*10^12) < a(17) <= 426836115943. a(18) <= 732382677641. a(19) <= 4895576080181. [From _Donovan Johnson_, May 08 2010]
%e A068575 Treated as strings, 6455 is a substring of 64553 = Prime(6455), so 6455 belongs to the sequence.
%e A068575 Pairs {n, prime(n)}: {7, 17}, {6455, 64553}, {6456, 64567}, {6457, 64577}, {6459, 64591}, {6460, 64601}, {6466, 64661}, {9551, 99551}, {303027, 4303027}, {440999, 6440999}, {968819, 14968819}, {5517973, 95517973}.
%t A068575 Select[Range[10^6], StringPosition[ToString[Prime[ # ]], ToString[ # ]] != {} &]
%t A068575 Select[Range[97*10^4],SequenceCount[IntegerDigits[Prime[#]],IntegerDigits[#]]>0&] (* The program generates the first 11 terms of the sequence. *) (* _Harvey P. Dale_, Nov 14 2022 *)
%Y A068575 Cf. A067248, A046883, A075902.
%K A068575 base,nonn
%O A068575 1,1
%A A068575 _Joseph L. Pe_, Mar 26 2002
%E A068575 More terms from _Zak Seidov_, Sep 27 2002
%E A068575 Three more terms from _Farideh Firoozbakht_, Jan 06 2007
%E A068575 a(16) from _Donovan Johnson_, May 08 2010