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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100552 Single-digits primes, followed recursively by 2k-digit primes obtained by concatenation of pairs of distinct k-digit primes of the sequence. 0
2, 3, 5, 7, 23, 37, 53, 73, 5323 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The sequence is finite because there is only one 4-digit prime from which no further 8-digit primes can be obtained

as there are no 4-digit partners left.

EXAMPLE

Start from the 4 single-digit primes 2,3,5,7. Construct all 2-digit primes

with prime digits (to get the first 8 elements of A019546). Add

the 4-digit primes obtained by concatenation of the previous 2-digit primes.

MATHEMATICA

a={2, 3, 5, 7} (* two digits primes*) b=Delete[Union[Flatten[Table[If[PrimeQ[a[[n]]*10+a[[m]]]==True, a[[n]]*10+a[[m]], 0], {n, 1, 4}, {m, 1, 4}], 1]], 1] (* only one four digit prime combination exists*) c=Delete[Union[Flatten[Table[If[PrimeQ[b[[n]]*100+b[[m]]]==True, b[[n]]*100+b[[m]], 0], {n, 1, 4}, {m, 1, 4}], 1]], 1] (* no eight digit prime of this type exists*) d=If[PrimeQ[c[[1]]*10000+c[[1]]]==True, c[[1]]*100+c[[1]], 0] Join[a, b, c]

CROSSREFS

Sequence in context: A177061 A020994 A085823 * A155873 A106711 A048398

Adjacent sequences:  A100549 A100550 A100551 * A100553 A100554 A100555

KEYWORD

nonn,base,fini,full,less

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Nov 27 2004

EXTENSIONS

Edited by the associate editors of the OEIS, Jun 28 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 11:14 EST 2012. Contains 205763 sequences.