Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A030461
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A030461 Primes that are concatenations of two consecutive primes. +0
2
23, 3137, 8389, 151157, 157163, 167173, 199211, 233239, 251257, 257263, 263269, 271277, 331337, 353359, 373379, 433439, 467479, 509521, 523541, 541547, 601607, 653659, 661673, 677683, 727733, 941947, 971977, 10131019 (list; graph; listen)
OFFSET

1,1

COMMENT

Any term in the sequence (apart from the first) must be a concatenation of consecutive primes differing by a multiple of 6. - Francis J McDonnell (francis(AT)polytopia.freeserve.co.uk), Jun 26 2005

MAPLE

conc:=proc(a, b) local bb: bb:=convert(b, base, 10): 10^nops(bb)*a+b end: p:=proc(n) local w: w:=conc(ithprime(n), ithprime(n+1)): if isprime(w)=true then w else fi end: seq(p(n), n=1..250); (Emeric Deutsch)

PROGRAM

(PARI) {digits(n) = if(n==0, [0], u=[]; while(n>0, d=divrem(n, 10); n=d[1]; u=concat(d[2], u)); u)} {m=1185; p=2; while(p<m, q=nextprime(p+1); s=""; v=digits(p); for(j=1, length(v), s=concat(s, v[j])); v=digits(q); for(j=1, length(v), s=concat(s, v[j])); if(isprime(k=eval(s)), print1(k, ", ")); p=q)} (Klaus Brockhaus)

CROSSREFS

Cf. A030459.

Adjacent sequences: A030458 A030459 A030460 this_sequence A030462 A030463 A030464

Sequence in context: A132937 A068655 A088385 this_sequence A131353 A136363 A134798

KEYWORD

nonn

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com)

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 May 11 10:28 EDT 2008. Contains 139662 sequences.


AT&T Labs Research