

A103174


Numbers k with increasing digits such that the digits of k appear among the digits of the kth prime number.


0




OFFSET

1,1


COMMENTS

We assume digits of k are in increasing order. No terms < 10^7.
Sequence is complete.  Giovanni Resta, Apr 29 2017


LINKS

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


EXAMPLE

n: {7, 5789, 234567, 345679}
prime(n): {17, 57089, 3264857, 4956733}


MATHEMATICA

Select[Rest@ Union[FromDigits /@ Subsets@ Range@ 9], SubsetQ @@ IntegerDigits@ {Prime@#, #} &] (* Giovanni Resta, Apr 29 2017 *)


CROSSREFS

Cf. A080794, A068575, A075902.
Sequence in context: A243780 A246519 A062644 * A203693 A125036 A098803
Adjacent sequences: A103171 A103172 A103173 * A103175 A103176 A103177


KEYWORD

base,full,fini,nonn


AUTHOR

Labos Elemer, Feb 28 2005


EXTENSIONS

Definition edited by Giovanni Resta, May 01 2017


STATUS

approved



