Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A075616
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A075616 Rearrangement of natural numbers so that starting with a(n) the concatenation of n numbers gives a prime. +0
3
2, 1, 3, 4, 7, 5, 9, 6, 17, 8, 43, 10, 19, 11, 13, 12, 33, 14, 37, 15, 23, 16, 113, 18, 73, 20, 51, 21, 103, 22, 61, 24, 87, 25, 49, 26, 67, 27, 117, 28, 57, 29, 71, 30, 79, 31, 283, 32, 239, 34, 81, 35, 143, 36, 151, 38, 139, 39, 147, 40, 289, 41, 161, 42, 351, 44, 129, 45 (list; graph; listen)
OFFSET

1,1

MATHEMATICA

a = {2, 1, 3}; f[n_] := Block[{k = 1, b = Take[a, {n, 2n - 3}]}, While[Position[a, k] != {}, k++ ]; b = Join[b, IntegerDigits[k]]; a = Append[a, k]; While[ Position[a, k] != {} || !PrimeQ[ FromDigits[ Join[ b, IntegerDigits[k]]]], k++ ]; a = Append[a, k]]; Do[ f[n], {n, 3, 40}]; a

CROSSREFS

Cf. A075617 and A073672.

Sequence in context: A139374 A111958 A160187 this_sequence A160186 A050041 A058658

Adjacent sequences: A075613 A075614 A075615 this_sequence A075617 A075618 A075619

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 29 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 02 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research