login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156119 Primes formed by rearranging five consecutive decimal digits (avoiding leading 0). 3
10243, 12043, 20143, 20341, 20431, 23041, 24103, 25463, 25643, 30241, 32401, 36457, 40123, 40213, 40231, 41023, 41203, 42013, 43201, 45263, 45673, 45763, 46523, 46573, 47563, 47653, 54367, 54623, 54673, 56437, 56473, 56897, 57689, 58679, 58967, 65423 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

No primes can be formed from {1,2,3,4,5} or {4,5,6,7,8} since they are divisible by three.

Sequence is finite, ending with a(52)=96857.

LINKS

Nathaniel Johnston, Table of n, a(n) for n = 1..52 (full sequence)

MAPLE

A156119:={}: for s from 0 to 5 do l:=combinat[permute]([$(s..(s+4))]): for k from 1 to 120 do if(k>=25 or s>=1)then n:=add(10^(5-j)*l[k][j], j=1..5): if(isprime(n))then A156119 := A156119 union {n}: fi: fi: od: od: op(A156119); # Nathaniel Johnston, Jun 23 2011

CROSSREFS

Cf. A177119.

Sequence in context: A183743 A031987 A074671 * A109176 A157735 A187311

Adjacent sequences:  A156116 A156117 A156118 * A156120 A156121 A156122

KEYWORD

nonn,base,easy,fini

AUTHOR

Ki Punches (ki(AT)kispy.net), Feb 14 2009

EXTENSIONS

Edited and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Feb 16 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 20:26 EST 2012. Contains 205852 sequences.