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!)
A069796 Prime(n) and prime(n+4) use the same digits. 4
179, 1091, 1213, 1279, 3313, 3637, 4273, 6637, 8237, 8293, 8537, 9137, 9613, 10937, 12071, 14071, 15137, 19237, 19937, 20639, 21013, 22817, 22937, 24091, 24317, 26713, 28439, 29137, 29837, 31379, 32537, 33037, 33071, 35339, 36913, 37117 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

EXAMPLE

6637 is a member as the fourth next prime 6673 uses the same digits.

MATHEMATICA

p = {0}; q = {1}; r = {1}; s = {1}; t = {1}; Do[ If[p == t, Print[ Prime[n - 5]]]; p = q; q = r; r = s; s = t; t = Sort[ IntegerDigits[ Prime[n]]], {n, 5 10^3}]

Transpose[Select[Partition[Prime[Range[5000]], 5, 1], Sort[ IntegerDigits[ First[#]]] == Sort[IntegerDigits[Last[#]]]&]][[1]] (* Harvey P. Dale, Dec 26 2015 *)

CROSSREFS

Cf. A069793, A069567, A069794, A069795.

Sequence in context: A255096 A253627 A142855 * A177682 A142968 A168537

Adjacent sequences:  A069793 A069794 A069795 * A069797 A069798 A069799

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Apr 09 2002

EXTENSIONS

Edited, corrected and extended by Robert G. Wilson v, Apr 12 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 14 05:51 EDT 2021. Contains 345018 sequences. (Running on oeis4.)