Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068710
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068710 Primes whose digits can be arranged in increasing cyclic order - to form a substring of 123456789012345678901234567890... +0
1
2, 3, 5, 7, 23, 43, 67, 89, 109, 809, 1423, 2143, 2341, 2543, 4231, 4253, 4523, 4567, 4657, 5647, 5867, 6547, 6857, 10289, 10789, 10987, 12809, 18097, 19087, 20981, 21089, 25463, 25643, 28019, 28109, 28901, 36457, 45263, 45673, 45763, 46523 (list; graph; listen)
OFFSET

1,1

EXAMPLE

2143 is a term as its digits can be arranged as 1234.

MATHEMATICA

f[n_] := Block[{a = Sort[IntegerDigits[n]], b, k, s = "01234567890123456789"}, k = 1; While[ a[[k + 1]] - a[[k]] == 1, k++ ]; b = ToString[ FromDigits[ RotateLeft[a, k]]]; If[ Length[a] == StringLength[b], StringPosition[s, b]]]; Prime[ Select[ Range[10000], f[ Prime[ # ]] != {} &]] (* This code is only good up to 10^10*)

CROSSREFS

Cf. A068708, A068709.

Sequence in context: A106711 A048398 A059170 this_sequence A120805 A096265 A056041

Adjacent sequences: A068707 A068708 A068709 this_sequence A068711 A068712 A068713

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy and V.P.Singh (amarnath_murthy(AT)yahoo.com), Mar 05 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Mar 20 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research