Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066065
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066065 a(n) = smallest prime q such that in decimal notation the concatenation prime(n)q yields a prime ( = A066064(n)). +0
2
3, 7, 3, 3, 3, 7, 3, 3, 3, 3, 3, 3, 11, 3, 23, 23, 3, 3, 3, 29, 3, 7, 11, 23, 7, 3, 3, 11, 3, 11, 7, 47, 3, 13, 3, 31, 31, 7, 29, 3, 11, 19, 3, 3, 3, 3, 3, 7, 3, 3, 3, 3, 7, 11, 17, 3, 3, 3, 7, 11, 3, 11, 13, 23, 7, 23, 3, 3, 29, 13, 3, 3, 3, 3, 3, 3, 17, 19, 3, 3, 11, 7, 17, 7, 7, 71, 3, 37, 41 (list; graph; listen)
OFFSET

1,1

COMMENT

a(k) < prime(k) for k > 2.

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

EXAMPLE

A000040(13) = 41; for the first four primes 2, 3, 5 and 7 we get 412, 413, 415 and 417, which are all composite, but with the 5th prime we have 4111 = A066064(13), so a(13) = 11.

PROGRAM

(PARI) digitsIn(x)= { local(d); if (x==0, return(1)); d=1 + log(x)\log(10); if (10^d == x, d++, if (10^(d-1) > x, d--)); return(d) } Concat(a, b)= { return(a*10^digitsIn(b) + b) } { for (n = 1, 1000, p=prime(n); q=2; while(!isprime(Concat(p, q)), q=nextprime(q + 1)); write("b066065.txt", n, " ", q) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 09 2009]

CROSSREFS

Sequence in context: A135613 A019973 A010623 this_sequence A145511 A065443 A117190

Adjacent sequences: A066062 A066063 A066064 this_sequence A066066 A066067 A066068

KEYWORD

base,nonn,new

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Dec 01 2001

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research